diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-11 23:26:33 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-11 23:26:33 +0000 |
commit | a40e527938d76ba71f211da7e327adb50384ba69 (patch) | |
tree | cb8f99f1727122b040a3f0fbb6649292b6a74302 /tags/java/sca/1.5.1-RC3/samples/calculator-corba-service/README | |
parent | 968721109881107520d7aefa91d7fcc0519d7739 (diff) |
Moving 1.x tags
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835157 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tags/java/sca/1.5.1-RC3/samples/calculator-corba-service/README')
-rw-r--r-- | tags/java/sca/1.5.1-RC3/samples/calculator-corba-service/README | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/tags/java/sca/1.5.1-RC3/samples/calculator-corba-service/README b/tags/java/sca/1.5.1-RC3/samples/calculator-corba-service/README deleted file mode 100644 index 87863752cd..0000000000 --- a/tags/java/sca/1.5.1-RC3/samples/calculator-corba-service/README +++ /dev/null @@ -1,82 +0,0 @@ -Calculator CORBA Service Sample -============================= - -This sample illustrates the use of Tuscany CORBA Binding to expose component -services as CORBA objects. It also demonstrates how a simple Java CORBA -Client application invokes the SCA Application's services exposed as CORBA -Services. - -The README in the samples directory (the directory above this) provides -general instructions about building and running samples. Take a look there -first. - - -Sample Overview ---------------- -This sample extends the calculator sample by replacing the local service -binding with an CORBA binding. So a java client can call the service exposed -by the SCA application using an CORBA client. Name service which is used in -CORBA communication is provided by Tuscany CORBA hosting module -(maven dependency: tuscany-host-corba-jse-tns) - see CORBA binding reference -on Apache Tuscany website for details. - -This sample adds a number of classes to the basic calculator sample: - -calculator-corba-service/ - src/ - main/ - java/ - calculator/ - CalculatorService.java - as calculator sample - CalculatorServiceImpl.java - AddService.java - as calculator sample - AddServiceImpl.java - SubtractService.java - as calculator sample - SubtractServiceImpl.java - MultiplyService.java - as calculator sample - MultiplyServiceImpl.java - DivideService.java - as calculator sample - DivideServiceImpl.java - resources/ - CalculatorCORBAServer.composite - the SCA assembly for this sample - test/ - java/ - calculator/ - CalculatorCORBAServerTestCase.java - JUnit test case - idl/ - contains files generated - from IDL file. Files are - used to access SCA component. - CalculatorCORBAServiceHelper.java - CalculatorCORBAService.java - _CalculatorCORBAServiceStub.java - CalculatorCORBAServiceHolder.java - CalculatorCORBAServiceOperations.java - resources/ - CalculatorCORBA.idl - IDL description for SCA component - pom.xml - the Maven build file - -Note. As this test creates and uses local network connections you may need to -configure your firewall, if you are running one, to allow the test to run -successfully. - -Building And Running The Sample Using Maven -------------------------------------------- -With either the binary or source distributions the sample can be built and run -using Maven as follows. - -cd calculator-corba-service -mvn - -You should see the following output from the test phase. - -------------------------------------------------------- - T E S T S -------------------------------------------------------- -Running calculator.CalculatorCORBAServerTestCase -Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.819 sec - -Results : - -Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 - -This shows that the Junit test cases have run successfully. |