wood burning stoves 2.0*
The moose likes Web Services and the fly likes Refer-Notifications in J2EE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Refer-Notifications in J2EE" Watch "Refer-Notifications in J2EE" New topic
Author

Refer-Notifications in J2EE

Ajeya Krishnamurthy
Greenhorn

Joined: Oct 15, 2007
Posts: 3
Hi,

I intend to use J2EE to build a stock query application. The description of this application at a high-level is...

1: A bunch of clients register to my stock query web service.
2: My web service periodically pushes stock data for a bunch of companies depending on customer profile.

The Monson-Haefel J2EE book mentions on page 147 that notifications MEP (Message exchange pattern) is not supported by J2EE. How then, should I push notifications to my registered clients?

Thanks in advance for any suggestions I receive.

-AJ
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2921
    
    5
Welcome to JavaRanch,

Originally posted by Ajeya Krishnamurthy:
How then, should I push notifications to my registered clients?


eMail (SMTP) would be a simple but not necessarily reliable choice. Having the clients poll your server for new information is the other option.

It is not clear what your exact requirements are.

Asynchronous operations and Web services, Part 1: A primer on asynchronous transactions
Asynchronous operations and Web services, Part 2: Programming patterns to build asynchronous Web services.
[ October 15, 2007: Message edited by: Peer Reynders ]
Ajeya Krishnamurthy
Greenhorn

Joined: Oct 15, 2007
Posts: 3
Thanks for your reply!

Im sorry I wasn't clear enough.

I was looking for asynchronous web services. The links helped.

-AJ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Refer-Notifications in J2EE
 
Similar Threads
How to create a notification webservice
Working with J2EE Technologies
java application client
Push & Pull models of MVC
accessing stock quotes