Yes, the two ejb jars are packaged inside an ear. in the attachment, you can find the sources (from 4 eclipse projects) that represent that structure.
Two ejb jars, EjbJar contains BadApplicationException, EjbJar2 contains GoodApplicationException. Both are annotated with @ApplicationException.
SomeWebBean in EjbJar2 calls getGoodMessage or getBadMessage which throw GoodApplicationException or BadApplicationException respectively. If the ejb-jar.xml is not present only GoodApplicationException causes a rollback, if it is present, both cause the rollback.
Thanks for your help
[Message sent by forum member 'shine4u']
http://forums.java.net/jive/thread.jspa?messageID=485273