[jboss-user] [Beginner's Corner] - Create Stateful Session Bean programmatically?

mwx.dennis do-not-reply at jboss.com
Wed Oct 14 06:54:12 EDT 2009


I need to conditionally create a Stateful Session Bean instance. Therefore I cannot use an @EJB annotation - I'm looking for a way to do it programmatically. Ideally, I'd like to say 
  MySfsbRemote newInstance = ???.create(MySfsbRemote.class);

How can I do this? I guess I cannot use new MySfsb()?

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

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



More information about the jboss-user mailing list