Stephen Coy wrote:
The answer to this question depends very much on what appserver (vendor and 
version) you are using.

If it is a JEE5 compliant server (JBoss 5.x, WebLogic 10.x, WebSphere 7.x)*, 
then you do not need manifest classpaths to be generated at all. All jars 
placed in the lib directory of the EAR will be visible to both EJB and WAR 
classes.

Are you sure about this? I'm asking because this is not the behaviour I'm seeing for a WAR deployed to Websphere 7.0.0.7. In order for the containing EAR's jar's to be visible from the WAR I have to specify them explicitly in the WAR's manifest. This, on the other hand, is not necessary for JBoss 5.1, as you say.

This wouldn't be so bad if it weren't for the fact that all transitive dependencies have to be specified in the POM, so that they are explicitly mentioned in the manifest classpath.

Cheers,
Nicola Musatti

[...]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to