I had read during my SCBCD certification that Stateless session bean instances are created during server startup and NOT when client calls create on the bean.
However, when I tested this functionality in Bea Weblogic and IBM Websphere Application Servers, then I found that ejbCreate() and setSessionContext() were called only when I invoked a business method on the bean.
Does this prove that this is server specific and has to be configured and is not mandated by the specification??
I had to face embarrassment due to this during an interview.
However, when I tested this functionality in Bea Weblogic and IBM Websphere Application Servers, then I found that ejbCreate() and setSessionContext() were called only when I invoked a business method on the bean.
Does this prove that this is server specific and has to be configured and is not mandated by the specification??
I had to face embarrassment due to this during an interview.