aspose file tools*
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
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: 2906
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 ]

"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
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
accessing stock quotes
Push & Pull models of MVC
java application client
How to create a notification webservice
Working with J2EE Technologies