summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/distribution/tomcat
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-03-22 10:21:48 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-03-22 10:21:48 +0000
commit751699fd7b0bccbf6882bd719b8afec7a0dacd47 (patch)
tree8c4c23e67c69bdb840ec79a24344c1706a742247 /sca-java-2.x/trunk/distribution/tomcat
parent34e75899e3007aa4a91a0fadc6d41c2259299495 (diff)
Revert changes in 925994 committed by accident
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@926021 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/distribution/tomcat')
-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/testing/HelloworldClient.java (renamed from sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testingxxx/HelloworldClient.java)11
-rw-r--r--sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testing/HelloworldService.java (renamed from sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testingxxx/HelloworldService.java)2
3 files changed, 4 insertions, 14 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 fcc7189d2d..39c6bb2b59 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,11 +35,6 @@
<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/testingxxx/HelloworldClient.java b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testing/HelloworldClient.java
index 442d050454..b36fe418a4 100644
--- a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testingxxx/HelloworldClient.java
+++ b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testing/HelloworldClient.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package testingxxx;
+package testing;
import java.net.URI;
@@ -24,8 +24,6 @@ import org.oasisopen.sca.NoSuchDomainException;
import org.oasisopen.sca.NoSuchServiceException;
import org.oasisopen.sca.client.SCAClientFactory;
-import com.hazelcast.client.InRunnable;
-
public class HelloworldClient {
@@ -35,14 +33,11 @@ public class HelloworldClient {
if (args.length > 0) {
domainURI = URI.create(args[0]);
} else {
- domainURI = URI.create("tuscanyclient:foo?remotes=127.0.0.1:14820");
+ domainURI = URI.create("tuscany:default?remotes=192.168.1.73: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("world2"));
- System.out.println(service.sayHello("world3"));
+ System.out.println(service.sayHello("world"));
}
}
diff --git a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testingxxx/HelloworldService.java b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testing/HelloworldService.java
index 81ce1ec739..b035a772be 100644
--- a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testingxxx/HelloworldService.java
+++ b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testing/HelloworldService.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package testingxxx;
+package testing;
import org.oasisopen.sca.annotation.Remotable;