Hi guys, I would like to get your opinion on the legacy names support. Since Java EE 6, JNDI names are (more or less) standardized. It's fine. To help users upgrade from OpenEJB to TomEE, we still bind legacy names to JNDI which is also fine from a user point of view. At least it was IMHO.
But now, since almost everybody uses CollapsedEAR, they only deploy WARs with JARs in TomEE. A few of them still want to fight with EAR packaging even through there is still a need to sometimes share a business logic across more than one webapp. In that case, they usually deploy the same business jar into 2 different webapps in TomEE. That leads to JNDI exception because previous (legacy) names where not unique in the application server, whereas with new Java EE 6 names, it should work. Long story short, I would like to change the default settings to not bind legacy names by default so that out of the box, deploying the same EJB JAR into 2 different webapps must work. If users still want to bind legacy names, never mind they can just activate the property in the system.properties file. WDYT? -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com