users@glassfish.java.net

Re: EJB Module with Entity class in library

From: <glassfish_at_javadesktop.org>
Date: Mon, 07 Dec 2009 06:25:14 PST

The Manifest mechanism only applies to the modules packaged inside ear and not standalone modules, but it's not really relevant here as the jar as attached could deploy to v2 successfully. :-)

Looking at the v2 code, it seems it added all the root level jars of the modules to the classpath regardless of whether the libraries are referenced or not. This is why the application could deploy to v2 successfully. This is not a spec defined behavior which is not supported in v3 now. We can probably expand the functionality of "compatibility" property to include module level jars as part of the jar visibility backward compatibility support in v3.1.
[Message sent by forum member 'hzhang_jn' ]

http://forums.java.net/jive/thread.jspa?messageID=375164