[jboss-user] [JNDI and Naming] - Re: JNDI binding and NameNotFoundException

Wolf-Dieter Fink do-not-reply at jboss.com
Wed Dec 14 02:16:09 EST 2011


Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] created the discussion

"Re: JNDI binding and NameNotFoundException"

To view the discussion, visit: http://community.jboss.org/message/641453#641453

--------------------------------------------------------------
It must be still a package or coding problem.
I use ejb3 without any descriptor except application.xml

The structure is
META-INF/MANIFEST.MF
META-INF/application.xml
ejb.jar                 # ejb3 stateless session bean and interface
persistence.jar     # JPA entity used by the SLSB

application.xml:
<application> 
    <display-name/> 
    <description/> 
     <module><ejb>ejb.jar</ejb></module> 
    <module><java>persistence.jar</java></module> 
</application>

In my example the ejb.jar include Bean and Interface. If you have a seperate interface jar you can add it like the persistence.jar.
--------------------------------------------------------------

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

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111214/7ac14f2b/attachment.html 


More information about the jboss-user mailing list