few hours ago I explained in a blog posting how to set up a build system with Maven for JNI projects. This included an example on how to call native (C) code from Java.
Now I like to do the other way around: calling Java methods from native code.
read more…
Building JNI modules is a tricky thing – having them managed by a good build system is even trickier.
So I’ve created working example which contains both the Java and the native code of a JNI implementation. I won’t talk about JNI itself as this is an old technology with lots of examples and documentation.
Formel 1 2010 – Michael Schumacher
Meine Einschätzung zu Michael Schumachers Aussichten in der Saison.
read more…
Formel 1 2010 – Die Teams
Bei den Teams hat sich einiges geändert. Fangen wir mal beim WM-Team an:
read more…
Formel 1 2010 – Der Überblick
Wer gerne beim Smalltalk mitreden möchte, kann gern meine Einschätzung zur neuen Saison nachlesen
read more…
JMS with SonicMQ and JMSJCA
The last example in this series will cover how to connect Glassfish v3 to a remote SonicMQ server. I’m using SonicMQ 7.6 so YMMV if you have a different version.
My first approach was to connect them via genericra, like I did with OpenMQ, seemed to work but looking closer I encountered a problem. As it seems to be a incompatibility between genericra and SonicMQ, I decided to look for other ways to connect them.
I found that JMSJCA is working fine and so I will show you how to configure it properly.
JMS via remote OpenMQ and genericra
Our second example in this series will cover how to connect Glassfish v3 to a remote OpenMQ server.
Glassfish V3 brings a complete OpenMQ installation under glassfish/mq. It is started in embedded mode when Glassfish is started. But you can deploy or start it externally, so you can have a basic load distribution or whatever your demands might be to do that.
So let’s take the tour on how to talk to a remote OpenMQ server.
In this little tutorial, we will create a simple MessageDriven bean. It will consume messages which are produced in a simple way by a RESTful webservice.
JMS example series starting
In the next articles, I will give some basic examples on JEE5 JMS with Glassfish:
- A simple JMS example: Queue, Producer, Consumer
- JMS via genericra and a remote OpenMQ, dynamically configured
- JMS via
genericraJMSJCA and SonicMQ, dynamically configured as well
Stay tuned!
Hudson Swarm
Ich bin ja ein Fan der ersten Stunde des Hudson Buildsystems.
Die Robustheit, Qualität und das hohe Entwicklungstempo sind wirklich beeindruckend. Ich habe schon einige – auch kommerzielle – Buildsysteme evaluiert und unterm Strich kam keines an Hudson ran.
Jetzt hat Kohsuke noch eins drauf gesetzt und Swarm-Slaves eingebaut: Man muss auf einem X-beliebigen Rechner nur den Slave-Client starten und dieser kontaktet den vorhandenen Build-Master. Daraufhin zieht er sich JDK, Ant und Maven und fängt willig an zu bauen.
Pluspunkte gibt’s daß in der Ankündigung nirgendwo von “Cloud” gesprochen wird .