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
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).