| 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
|
 |
 |
|
|
subject: Refer-Notifications in J2EE
|
|
|