| Author |
Number of Entity Beans
|
stan lee
Greenhorn
Joined: Apr 08, 2003
Posts: 21
|
|
Hi, Got a doubt. Say Iam modeling Entity beans for an application which creates some 10000 records in a table. Is that meant 10000 entity beans were created and can any server handle it? What is the maximum number of entity beans can a server handle? Thanks! Stan Lee
|
 |
Ajith Kallambella
Sheriff
Joined: Mar 17, 2000
Posts: 5782
|
|
|
Entity beans are created only when a client requests it. The app server will not automatically instantiate 10000 entity beans on startup. The number of entity beans living in memory depends on server resources and to a certain extent the ejb container implementation. Using instance pooling and swapping the container will be able to use fewer instances to represent a large number of underlying data records. That is the beauty of EJB technology.
|
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
|
 |
Dinesh Raikar
Greenhorn
Joined: Aug 08, 2003
Posts: 8
|
|
Just to add one more point to Ajith's comment. You can mention how many beans you want to keep in the pool and that can be mentioned in the ejb deployment descriptor. -Dinesh
|
 |
adish jain
Greenhorn
Joined: Aug 05, 2003
Posts: 2
|
|
|
how will the performance affected by pooling and caching?(i.e the beauty of ejbs)
|
 |
 |
|
|
subject: Number of Entity Beans
|
|
|