GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Certification  >  Sun  >  310-015
Go To First  |  Previous Question  |  
 310-015  |  Question 390 of 390    Print  
is it necessary to create instance of the bean for each and every request?

  
Total Answers and Comments: 4 Last Update: August 13, 2008     Asked by: sunitha 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 03, 2005 00:03:50   #1  
palanisamy Member Since: November 2005   Contribution: 1    

RE: is it necessary to create instance of the bean for...
I need answer for thid question
 
Is this answer useful? Yes | No
December 15, 2005 06:09:48   #2  
bhanamant Member Since: December 2005   Contribution: 3    

RE: is it necessary to create instance of the bean for...
It is necessary in Session Bean if it is Entity Bean it is not necessary to create a instance for every request.
 
Is this answer useful? Yes | No
January 19, 2006 08:31:13   #3  
rogesh        

RE: is it necessary to create instance of the bean for...
i think 238 instances will created for one bean
 
Is this answer useful? Yes | No
August 13, 2008 04:58:43   #4  
vinaykurudi Member Since: August 2008   Contribution: 1    

RE: is it necessary to create instance of the bean for each and every request?
No why because beans are maintaining one bean pool. If any request comes to that bean it will first see in that pool if any instance is free then that instance will be thrown to the request. If no instace is free then the bean creates new instance. But each bean pool will have some size limit. If it reaches the request will not get any instance so the request waits for instance.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape