diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-01 11:19:42 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-01 11:19:42 +0000 |
commit | 10d9116ecd3a495df59fe3d7cb1fb15e18b3d143 (patch) | |
tree | 40e6a4f8e53603ba02fb9592eb69b2cbc9bed6de /java/sca | |
parent | d2c2efbc4efbda3a9547b97be9e80bf1665d8122 (diff) |
Minor clean up and comments
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@820612 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca')
3 files changed, 7 insertions, 5 deletions
diff --git a/java/sca/samples/webapps/helloworld-jms/src/main/java/sample/HelloWorldClient.java b/java/sca/samples/webapps/helloworld-jms/src/main/java/sample/HelloWorldClient.java index a8e9247ae0..f209f11605 100644 --- a/java/sca/samples/webapps/helloworld-jms/src/main/java/sample/HelloWorldClient.java +++ b/java/sca/samples/webapps/helloworld-jms/src/main/java/sample/HelloWorldClient.java @@ -31,7 +31,7 @@ public class HelloWorldClient implements HelloWorldService { }
public void setHelloWorldRef(HelloWorldService helloWorldRef) {
- System.out.println("HelloWorldClient .setHelloWorldService " + helloWorldRef);
+ System.out.println("HelloWorldClient.setHelloWorldService " + helloWorldRef);
this.helloWorldRef = helloWorldRef;
}
}
\ No newline at end of file diff --git a/java/sca/samples/webapps/helloworld-jms/src/main/java/sample/HelloWorldServiceImpl.java b/java/sca/samples/webapps/helloworld-jms/src/main/java/sample/HelloWorldServiceImpl.java index 4b59a0c340..c09af51e23 100644 --- a/java/sca/samples/webapps/helloworld-jms/src/main/java/sample/HelloWorldServiceImpl.java +++ b/java/sca/samples/webapps/helloworld-jms/src/main/java/sample/HelloWorldServiceImpl.java @@ -18,16 +18,13 @@ */
package sample;
-import org.oasisopen.sca.annotation.Service;
-
/**
* This class implements the HelloWorld service.
*/
-@Service(HelloWorldService.class)
public class HelloWorldServiceImpl implements HelloWorldService {
public String sayHello(String name) {
- System.out.println("HelloWorldServiceImpl .sayHello " + name);
+ System.out.println("HelloWorldServiceImpl.sayHello " + name);
return "Hello " + name;
}
diff --git a/java/sca/samples/webapps/helloworld-jms/src/main/webapp/META-INF/context.xml b/java/sca/samples/webapps/helloworld-jms/src/main/webapp/META-INF/context.xml index 2419887413..7575edfc29 100644 --- a/java/sca/samples/webapps/helloworld-jms/src/main/webapp/META-INF/context.xml +++ b/java/sca/samples/webapps/helloworld-jms/src/main/webapp/META-INF/context.xml @@ -18,6 +18,11 @@ * under the License. --> +<!-- +This file configures the ActiveMQ JMS resources and is only required when +using Apache ActiveMQ as the JMS broker in Apache Tomcat. +--> + <Context> <Resource name="ConnectionFactory" auth="Container" type="org.apache.activemq.ActiveMQConnectionFactory" description="JMS Connection Factory" |