0 Replies Latest reply on Nov 18, 2004 11:12 AM by Bill Burke

    Remote method

    Bill Burke Master

      First of all, EJB 3.0 does not have homes...

      Second, JBoss EJB 3.0 by default registers Session beans under the FQN of the remote interface. This allows an easy way to remember the name and a common referencable constant for that jndi name.

      
      TestSession session = (TestSession)ctx.lookup(TestSession.getClass().getName());
      
      


      Type cast works with jboss, or narrow as well.

      Bill