Friday, March 13, 2009

Can an EJB send asynchronous notifications to its clients? (EJB)

Question :Can an EJB send asynchronous notifications to its clients? (EJB)
Answer :Asynchronous notification is a known hole in the first versions of the EJB
spec. The recommended solution to this is to use JMS, which is becoming
available in J2EE-compliant servers. The other option, of course, is to use
client-side threads and polling. This is not an ideal solution, but it's
workable for many scenarios.

No comments: