Hi Raymond, that's great news. I'll try to set some time aside and give it a go.
Regards, Graham. 2009/3/18 Raymond Feng <enjoyj...@gmail.com>: > Hi, > > I have made good progress to add OSGi RFC 119 with Tuscany/SCA. The first > prototype is now working! > > Here is the scenario I have tested with the following OSGi bundles: > > * calculator.dosgi: It contains the CalculatorService > * calculator.dosgi.operations: It contains the AddService, SubtractService, > MultiplyService, and DivideService. > > The test case is CalculatorOSGiNodeTestCase [2]. It can be run in three > modes that controlled by the "client" system property: > > * server mode (-Dclient=false): Deploy the calculator.dosgi.operations > bundle and expose the AddService, SubtractService, MultiplyService, and > DivideService over RMI using Tuscany binding.rmi. > * client mode (-D client=true): Deploy the calculator.dosgi bundle and > access the AddService, SubtractService, MultiplyService, and DivideService > via SCA proxies from the OSGi service registry using Tuscany binding.rmi. > * client/server mode: Deploy both bundles in the same JVM and run the > calculator with operations over RMI using Tuscany binding.rmi. > > Please note: the latest version of the Equinox jars (containing the OSGi DS > support) are not available in maven. I download a copy from [3] and unzip > the jars to test/src/resources/plugins folder before running the tests. I'll > try mvn eclipse:to-maven to generate the maven artifacts and make them > available in a repo. > > Thanks, > Raymond > > [1] > http://cwiki.apache.org/confluence/display/TUSCANYWIKI/OSGi+RFC+119+Implementation > [2] > http://svn.apache.org/repos/asf/tuscany/java/sca/modules/node-impl-osgi/src/test/java/calculator/dosgi/test/CalculatorOSGiNodeTestCase.java > [3] > http://download.eclipse.org/equinox/drops/R-3.4.2-200902111700/download.php?dropFile=eclipse-equinox-3.4.2.zip > > >