[jboss-user] [EJB 3.0] - Session Bean lookup from a JSP

John_Witz do-not-reply at jboss.com
Fri Aug 18 08:48:05 EDT 2006


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

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

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




More information about the jboss-user mailing list