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

    Session Bean lookup from a JSP

    Johannes Witzens Newbie

      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