[jboss-user] [EJB 3.0] - Construction of Stateful Bean

stedo do-not-reply at jboss.com
Sun Sep 24 14:50:17 EDT 2006


hi,

I am switching to EJB3 and I have a problem with bean construction from the client side. I want to provide a constructor for the bean so that a string is supplied on creation. In EJB2 this could be done by defining the create() method in the Home interface... e.g create(String aString). However with EJB3 there is no home interface so how do I provide constructors other than the default empty constructor?

Thanks in advance
Stephen

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

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



More information about the jboss-user mailing list