summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-client-webapp/src/main/java/testing/HelloworldService.java3
-rw-r--r--sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-service-contribution/src/main/java/testing/HelloworldImpl.java2
2 files changed, 5 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-client-webapp/src/main/java/testing/HelloworldService.java b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-client-webapp/src/main/java/testing/HelloworldService.java
index 8c67e05aa7..0be22979c2 100644
--- a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-client-webapp/src/main/java/testing/HelloworldService.java
+++ b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-client-webapp/src/main/java/testing/HelloworldService.java
@@ -20,6 +20,9 @@ package testing;
// TODO: should the webapp need to include the service interface?
+import org.oasisopen.sca.annotation.Remotable;
+
+@Remotable
public interface HelloworldService {
String sayHello(String name);
diff --git a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-service-contribution/src/main/java/testing/HelloworldImpl.java b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-service-contribution/src/main/java/testing/HelloworldImpl.java
index c9c6ff66d6..564b2e332f 100644
--- a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-service-contribution/src/main/java/testing/HelloworldImpl.java
+++ b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-service-contribution/src/main/java/testing/HelloworldImpl.java
@@ -20,8 +20,10 @@ package testing;
import org.oasisopen.sca.annotation.Init;
import org.oasisopen.sca.annotation.Scope;
+import org.oasisopen.sca.annotation.Service;
import org.oasisopen.sca.annotation.EagerInit;
+@Service(HelloworldService.class)
@Scope("COMPOSITE") @EagerInit
public class HelloworldImpl implements HelloworldService {