- Posted by: vino priya
- Posted on: October 21 2000 09:19 EDT
For a stateful session bean(container-managed),if i call the create() method using the home object i get the error -
Error:500 javax.ejb.CreateException: ERROR creating stateful SessionBean: java.lang.NullPointerException:
where the connections to the database are made in the ejbCreate() method in the bean.
There doesnot exists any problems when a stateful session bean obtains database connections in the ejbCreate().
Make sure that u close the connections in ejbPassivate() and ejbRemove().
Check out for connectivities.
Send me the source code for further reviews.
Mail-Id : [email protected]
There is no type named as Container Managed for the Session beans.Container Managed concepts are specfic to only
Can U explain us about your exact problems in creating the Stateful Session bean? so that I could help U as I can.