jquery - Which Java EE tech to use to create rich client application? -


i working on rich client side java ee application in of processing takes place on client side.

a typical scenario be:

  • a user sends request server fetch results long running process.
  • the server performs typical post/redirect async. , pushes results clients , when ready.
  • the client renders response web page.

is there way can use server push messages directly clients notified (like way gmail notification works)?

i know can use jms publish messages, still require client make ajax calls server prepared message. there other way can achieve this?

have @ using asynchronous servlets web push notifications, tutorial oracle (i have found tutorial in answer):

  • this requires ajax on client side, http connection remains open.
  • the asynchronous job on server side receiving jms messages queue, , can send notifications browser.

if can use other libraries, question shows ways integrate javascript , jms.

related question: how facebook/gmail send real time notifications


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -