summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/distribution/tomcat/testing
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-03-22 08:28:29 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-03-22 08:28:29 +0000
commitfe6b55056d4afd1a9d3caf8806a1986e97c26ae7 (patch)
treecabd2ab5699e38615ed1957ebba28bb727857b33 /sca-java-2.x/trunk/distribution/tomcat/testing
parentf954cf1a6fc059e30a63ffcef953d6e40a0fd917 (diff)
Remove commons logging from tomcat war license
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@925994 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/distribution/tomcat/testing')
-rw-r--r--sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/pom.xml5
-rw-r--r--sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testingxxx/HelloworldClient.java (renamed from sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testing/HelloworldClient.java)11
-rw-r--r--sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testingxxx/HelloworldService.java (renamed from sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testing/HelloworldService.java)2
3 files changed, 14 insertions, 4 deletions
diff --git a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/pom.xml b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/pom.xml
index 39c6bb2b59..fcc7189d2d 100644
--- a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/pom.xml
+++ b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/pom.xml
@@ -35,6 +35,11 @@
<artifactId>tuscany-base-nodep</artifactId>
<version>2.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.tuscany.sca.shades</groupId>
+ <artifactId>tuscany-bpel</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ </dependency>
</dependencies>
diff --git a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testing/HelloworldClient.java b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testingxxx/HelloworldClient.java
index b36fe418a4..442d050454 100644
--- a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testing/HelloworldClient.java
+++ b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testingxxx/HelloworldClient.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package testing;
+package testingxxx;
import java.net.URI;
@@ -24,6 +24,8 @@ import org.oasisopen.sca.NoSuchDomainException;
import org.oasisopen.sca.NoSuchServiceException;
import org.oasisopen.sca.client.SCAClientFactory;
+import com.hazelcast.client.InRunnable;
+
public class HelloworldClient {
@@ -33,11 +35,14 @@ public class HelloworldClient {
if (args.length > 0) {
domainURI = URI.create(args[0]);
} else {
- domainURI = URI.create("tuscany:default?remotes=192.168.1.73:14820");
+ domainURI = URI.create("tuscanyclient:foo?remotes=127.0.0.1:14820");
}
+ InRunnable xx;
SCAClientFactory factory = SCAClientFactory.newInstance(domainURI);
HelloworldService service = factory.getService(HelloworldService.class, "HelloworldComponent");
- System.out.println(service.sayHello("world"));
+ System.out.println(service.sayHello("world"));
+ System.out.println(service.sayHello("world2"));
+ System.out.println(service.sayHello("world3"));
}
}
diff --git a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testing/HelloworldService.java b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testingxxx/HelloworldService.java
index b035a772be..81ce1ec739 100644
--- a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testing/HelloworldService.java
+++ b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testingxxx/HelloworldService.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package testing;
+package testingxxx;
import org.oasisopen.sca.annotation.Remotable;