Hi all,
i have one basic question to ask to
J2EE gurus.
my app is made of JSP model 2 architecture (JSP + servlet) that
calls some Stateless Sessionbean.
Since JNDI lookup is expensive, i am caching the EJBHome in
the servlet.
Now, that means that all the time that i want to use my stateless
Sessionbean i must call home.create().
Will i save anything (in terms of resources/time etc) if i cache
also the Remote interface of the Sessionbean??
I mean, in the servlet i cache MyEJBHome and MyEJB, so i won't have
to call all the time MyEJBHome.create().
I have read the EJB spec (i am still using 1.1), but this particular
issue is not addressed (please correct me if i am wrong).
As far as i have understood, i won't get any advantage
in caching also the Remote interface of my EJB, since the Container
can easily create new EJBs or reuse already created ones.
But, i'd like to have your opinion on the issue..
thanx in advance and regarsd
marco
==========================================================================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".