Hi,

use an "EJBHome factory", then a "business delegate". The patterns are
described in Floyd Marinescu's book on EJB patterns. See
www.theserverside.com, under "books". You will find a downloadable PDF
version there.

HTH,
Matthias

----

Matthias Bohlen
Consulting that helps project teams to succeed...

Web:
http://www.mbohlen.de/

Snail:
Luise-Albertz-Str. 25
D-53340 Meckenheim
Germany

Phone: +49 (170) 772 8545
Fax: +49 (2225) / 945189

> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Neelu Mehta
> Sent: Saturday, September 07, 2002 7:29 PM
> To: [EMAIL PROTECTED]
> Subject: Re: performance issue while looking up Session beans
>
>
> Can you pls tell me,  how can I save the Remote calls while
> looking up the session beans from JSPs.
>
>
> Neelu
>
> -----Original Message-----
> From:   Jay Kadiam [SMTP:[EMAIL PROTECTED]]
> Sent:   Saturday, September 07, 2002 3:02 AM
> To:     [EMAIL PROTECTED]
> Subject:        Re: performance issue while looking up Session beans
>
> Neelu,
>
>      In this case when 2nd JSP who going to lookup the same
> Session bean, who
>      is looked up by previous JSP, will take the Stateless
> session bean
>      instance from BEAN pool or not.
>
> Yes
>
>      I'll be able to save the remote calls in a real scenario
>
> No, because every JSP is still doing a lookup, and execute
> the methods.
>
> The second approach is a good design and it will increase the
> performance by reducing number of object creations(SLSBs).
>
> ==============================================================
> =============
> 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".
>

===========================================================================
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".

Reply via email to