Hi everybody,I'm going to switch my application server from Weblogic to JBoss.
Then, there are  problems how to make the sentence of <judi-name> in the 
weblogic-ejb-jar.xml.

This is the source.

<?xml version="1.0"?>

<!DOCTYPE weblogic-ejb-jar PUBLIC
  '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN'
  'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'>

<weblogic-ejb-jar>
        <weblogic-enterprise-bean>
                <ejb-name>AcceptProcInvoker</ejb-name>
                        <stateful-session-descriptor>
                                <stateful-session-cache>
                                        
<max-beans-in-cache>1000</max-beans-in-cache>
                                        
<idle-timeout-seconds>180</idle-timeout-seconds>
                                        <cache-type>NRU</cache-type>
                                </stateful-session-cache>
                                @EJB_CLUSTER_SETTING@
                                
<allow-concurrent-calls>true</allow-concurrent-calls>
                        </stateful-session-descriptor>
                        
<jndi-name>jp.co.ABCproduct.beans.ejb.test.accept.AcceptProcInvoker</jndi-name>
        </weblogic-enterprise-bean>
</weblogic-ejb-jar>


I find a sample from JBoss source which may be able to replace it with.
There is the sentence about "Standard Stateful SessionBean" in the 
"standardjboss.xml".

Is this correct sample which can be used for replacing "weblogic-ejb-jar.xml"?
If so, how can I make a sentence of <jndi-name>? 


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss PUBLIC
   "-//JBoss//DTD JBOSS 3.2//EN"
   "http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd";>

<!-- ===================================================================== -->
<!--  Standard JBoss EJB Configurations                                    -->
<!-- ===================================================================== -->
<!-- $Id: standardjboss.xml,v 1.47.2.24 2005/10/12 12:05:36 aloubyansky Exp $ 
-->


   <enforce-ejb-restrictions>false</enforce-ejb-restrictions>



      <container-configuration>
         <container-name>Clustered Stateless SessionBean</container-name>
         <call-logging>false</call-logging>
         
<invoker-proxy-binding-name>clustered-stateless-rmi-invoker</invoker-proxy-binding-name>
         <container-interceptors>
            org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
            org.jboss.ejb.plugins.CleanShutdownInterceptor
            org.jboss.ejb.plugins.LogInterceptor
            org.jboss.ejb.plugins.SecurityInterceptor
            <!-- CMT -->
            org.jboss.ejb.plugins.TxInterceptorCMT
            org.jboss.ejb.plugins.MetricsInterceptor
            org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor

            org.jboss.resource.connectionmanager.CachedConnectionInterceptor
         </container-interceptors>
         
<instance-pool>org.jboss.ejb.plugins.StatelessSessionInstancePool</instance-pool>
         <instance-cache></instance-cache>
         <persistence-manager></persistence-manager>
         <container-pool-conf>
            100
         </container-pool-conf>
      </container-configuration>


      <container-configuration>
         <container-name>Standard Stateful SessionBean</container-name>
         <call-logging>false</call-logging>
         
<invoker-proxy-binding-name>stateful-rmi-invoker</invoker-proxy-binding-name>
         <container-interceptors>
            org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
            org.jboss.ejb.plugins.LogInterceptor
            <!-- CMT -->
            org.jboss.ejb.plugins.TxInterceptorCMT
            org.jboss.ejb.plugins.MetricsInterceptor
            org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor
            <!-- BMT -->
            org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor
            org.jboss.ejb.plugins.TxInterceptorBMT
            org.jboss.ejb.plugins.MetricsInterceptor
            org.jboss.resource.connectionmanager.CachedConnectionInterceptor
            org.jboss.ejb.plugins.SecurityInterceptor
         </container-interceptors>
         
<instance-cache>org.jboss.ejb.plugins.StatefulSessionInstanceCache</instance-cache>
         
<persistence-manager>org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager</persistence-manager>
         <container-cache-conf>
            
<cache-policy>org.jboss.ejb.plugins.LRUStatefulContextCachePolicy</cache-policy>
            <cache-policy-conf>
               <min-capacity>50</min-capacity>
               <max-capacity>1000000</max-capacity>
               <remover-period>1800</remover-period>
               <max-bean-life>1800</max-bean-life>
               <overager-period>300</overager-period>
               <max-bean-age>600</max-bean-age>
               <resizer-period>400</resizer-period>
               <max-cache-miss-period>60</max-cache-miss-period>
               <min-cache-miss-period>1</min-cache-miss-period>
               <cache-load-factor>0.75</cache-load-factor>
            </cache-policy-conf>
         </container-cache-conf>
         <container-pool-conf>
            100
         </container-pool-conf>
      </container-configuration>







View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125075#4125075

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125075
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to