9 Şubat 2010 Salı

intro to jms

some starters:
first attack:
here is a simple jms example, a chat application: http://onjava.com/pub/a/onjava/excerpt/jms_ch2/index.html?page=1
with glassfish: http://today.java.net/article/2008/01/18/jms-messaging-using-glassfish
unfortunately, i could not deploy the sample in this address, got the following error:

LDR5010: All ejb(s) of [MyJMS] loaded successfully!
Error attempting to process extensions from the manifest of JAR file /home/hilal.tarakci/htarakci/balistika2010sas/client/MyJMS/dist/gfdeploy/MyJMS-ejb.jar; ignoring it and continuing
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:114)

So, lets move to OpenJms, http://openjms.sourceforge.net/.. (this is second attack, the example successfully worked.)
getting started: http://openjms.sourceforge.net/gettingstarted.html, excellent documentation support!
topic1 and queue1 are predefined topic and queue in jms.. they can be used to run the example coming with openjms package.

Hiç yorum yok:

Yorum Gönder