From: Joost K. <J.Kraaijeveld@Askesis.nl> - 2003-04-27 15:38:47
|
Hi Scot, I have a Stateless and Statefull session bean working with JNDI and RMI = over HTTP but I do not understand what I have to use for a CMP and/or = BMP bean. What values should I use for (I marked the question with ??????????????? = and more detailed questions are in the line below): <jboss> <enterprise-beans> <session> <ejb-name>gogis_tutorial_cmp_java_HelloWorld</ejb-name> <jndi-name>gogis_tutorial_cmp_java_HelloWorldHTTP</jndi-name> <!-- This should result in JNDI over HTTP???? --> <invoker-bindings> <invoker> = <invoker-proxy-binding-name>???????????????</invoker-proxy-binding-name> <!-- Could this be any string I like??? --> <!-- Should every bean I want to call through HTTP have a = different name fo it's invoker??? --> </invoker> </invoker-bindings> </session> </enterprise-beans> =09 <!-- A custom container configuration for RMI/HTTP --> <invoker-proxy-bindings> <!-- A custom invoker for RMI/HTTP --> <invoker-proxy-binding> <name>???????????????</name> <!-- Could this be any string I like??? --> <!-- Should every bean I want to call through HTTP have a different = name fo it's invoker??? --> =20 <invoker-mbean>jboss:service=3Dinvoker,type=3Dhttp</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.???????????????</interceptor>=20 <!-- Should this be EntityInterceptor??? --> = <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> =09 </jboss> TIA Joost Kraaijeveld Gogis Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 email: J.Kraaijeveld@Gogis.nl web: www.gogis.nl=20 =20 |