Archive for the ‘ java ’ Category

JNI with Qt part1

I work with java every day, using kde kate editor http://kate-editor.org/,
and i was wondering how nice it would be with a java autocompletation plugin.

So i started looking for a c++ library that could get information from a java class, with no results :(.

The only possibility that i could find was JNI.

Use jni to get the information directly from a java vm using java reflection.

Here is my first try with Qt4.5:
Continue reading

Advertisements

Restlet with Spring

My first post is about to write a very simple authenticated rest server with :

An easy way to try this sample rest servlet is with jetty (http://www.mortbay.org/jetty/)
and the maven-jetty-plugin

We can use curl to make a rest request (http://blogs.plexibus.com/2009/01/15/rest-esting-with-curl/)

Continue reading