1 Reply Latest reply on Aug 18, 2006 11:27 AM by peterj

    Session Bean lookup from a JSP

    john_witz

      Hello

      i have one question.
      How is the standard way to lookup a sessionbean from a JSP Page?

      I do this like the following code:

      cal = (StatelessCalculator) ic.lookup(StatelessCalculator.class.getName());


      in Glassfish it works but in JBoss it doesn´t. I get the following error:

      2006-08-18 14:21:11,822 INFO [STDOUT] Couldn't create calculator
      bean.de.witzens.session.StatelessCalculator not bound