users@glassfish.java.net

Re: How to implement a subscription manager in JEE (without JMS topics)?

From: <glassfish_at_javadesktop.org>
Date: Wed, 14 May 2008 13:17:37 PDT

A singleton which uses explizit thread synchronization mechanism like "synchronize" is not allowed within a JEE environment. Also a session bean cannot share data among different clients.

What I have not mentioned before: as there is some extra management of the subscription required and each client has its own data subscriptions, using JMS topics is not an options.

So something like an JEE conform singleton pattern is required.
[Message sent by forum member 'reiner_nix' (reiner_nix)]

http://forums.java.net/jive/thread.jspa?messageID=274389