diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-24 16:58:54 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-24 16:58:54 +0000 |
commit | f8131463bbd444f9514d3c679fb7213fd28ca8b6 (patch) | |
tree | 22ed2ccc5a35a7c0e62fecea2866d5c451021c57 | |
parent | 0feb059dfdd70c39111d549dc8bfaf989cf35b31 (diff) |
Fix typos and add maven build information
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1000963 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | sca-java-1.x/branches/sca-java-1.6.1/demos/alert-aggregator-webapp/README | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/demos/alert-aggregator-webapp/README b/sca-java-1.x/branches/sca-java-1.6.1/demos/alert-aggregator-webapp/README index 3ec27ef65f..45568e4b72 100644 --- a/sca-java-1.x/branches/sca-java-1.6.1/demos/alert-aggregator-webapp/README +++ b/sca-java-1.x/branches/sca-java-1.6.1/demos/alert-aggregator-webapp/README @@ -2,7 +2,7 @@ Apache Tuscany Alert Aggregator Demo ==================================== The alert aggregator demo provides an application, implemented using SCA, that -aggregates feeds together and exposes them using the following bindings. +aggregates feeds together and exposes them using the following bindings: binding.ws binding.jsonrpc @@ -17,7 +17,7 @@ This will build a war file demo-alert-aggregator-webapp.war -This war can be deployed to you web application container and tested (the war +This war can be deployed to your web application container and tested (the war has been tested with Tomcat 6.0.10). The Web Application @@ -27,19 +27,18 @@ Once deployed point your browser at http://localhost:8080/demo-alert-aggregator-webapp -Taking care to ensure the host name and port number match you local +Taking care to ensure the host name and port number match your local configuration. This launches a Javascript application in the browser that uses JSONRPC -to contact the server and retrived a list of alert sources and alerts that +to contact the server and retrieve a list of alert sources and alerts that these sources are providing. -There default sources that you see are stored in a file in the following -file +The default sources that you see are stored in the following file: demo-alert-aggregator-webapp/WEB-INF/classes/sources.xml -This files has the following contents +This file has the following contents: <ns0:Config xmlns:ns0="http://tuscany.apache.org/sca/demos/aggregator/types"> <ns0:Source Id="0" FeedType="rss"> @@ -57,7 +56,7 @@ This files has the following contents </ns0:Config> You may want to adjust the "LastChecked" values to change the number of -alerts that are displayed in the first instance +alerts that are displayed in the first instance. Using A Feed Reader ------------------- @@ -77,6 +76,21 @@ Using Web Services The SCA application also uses binding.ws to provide a SOAP/HTTP interface. The demo client that uses this interface is not yet available. +Building The Sample Using Ant +----------------------------- +With the binary distribution the sample can be built using Ant as follows: +cd alert-aggregator-webapp +ant package + +Building The Sample Using Maven +------------------------------- + +With the source and binary distributions the sample can be built using Maven +as follows: + +cd alert-aggregator-webapp +mvn +The Maven build runs an integration test after building the war file. |