Question :The EJB container implements the EJBHome and EJBObject classes. For
every request from a unique client, does the container create a separate
instance of the generated EJBHome and EJBObject classes? (EJB)
Answer :The EJB container maintains an instance pool. The container uses these
instances for the EJB Home reference irrespective of the client request.
while refering the EJB Object classes the container creates a separate
instance for each client request.
Another Answer
The instance pool maintainence is up to the implementation of the
container. If the container provides one, it is available otherwise it is not
mandatory for the provider to implement it. Having said that, yes most of
the container providers implement the pooling functionality to increase the
performance of the app server. How it is implemented, it is again up to the
implementer.
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
The EJB container implements the EJBHome and EJBObject classes. For
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment