• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Refer-Notifications in J2EE

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
I child proofed my house but they still get in. Distract them with this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic