This content has been marked as final.
Show 3 replies
-
1. Re: Using both JNP and HTTP IL to access EJB
kalyan120 Nov 10, 2004 4:50 PM (in response to kalyan120)I have gone through the documentation of JBoss, and figured out that this can be done. But I don't see how this can be implemented (from the documentation).
Can someone please let me know if this is possible or not?
Thanks,
Kalyan. -
2. Re: Using both JNP and HTTP IL to access EJB
starksm64 Nov 11, 2004 9:03 PM (in response to kalyan120)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>
-
3. Re: Using both JNP and HTTP IL to access EJB
kalyan120 Nov 12, 2004 12:47 PM (in response to kalyan120)Thanks Scott
Regards,
Kalyan