How about extending the current geronimo-web.xml file ? Add an any element
to hold the contents from openejb-jar.xml.
2011/4/29 Shawn Jiang <genspring@gmail.com>
> We can use following style to provide external openejb-jar.xml for ejb in
> ear.
>
> <application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.1
> ">
>
> <module>
> <ejb>ejb.jar</ejb>
> <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1
> ">
>
> <enterprise-beans>
>
> ....
> </enterprise-beans>
>
> </openejb-jar>
> </module>
> ...
> </application>
>
>
> But, in javaee 6, ejb could put into war directly. When there's ejb in
> war, and we want to use external plan to customize these ejb.
>
> I'm wondering if there's a existing way to do the similar module config in
> war like we are doing in ear.
>
> --
> Shawn
>
--
Ivan
|