Giju Thomson wrote:

>     I have found out that the most time taken in a ejb lifecycle is at
> JDNI Lookup . So if we can cache the home object then it will be much
> faster . How can we cache the home object ? What is the best algo to
> implement a object cache . Which would be better the cache as a MBean or
> as a SessionBean ?


Try both ways, benchmark them, and pick the fastest one.

/Rickard

--
Rickard �berg
Author of "Mastering RMI"
Chief Architect, TheServerSide.com
   The Middleware Company - We Build Experts!

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