users@glassfish.java.net

How to tell ejb-jar that it is dependend on the interface-jar of a connector?

From: <forums_at_java.net>
Date: Wed, 6 Jul 2011 09:07:04 -0500 (CDT)

My EAR contains an ejb-jar and a connector-rar.

The ejb-jar wants to invoke the connector, so obviously it is dependend on
the connector's interface, which is found in an interface-jar contained in
the rar.

How do I tell GlassFishv3.1 this dependency?

I tried using Class-Path interface-jar in the ejb-jar's MANIFEST.MF, which
worked well in GlassFishv2ur2. But in GFv3.1 that fails, as it makes GF
search for the interface-jar directly in the EAR (instead of in the RAR
contained in the EAR).

What is the correct way or syntax to declare the dependency?


--
[Message sent by forum member 'mkarg']
View Post: http://forums.java.net/node/819051