users@glassfish.java.net

Re: Running embedded test with multimodule project

From: Major Péter <majorpetya_at_sch.bme.hu>
Date: Fri, 18 Jun 2010 20:44:16 +0200

> 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?

Thanks,
Peter