2 Replies Latest reply on Oct 14, 2009 8:19 AM by Dennis Kuehn

    Create Stateful Session Bean programmatically?

    Dennis Kuehn Newbie

      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()