If you used some specialized in process service to deliver asynchronous
notifications between EJB components, your components would be locked
into a non-distributed solution and the EJB component model would be
broken.
EJB servers already optimize EJB calls within a server they should be
able to provide similar optimizations for message exchange within a
server.
JMS is definitely the API we see components using for asynchronous
notifications and requests. There are some specification issues to
resolve to insure that EJB's that use JMS are portable and that is why
EJB/JMS integration is a major element of the EJB 2.0 JSR.
-- Mark
punit malik wrote:
>
> Jeff,
>
> Lets say i have 3 clients who are connected to their session beans on the
> same server. Session beans talk to dbms and make change in dbms. Now i want
> to make these clients/for simplicity lets say session beans propagate an
> event to other 2 beans.
> According to you if i use JMS, i will put a message on the underlying
> messaging service queue, which will transfer it to the target, in this case,
> same machine. Finally target will send this notification to session bean in
> question.
> Am i right the way it will work if used JMS?
>
> If yes, don't you think there will be big overhead as i am using the whole
> JMS mechanism, which i think is meant for guaranteed delivery to remotely
> stationed systems.
> Please let me know if I am wrong?
> Punit
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".