geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chi runhua <chirun...@gmail.com>
Subject Re: [jira] [Resolved] (GERONIMO-5995) Provide a way to customize ejb in geornimo-web.xml
Date Fri, 01 Jul 2011 15:32:58 GMT
IIUC, the deployment plan as below should work now with this change?

<web xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"
  xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2" >

  <sys:environment>

        <sys:moduleId>
            <sys:groupId>default</sys:groupId>
            <sys:artifactId>geronimo-web-7</sys:artifactId>
            <sys:version>1.0</sys:version>
            <sys:type>car</sys:type>
        </sys:moduleId>

        <sys:import-package/>
        <sys:export-package/>
        <sys:require-bundle/>
        <sys:dynamic-import-package/>

  </sys:environment>

  <module>
    <ejb>example-ejb.jar</ejb>
    <alt-dd>dds/my-ejb-geronimo-plan.xml</alt-dd>
  </module>

</web>

Any comments?

Jeff

On Wed, Jun 29, 2011 at 5:11 PM, Shawn Jiang (JIRA) <jira@apache.org> wrote:

>
>     [
> https://issues.apache.org/jira/browse/GERONIMO-5995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Shawn Jiang resolved GERONIMO-5995.
> -----------------------------------
>
>    Resolution: Fixed
>
> Should be fixed with this:
>
> Author: genspring
> Date: Thu Jun  9 06:14:58 2011
> New Revision: 1133672
>
> URL: http://svn.apache.org/viewvc?rev=1133672&view=rev
> Log:
> synchronize jaxb modle EnvironmentType to the latest
> http://geronimo.apache.org/xml/ns/deployment-1.2 schema.
>
> Modified:
>
> openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oejb2/EnvironmentType.java
>
> Modified:
> openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oejb2/EnvironmentType.java
> URL:
> http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oejb2/EnvironmentType.java?rev=1133672&r1=1133671&r2=1133672&view=diff
>
> > Provide a way to customize ejb in geornimo-web.xml
> > --------------------------------------------------
> >
> >                 Key: GERONIMO-5995
> >                 URL: https://issues.apache.org/jira/browse/GERONIMO-5995
> >             Project: Geronimo
> >          Issue Type: Improvement
> >      Security Level: public(Regular issues)
> >          Components: deployment
> >    Affects Versions: 3.0
> >            Reporter: Shawn Jiang
> >            Assignee: Shawn Jiang
> >
> >
> http://apache-geronimo.328035.n3.nabble.com/How-to-provide-external-openejb-jar-xml-for-ejb-in-war-td2877616.html#a2891691
> > 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.
> > we need to provide a way to customize ejb in war.
>
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>

Mime
View raw message