Major Péter wrote:
>> How does the EJB container display the java:global name? Did you try to
>> add ejb-jar.xml with the <module-name>? If you have more that 1 EJB
>> module, add the name of your choice via EJBContainer.APP_NAME property
>> to the Map passed to createEJBContainer call.
>>
>
> I'm currently using the ejb-jar.xml <module-name> tag as you suggested
> earlier and it's working great, but when the ear is deployed to a
> standalone glassfish the name could be anything (AFAIK), so it will fail
> there, won't it?
>
You can package EJBs in a war file, and it'll stay a single-module artifact.
Best,
-marina
> Thanks,
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>