aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes A Beginner Question About JMS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "A Beginner Question About JMS" Watch "A Beginner Question About JMS" New topic
Author

A Beginner Question About JMS

david chen
Ranch Hand

Joined: Nov 30, 2001
Posts: 44
Hi,
I'm just a beginner with JMS. I've read about JMS in the EJB book that have. I plan to write a very simple stand-alone JMS-enabled Java application. Is it possible by just using JDK1.3? Can I do it without having an application server like WebLogic or WebSphere? Is there any lightweight downloadable router/broker that I can use?
Thank you very very much.
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
There are products like SonicMQ. But if you are looking for something to fool around with, the J2EE download from Sun includes a JMS server in the app server.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
david chen
Ranch Hand

Joined: Nov 30, 2001
Posts: 44
Originally posted by Thomas Paul:
There are products like SonicMQ. But if you are looking for something to fool around with, the J2EE download from Sun includes a JMS server in the app server.

Hi, thank you for the early reply.
Which app server in J2EE are you pertaining to? Are you pertaining to JDK Enterprise Ed.? Thanks
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Exactly. When you start up the J2EE server from Sun, it also starts up a JMS server. use the -verbose option when you start it up and it will show you what port it is listening on.
david chen
Ranch Hand

Joined: Nov 30, 2001
Posts: 44
Originally posted by Thomas Paul:
Exactly. When you start up the J2EE server from Sun, it also starts up a JMS server. use the -verbose option when you start it up and it will show you what port it is listening on.

Hi,
I think I've found it. I tried to run J2EE.bat/J2EEAdmin.bat that is included when you install JDK Enterprise Ed.
Thank you very much!
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
Hello, I've been following this topic and I'm also pretty new with JMS. Do you guys have any resources (web sites, books, whatever) that you'd recommend me to start using JMS with wireless applications?? I'm doing some research in Wireless Java Messaging Service middleware and it seems complex, so i'd like to start up with something really basic.
thanks


I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Try this book:
Java Message Service
Malli Raman
Ranch Hand

Joined: Nov 07, 2001
Posts: 312
I am confused about the difference between Synchronous and Asynchronous Communication in JMS .
1. Whether is it a loose coupling. if that the case in JMS both pub/sub and PTP be support loose coupling.
2. But in the professional JMS book it has mentioned that u can implement the Asynchronous messaging by implementing
MessageListener interface. But the messageListener onMessage method will give the client all messages received by it
when it is not up(loose coupling). But even if i use receive() method for 100 messages in the queue i can receive it(here also it is
loose coupling,explicitely calling 100 times).
3. I am send the message in PTP using AUTO_ACKNOWLEDGE mode , but i didn't receive any acknowledge, where have
to find that messages.
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
msraman24,
Please note that JavaRanch has a naming standard. We require that you use your real first name - space - real last name as your display name.
Thanks.
Malli Raman
Ranch Hand

Joined: Nov 07, 2001
Posts: 312
I am confused about the difference between Synchronous and Asynchronous Communication in JMS .
1. Whether is it a loose coupling. if that the case in JMS both pub/sub and PTP be support loose coupling.
2. But in the professional JMS book it has mentioned that u can implement the Asynchronous messaging by implementing
MessageListener interface. But the messageListener onMessage method will give the client all messages received by it
when it is not up(loose coupling). But even if i use receive() method for 100 messages in the queue i can receive it(here also it is
loose coupling,explicitely calling 100 times).
3. I am send the message in PTP using AUTO_ACKNOWLEDGE mode , but i didn't receive any acknowledge, where have
to find that messages.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A Beginner Question About JMS
 
Similar Threads
How to write a jms queue message to external file
A Beginner Question about JMS
jboss tutorial
Weblogic product for JMS
Can any one give me a link for JMS