File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes JMS and real-time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS and real-time" Watch "JMS and real-time" New topic

JMS and real-time

Christian Weiss

Joined: Jun 25, 2008
Posts: 2
Hi there!

I already googled the topic and fliped over the JMS specs, but I didn't find any hint nor an answer yet so I really hope you can help:

I need to implement a software where people can monitor the status of an object in realtime and thus get informed about status updates immediately. It's not really highly critical, but queuing a message and let the consumers fetch it is not an option. It has to be a 'push' mechanism that sends the message to the consumer right away.

Would a JMS publish-subscribe solution fit that needs?

Amit M Tank
Ranch Hand

Joined: Mar 28, 2004
Posts: 257
Use Observer pattern.

Amit Tank
Linked In
Christian Weiss

Joined: Jun 25, 2008
Posts: 2
Thanks for the quick reply, but the question was not about the design of the application but rather if J2EE servers are required to be implemented that way, that the connection to consumers is kept alive and messages are pushed to them.
I agree. Here's the link:
subject: JMS and real-time
It's not a secret anymore!