IntelliJ Java IDE
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Bean Pooling when is it decided(ian mock exam)? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Architect Certification (SCEA/OCMJEA)
Reply Bookmark "Bean Pooling when is it decided(ian mock exam)?" Watch "Bean Pooling when is it decided(ian mock exam)?" New topic
Author

Bean Pooling when is it decided(ian mock exam)?

andy armstrong
Ranch Hand

Joined: May 14, 2002
Posts: 154
Where is there info about bean pooling that
says this is done at deployement time.
The Haefel book says that this depends on the
server implementation...


Certifications: <br />scp2, scea, scwcd, WL7.0, CISSP, XML
Alexander Yanuar Koentjara
Ranch Hand

Joined: Jun 03, 2002
Posts: 31
Originally posted by andy armstrong:
Where is there info about bean pooling that
says this is done at deployement time.
The Haefel book says that this depends on the
server implementation...

correct ... some of the container use "lazy" mechanism .. meaning that it will instantiate the bean (and add to the pool) only if necessary .. The initial number of bean can be defined in specific EJB container deployment descriptor since each container uses different policy.


===================================<br />Fear not, God know the best.<br />SCJP2 91%<br />SCWCD 89%<br />SCJD2 92% (143/155 pts)<br />SCEA Part I (89%)
Nicky Moelholm
Ranch Hand

Joined: Jan 20, 2002
Posts: 43
Correct, it is server dependent. In the deployment description (ejb-jar.xml) there is no information with regards to pooling.


Nicky Moelholm
MyCerts: SCJP 1.2, SCJP 1.5, SCJD, SCWCD 1.3, SCBCD 1.3, SCDJWS 1.4, SCEA, IBM 253
MyBooks: IBM WebSphere Application Server V7.0 Web Services Guide
 
 
subject: Bean Pooling when is it decided(ian mock exam)?
 
Threads others viewed
Confused with Stateless Session Bean
Is EJB pooling related with flyweight pattern ?
Statefull sessions beans are pooled as well!
an ejb bean pool question
Difference between Bean pooling & instance pooling???
IntelliJ Java IDE