May 25th, 2006, 04:00 AM
#1
corba remoting
I waited corba remoting implementation for a very long time, so I decided to start myself. The implementation requires idl being compiled into helper classes.
Here's the same config for server config:
=====================================
<bean id="orb" class="net.digisys.common.corba.OrbFactoryBean">
<property name="activate" value="true" />
</bean>
<bean id="rootPoa" class="net.digisys.common.corba.PoaFactoryBean">
<property name="orb" ref="orb" />
<property name="poaName" value="RootPOA" />
</bean>
<bean id="corbaNamingService" class="net.digisys.common.corba.CorbaNamingService FactoryBean">
<property name="orb" ref="orb" />
</bean>
<bean id="addServiceTarget" class="net.digisys.common.corba.AddService" />
<bean id="addService" class="net.digisys.common.corba.CorbaServiceExport er">
<property name="servicePoa" value="net.digisys.common.corba.AddPOA" />
<property name="serviceStub" value="net.digisys.common.corba._AddStub" />
<property name="serviceInterface" value="net.digisys.common.corba.AddOperations" />
<property name="service" ref="addServiceTarget" />
<property name="serviceName" value="Add" />
<property name="namingService" ref="corbaNamingService" />
<property name="rootPoa" ref="rootPoa" />
</bean>
===============================================
Client config
===============================================
<bean id="orb" class="net.digisys.common.corba.OrbFactoryBean">
<property name="activate" value="false" />
</bean>
<bean id="rootPoa" class="net.digisys.common.corba.PoaFactoryBean">
<property name="orb" ref="orb" />
<property name="poaName" value="RootPOA" />
</bean>
<bean id="corbaNamingService" class="net.digisys.common.corba.CorbaNamingService FactoryBean">
<property name="orb" ref="orb" />
</bean>
<bean id="addService" class="net.digisys.common.corba.CorbaClientFactory Bean">
<property name="serviceStub" value="net.digisys.common.corba._AddStub" />
<property name="serviceInterface" value="net.digisys.common.corba.AddOperations" />
<property name="serviceName" value="Add" />
<property name="namingService" ref="corbaNamingService" />
</bean>
==============================================
I do not know how to post the source code, however you can get it from
http://digi-sys.net/downloads/corba.zip
P.S. the code base is tested on SUN JDK 1.5
Yunfeng Hou
Attached Files
Last edited by houyunf; May 25th, 2006 at 04:02 AM .
Reason: add attachment
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules