You expose the ejb via the desired invokers with different jndi bindings as 
shown in this testsuite jboss.xml descriptor:


  | <?xml version="1.0"?>
  | 
  | <jboss>
  |    <invoker-proxy-bindings>
  |      <invoker-proxy-binding>
  |        <name>stateless-pooled-invoker</name>
  |        <invoker-mbean>jboss:service=invoker,type=pooled</invoker-mbean>
  |        <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
  |        <proxy-factory-config>
  |      <client-interceptors>
  |            <home>
  |              <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
  |              <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
  |              
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
  |              
<interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
  |            </home>
  |            <bean>
  |              
<interceptor>org.jboss.proxy.ejb.StatelessSessionInterceptor</interceptor>
  |              <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
  |              
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
  |              
<interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
  |            </bean>
  |      </client-interceptors>
  |        </proxy-factory-config>
  |      </invoker-proxy-binding>
  |    </invoker-proxy-bindings>
  |      <enterprise-beans>
  |        <session>
  |      <ejb-name>StatelessSession</ejb-name>
  |      <jndi-name>StatelessSession</jndi-name>
  |         <invoker-bindings>
  |           <invoker>
  |             
<invoker-proxy-binding-name>stateless-pooled-invoker</invoker-proxy-binding-name>
  |             <jndi-name>PooledStatelessSession</jndi-name>
  |           </invoker>
  |           <invoker>
  |             
<invoker-proxy-binding-name>stateless-rmi-invoker</invoker-proxy-binding-name>
  |             <jndi-name>StatelessSession</jndi-name>
  |           </invoker>
  |         </invoker-bindings>
  |        </session>
  |      </enterprise-beans>
  | </jboss>
  | 


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854927


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to