anonymous wrote : am i doing something wrong. 

Yes - Stateless session beans are not allowed to take parameters for ejbCreate - the 
bean instance created is NOT associated with a specific client.

anonymous wrote : According to the EJB 2.1 Spec (Sec 7.11.3, p110), we should be able 
to define ejbCreate methods in Session Beans that take parameters. Is it just that 
3.0.8 is based on an older version of the EJB spec that didn't allow ejbCreate methods 
to take arguments? 

Yes STATEFUL session beans can take parameters.  The spec will tell you that stateless 
beans can not take parameters.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850599#3850599

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850599


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to