Hi,

You can call EJBHome.getHomeHandle() and store the serializable handle...
However I'm not sure if what you propose is a performance boost; I've
benchmarked EJBHome JNDI-lookup under Weblogic 5.1, and it's cached!  For
example, the first time I do lookup, it took 300 ms...  all future lookups
look 15 ms!

Gene

-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Naresh Sharma
Sent: Monday, August 07, 2000 4:01 AM
To: [EMAIL PROTECTED]
Subject:


Hi Gurus,

I am developing a web application in EJB with weblogic
5.1.

Is there any way by which i can store a
reference(reference of Home object of a bean)
application wide, by application wide i mean servlets
and other bean should able to access that reference.
so i don't need jndi lookup's every time i need to
access the bean in different servlets and beans.

thanks
Naresh


__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.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".

Reply via email to