Interesting idea to eliminate the need for <jar-file> elements in the persistence.xml file
https://issues.apache.org/jira/browse/TOMEE-58 Would basically give you something like: some.jar/META-INF/persistence.xml red.jar/META-INF/persistence-fragment.xml green.jar/META-INF/persistence-fragment.xml blue.jar/META-INF/persistence-fragment.xml In the simple case, the red.jar and green.jar and blue.jar would be added to the persistence.xml of some.jar as <jar-file> references in the units where they apply. In this simple case the persistence-fragment.xml would only state the unit name and no other information. In the more complex case, the persistence-fragment.xml might allow 'class' elements in addition to the unit name. In that case, we simply move the class elements into main persistence.xml -David
