Sundari,

I have done this with my beans, you combine the sections into one
weblogic-ejb-jar.xml (also the ejb-jar.xml and weblogic-rdbms-jar.xml).

  <weblogic-enterprise-bean>
    <ejb-name>beanOne</ejb-name>
    <entity-descriptor>
      <pool>
        <max-beans-in-free-pool>20</max-beans-in-free-pool>
      </pool>

      <entity-cache>
        <max-beans-in-cache>1000</max-beans-in-cache>
        <idle-timeout-seconds>10</idle-timeout-seconds>
        <concurrency-strategy>Database</concurrency-strategy>
      </entity-cache>

      <lifecycle>
      </lifecycle>

      <persistence>
        <delay-updates-until-end-of-tx>True</delay-updates-until-end-of-tx>
        <persistence-type>
          <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
          <type-version>6.0</type-version>
          <type-storage>META-INF/weblogic-rdbms-jar.xml</type-storage>
        </persistence-type>
        <db-is-shared>True</db-is-shared>
        <persistence-use>
          <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
          <type-version>6.0</type-version>
        </persistence-use>
      </persistence>

      <entity-clustering>
        <home-is-clusterable>True</home-is-clusterable>
      </entity-clustering>
    </entity-descriptor>

    <transaction-descriptor>
      <trans-timeout-seconds>600</trans-timeout-seconds>
    </transaction-descriptor>

    <local-jndi-name>beanOne</local-jndi-name>
  </weblogic-enterprise-bean>

  <weblogic-enterprise-bean>
    <ejb-name>beanTwo</ejb-name>
        ...

  </weblogic-enterprise-bean>

Hope this helps,
Gordon Dickens

> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> <[EMAIL PROTECTED]>@BANCONE  On Behalf Of Sundari S
> <[EMAIL PROTECTED]>
> Sent: Thursday, February 07, 02 6:54 AM
> To:   [EMAIL PROTECTED]
> Subject:      Deploying Multiple beans from a single JAR
>
>
> Hi,
>
> Incase we need to deploy more than  one bean packed inside the same JAR -
>
> If each of the bean has a  weblogic-cmp-rdbms.jar file, how do we combine
> them into one while deploying the  JAR file ?? There is also a reference
> to this, from the welogic-ejb-jar.xml. Is  any changes required in this
> file also ??
>
> Do let me know .
>
> Regards,
> Sundari.S

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to