Author: antelder
Date: Thu Jan 14 12:05:59 2010
New Revision: 899171
URL: http://svn.apache.org/viewvc?rev=899171&view=rev
Log:
update domain name to match the current way others are using it
Modified:
tuscany/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-servlet/src/main/java/testing/HelloworldServlet.java
Modified:
tuscany/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-servlet/src/main/java/testing/HelloworldServlet.java
URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-servlet/src/main/java/testing/HelloworldServlet.java?rev=899171&r1=899170&r2=899171&view=diff
==============================================================================
---
tuscany/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-servlet/src/main/java/testing/HelloworldServlet.java
(original)
+++
tuscany/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-servlet/src/main/java/testing/HelloworldServlet.java
Thu Jan 14 12:05:59 2010
@@ -42,7 +42,7 @@
try {
String component = request.getParameter("component");
- HelloworldService service =
SCAClientFactory.newInstance(URI.create("vm:default")).getService(HelloworldService.class,
component);
+ HelloworldService service =
SCAClientFactory.newInstance(URI.create("tuscany:default")).getService(HelloworldService.class,
component);
String name = request.getParameter("name");
String greeting = service.sayHello(name);