On Mon, 31 Jul 2000 04:03:42 -0700, Jerson Chua <[EMAIL PROTECTED]>
wrote:
>In order to eliminate the overhead of creating a stateless session bean every time 
>using
>the home interface, I'm thinking of storing the remote interface in the HTTP session. 
> I
>know this is essential for stateful session beans, but what about stateless session
>beans?  Is this common practice?

This may actually give you worse performance, especially in a clustered
environment! Some implementations make loadbalancing decisions during
the create call, so if you only do it once you risk having ALL of the
workload on only one of the nodes in the cluster.

/Rickard

--
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.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".

Reply via email to