posted 12 years ago
You never explicitly construct EJBs - the container does. Instead you have a bunch of methods that are called at different points in the EBJ's lifecycle: e.g. ejbActivate(), ejbPassivate(), ejbCreate, ejbRemove(). I'd suggest (if you haven't already) you read the "The Life Cycles of Enterprise Beans" section of the J2EE tutorial.