Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Query on JMS  RSS feed

 
kishore kovil
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am unable to start my JMS application.
I have started my JMS server and my Tomcat too.(in Eclipse).
Please help me in guiding the configurations required.
Thanks,
Kishore
 
Camilo Morales
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

Well, I dont know exactly what are you trying to do, anyway I cant tell you that if you want a "Server" to process messages sent by a JMS client (sender) you must build a Message-Driven Bean with the "onMessage(Meesage m)" Method (implementing: javax.jms.MessageListener) where you write the code that process the message. You also need a Queue or a Topic so the clients know where to send the messages.

All fo this is EJB 3.0, you can find a lot of examples of Message-Driven Beans on the internet.


Hope this helps,

Camilo Morales
SCJP 5
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!