Has this feature request been created already? I want to vote for it! :-) I am wondering where this feature, of prepending the .ear package name to the EJB names, is coming from. Is it in the specs of EJB 3 or JavaEE 5? Because I see a few problems that may occur in this approach. (Or is there already a solution that I missed?)
- Maven builds & version numbers As mentioned in the first post, EJB clients will need to know the version of the ear before being able to lookup the beans. Moreover, new versions of .ear containing EJBs will also require updated clients (external war or client app) - Maven builds & unit testing with embedded EJB3 JNDI names will be different between unit tests from maven using embedded EJB3 and deployment on JBoss AS afterwards. - Packaging/Deployment What if the person responsible for deployment renames the .ear file before deploying? Application will not work? - ... Thanks for your feedback View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961487#3961487 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961487 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user