That makes sense, only thinking of a client client is not enough, and
infact, when one EB calls another there is a good chance it might benifit
from making such a call asynchronously.
> ----------
> From: Ian McCallion[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list for Enterprise JavaBeans development
> Sent: Thursday, October 21, 1999 9:36 AM
> To: [EMAIL PROTECTED]
> Subject: Re: EJB cons?
>
> Pankaj Tandon wrote:
>
> > So if I prefer to build a thread in my client app that goes out and
> > 'asynchronously' invokes an eJB, I would be doing work in the client
> which
> > shd be handled by the eJB. Is that the 'con'? It would seem to be a
> minor
> > one, given Java's support for multithreading. Or am I oversimplifying?
>
> You are right, when thinking only of a client client. However think also
> of a
> server client, eg your EJB server as client to my EJB server.
> 1. No threads so you have to make the call synchronously
> 2. You cannot passivate your beans while waiting for my overloaded
> server to respond so your server gets clogged up and won't scale.
>
>
>
> Ian McCallion
> CICS Business Unit
> IBM Hursley
> [EMAIL PROTECTED]
> Tel: ++44-1962-818065
> Fax: ++44-1962-818069
>
> ==========================================================================
> =
> 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".