Something about the above
thread was bothering me..so i decided to check it on an App Server
I used IBM Websphere 5.1
When you say, Session bean - you can mean Stateful or Stateless
When you say stateful - then out of the options given by you
� A. public void ejbCreate(String name) throwsCreateException {} Valid
� B. public void ejbCreateBigCart() throws CreateException{} Valid
� C. public void ejbCreate(String name) {} Valid
� D. public static void ejbCreateSmallCart() {} Not Valid(Using Static)
� E. public final PKeyType ejbCreate() {} Not Valid
� F. public PKeyType ejbCreateLargeAccount() {} Not Valid
When you say stateless the only acceptable scenario is ejbCreate() with no params.Any other option creates a violation of EJB 2.0:7.8 Check it out and do let me know if i am wrong