Question :I have created a remote reference to an EJB in FirstServlet. Can I put the
reference in a servlet session and use that in SecondServlet? (EJB)
Answer :Yes. The EJB client (in this case your servlet) acquires a remote reference
to an EJB from the Home Interface; that reference is serializable and can
be passed from servlet to servlet. If it is a session bean, then the EJB
server will consider your web client's servlet session to correspond to a
single EJB session, which is usually (but not always) what you want.
www.interviewhelper.org is a hope for all the Job seekers. Users can find unlimited here. These range from technical to HR, from functional to behavioral. www.interviewhelper.org contains in the fields like Ajax,VB,Networking,Sharepoint,JEE,Perl,Javascript,Bioinformatics,Classic ASP,Unix,Linux,Accounting,Oracle DBA,Microprocessor,Bluetooth,jms,jme,.net framework,ABAP,ASP,ASP.net,Basic .net Framework,Interview Questions,C language,C++,database,Oracle,Java,PHP,LAMP,SAP etc.
Friday, March 13, 2009
I have created a remote reference to an EJB in FirstServlet. Can I put the
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment