java ee - How to configure JBoss AS7.1.1 to reference a CORBA Remote-Bean -
i'm switching local development glassfish jboss. i'm not experienced corba , remote-beans. how can configure following gf-configuration in jboss 7.1.1?
the config gf:
<external-jndi-resource res-type="javax.naming.reference" description="" jndi-name="ejb/documentserviceinvocation" factory-class="com.sun.jndi.cosnaming.cnctxfactory" jndi-lookup-name="ejb/documentserviceinvocation"> <property name="java.naming.provider.url" value="corbaname::server01:9812,:server01:9813/nameserviceserverroot"></property> </external-jndi-resource>
and...
<servers> <server name="server" config-ref="server-config"> ... <resource-ref ref="ejb/documentserviceinvocation"></resource-ref> </server> </servers>
my web.xml:
<ejb-ref> <ejb-ref-name>ejb/documentserviceinvocation</ejb-ref-name> <ejb-ref-type>session</ejb-ref-type> <home>mypackage.documentserviceinvocationhome</home> <remote>mypackage.documentserviceinvocationremote</remote> </ejb-ref>
i'd suggest take @ http://www.jacorb.org/. tried , tested orb bridge between java , corba. makes interaction between corba , java simple web services. can used jboss.
Comments
Post a Comment