[jboss-dev-forums] [JBoss AS 7 Development] - Re: call ejb from war via JNDI problem

kola ye do-not-reply at jboss.com
Sat Dec 15 01:52:38 EST 2012


kola ye [https://community.jboss.org/people/kolaye] created the discussion

"Re: call ejb from war via JNDI problem"

To view the discussion, visit: https://community.jboss.org/message/783549#783549

--------------------------------------------------------------
Thanks Wolf-Dieter. I had resolved it lastnight.
The method is copy the EJB interface class into the Web App's class path. and then the Web App can find the EJB class.
And I also test the other method, I add the EJB remote interface (UsersDaoRemote.java) into the Web App's project, it work fine too!
*I had confused about the Web Container and the EJB container, since the Web Container have more and more functions about EJB(likes WebBean). Does it have possible that the Web Container replace the EJB Container, or the two Container combine to one Container in the future?*
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/783549#783549]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20121215/2a6f72a7/attachment.html 


More information about the jboss-dev-forums mailing list