users@glassfish.java.net

Glassfish ejb project with ejb-client dependency

From: Paulo Cesar Reis <casmeiron_at_gmail.com>
Date: Mon, 21 Sep 2009 14:40:07 -0300

Hi all,

I have a doubt! Iıve created a EJB3 module (deployed on glassfish) and I
used the ejb-client of this module in another EJB3 project.

So I got so far:

  . EJB Module A
    - DoSomething EJB Stateless

  . EJB Module B
    - EJB Module A client dependency

When I deploy the EJB Module B in the same GF of EJB Module A, it duplicates
all the webservices (and probably the ejbıs implementation). So my question
is: Why the GF thinkıs that my ejb-client dependency itıs a ejb
implementation and not a reference? Am I doinıg somethinı wrong?

Thanks.