Hi, I agree with you. According to the lifecycle for the STATELESS session beans, Constructor, setSessionContext() and ejbCreate() are executed by the container and not as a direct call from the client and you dont get any details other than a reference to the home interface in setSessionContext(), after which is the call for ejbCreate() in which you can get EJBObject as well, but the rest of them can be used only in the business method.
So yes Other than A .. rest all are the answers, depends on how many you need to check but again .. none of them ca nbe eleiminates.. they are all the answers.
May be somebody else can help us out with this....?
I am confused now. Is not beans EJBContext for a session bean its SessionContext? I agree with the elimination of getUserTransaction b/c we are using CMT. But how about getEJBObject and getEJBLocalObject, So that would mean again all the others except A must NOT be invoked until after setSessionContext. [ October 13, 2004: Message edited by: Nileesha Bojjawar ]