• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Refer-Notifications in J2EE

 
Ajeya Krishnamurthy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply!

Im sorry I wasn't clear enough.

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

-AJ
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic