I would like to know the exact difference between the Stateless Session Bean Pool & the Entity Bean Pool. The SLSB pool comprises of a bunch of Beans of similiar type say 10 CardVerifier beans. Each has the same functionality. But what is with the Entity Bean pool. Say If i have an Entity Beans pool of 10 customers. Does it mean Entity Bean with PK1, PK2,PK3 & so on i.e 10 differnt entity beans representing 10 different customers or is it that all Entity Beans in the Pool are EntityBean with PK1 i.e 10 instances of EntityBeanPK1 (10 entity beans of the same single customer)
Hi, To add to what Lionel said, the stateless session beans are still active while inside a pool. That's why we don't need an ejbActivate()/ejbPassivate() for SLSB. But for entity beans, the beans are inactive in the pool.