can u clear my doubt regarding stateless beans.that is why we need to write ejbCrete(),ejbRemove() methods for statless sesion beans,becaz the server is going to create the beans whenever there is requirement for beans
- Posted by: srinu vasu
- Posted on: February 20 2006 23:58 EST
The EJB Container won't create SLSB on every request. Most likely, it will pool them.
The ejbCreate() will be invoked when the bean is created, not everytime a client request a instance of it.