[jboss-user] [JNDI and Naming] - EJB 3.1 @Singleton remote access

jaikiran pai do-not-reply at jboss.com
Fri May 14 03:41:03 EDT 2010


jaikiran pai [http://community.jboss.org/people/jaikiran] replied to the discussion

"EJB 3.1 @Singleton remote access"

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

--------------------------------------------------------------
So you have:

> Christian Tre wrote:
> 
> The ear is packed as following
> 
> + META-INF
> | | ejb-jar.xml
> | | MANIFEST.MF
.ear/META-INF/ejb-jar.xml? That's not how .ear are packaged. The ejb-jar.xml should reside in the .jar/META-INF folder of the EJB jar (I guess your ejb3.jar). And then the .ear may (optionally) contain a META-INF/application.xml. So the .ear would look something like:


.ear
 |
 |--- META-INF
 |          |
 |          |--- application.xml
 |     
 |--- ejb3.jar
 |     |
 |     |--- META-INF
 |     |          |
 |     |          |--- ejb-jar.xml
 |     |          |--- persistence.xml
 |     |
 |     |--- [the classes go here]


--------------------------------------------------------------

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

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/20100514/85178dbd/attachment-0001.html 


More information about the jboss-user mailing list