Hello,

YES, JMS is the right (and standard) way to achieve
your goal !
One solution is to define a JMS Topic, let your clients
be JMS clients, which will be subscribing to the topic.
And then, in your Session Bean, in the method that uses
the entity beans (I imagine within a transaction), also
send a JMS message to the Topic (within the same
transaction, to be sure to send the message if and only if
the database is modified). That's all.
JOnAS provides all what is needed to do that.

Best Regards,

François

"Gintaut Andreas (PN-CCS/D)" wrote:

> Hi,
> I have a little design problem, that should have appeared to a lot of you:
>
> We have several Clients connected to a Session Bean. Behind these Session
> Bean there are several Entity Beans that
> represent the database tables.
> The Clients have the possibility to change the database entries by calling
> methods at the SessionBean and the Session Bean
> uses the EntityBeans to perform the changes at the database. Up to here
> everything is quite normal.
> Now we have the need to notify all the Clients, when a database entry has
> changed.
> Is JMS (I think it is integrated to Jonas since 2.2) the right way to
> perform this asynchronous notification or
> am I running in the wrong way when trying to force a solution in that
> direction?
> Does anyone have any experiences with this scenario?
>
> Thanks a lot for giving me a tip
>
> Regards
> Andreas Gintaut
>
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".

--
==================================================================
Francois EXERTIER         Evidian (Groupe Bull)
     1, rue de Provence,  BP 208,  38432 Echirolles cedex, FRANCE
     mailto:[EMAIL PROTECTED]
     http://www.evidian.com/jonas   http://www.objectweb.org/jonas
     Tel: +33 (0)4 76 29 71 51  -  Fax:   +33 (0)4 76 29 77 30
==================================================================


----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to