An 'Application' is defined as an .ear file. See the J2EE spec for
details on the structure of this.
Victor Langelo wrote:
>
> I am attempting to deploy bean A with a ejb-ref to another bean B. The
> ejb-ref element has a ejb-link element which references the deployed
> name of the referenced bean B. It so happens that bean B is already
> deployed but in another ejb.jar file. The deployer throws the
> exception:
>
> org.jboss.ejb.DeploymentException: Bean es.RefList not found within
> this application.
>
> If I take this message at face value it seems to indicate that an
> "application" in JBoss is a single ejb.jar file. Section 14.3.2 of the
> spec states:
>
> The Application Assembler specifies the link between two enterprise
> beans as follows:
>
> * The Application Assembler uses the optional ejb-link element of
> the ejb-ref element of the referencing enterprise bean. The value
> of the ejb-link element is the name of the target enterprise
> bean. (It is the name defined in the ejb-name element of the
> target enterprise bean.) The target enterprise bean can be in the
> same ejb-jar file, or in another ejb-jar in the same J2EE
> application unit as the referencing enterprise bean.
>
> This seems to hint at the fact that I should be able to compose
> applications made up of many jar files. Does anyone know if there is a
> way to do that in JBoss?
>
> Thanks,
>
> --Victor
Confidential e-mail for addressee only. Access to this e-mail by anyone else is
unauthorized.
If you have received this message in error, please notify the sender immediately by
reply e-mail
and destroy the original communication.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user