You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2007/07/04 00:14:37 UTC

svn commit: r553000 - in /incubator/tuscany/branches/sca-java-0.91/samples: helloworld-dojo/README helloworld-jsonrpc/README

Author: antelder
Date: Tue Jul  3 15:14:36 2007
New Revision: 553000

URL: http://svn.apache.org/viewvc?view=rev&rev=553000
Log:
Tidy up the helloworld json and dojo sample readmes

Modified:
    incubator/tuscany/branches/sca-java-0.91/samples/helloworld-dojo/README
    incubator/tuscany/branches/sca-java-0.91/samples/helloworld-jsonrpc/README

Modified: incubator/tuscany/branches/sca-java-0.91/samples/helloworld-dojo/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-0.91/samples/helloworld-dojo/README?view=diff&rev=553000&r1=552999&r2=553000
==============================================================================
--- incubator/tuscany/branches/sca-java-0.91/samples/helloworld-dojo/README (original)
+++ incubator/tuscany/branches/sca-java-0.91/samples/helloworld-dojo/README Tue Jul  3 15:14:36 2007
@@ -1,7 +1,7 @@
-Hello World JSONRPC Sample
-==========================
-This sample demostrates the JSONRPC binding using a simple web app that
-talks JSONRPC to an SCA service.  
+Hello World Dojo RPC Sample
+===========================
+This sample demostrates the SCA JSONRPC binding using a simple web app that
+uses the RPC support of the Dojo Toolkit to an SCA service.  
 
 The README in the samples directory (the directory above this) provides 
 general instructions about building and running samples. Take a look there 
@@ -9,7 +9,7 @@
 
 As this sample provides a web app there is a manual step where the WAR file
 that contains the sample is copied to your web app container. If you just want 
-to give this sample a go deploy the WAR file (target/sample-helloworld-jsonrpc.war)
+to give this sample a go deploy the WAR file (target/sample-helloworld-dojo.war)
 to you web application server. 
 
 Once the web app is deployed use your browser to visit the following URL;
@@ -18,6 +18,9 @@
 
 The port and hostname will of course vary depending on your local installation. 
 
+See also the similar helloworld-jsonrpc sample which also uses the SCA JSONRPC binding
+but uses SCA scaDomain.js script on the client instead of the Dojo Toolkit. 
+
 Sample Overview
 ---------------
 The sample provides a single service which with an operation that reflects 
@@ -25,7 +28,7 @@
 binding. The web app provided shows how the service can be called either via 
 via the SCA provided JSON client or by using the DOJO toolkit. 
 
-helloworl-jsonrpc/
+helloworl-dojo/
   src/
     main/
       java/
@@ -56,10 +59,10 @@
 With the binary distribution the sample can be built using Ant as 
 follows
 
-cd helloworld-jsonrpc
+cd helloworld-dojo
 ant package
 
-This should result in a war file (sample-helloworld-jsonrpc.war) in the target 
+This should result in a war file (sample-helloworld-dojo.war) in the target 
 directory. Copy this war file to your web app deployment directory in your
 web app container. 
 
@@ -81,7 +84,7 @@
 With either the binary or source distributions the sample can be built and run 
 using Maven as follows. 
 
-cd helloworld-jsonrpc 
+cd helloworld-dojo 
 mvn
 
 Again this should result in a war file (sample-helloworld-dojo.war) in the target 

Modified: incubator/tuscany/branches/sca-java-0.91/samples/helloworld-jsonrpc/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-0.91/samples/helloworld-jsonrpc/README?view=diff&rev=553000&r1=552999&r2=553000
==============================================================================
--- incubator/tuscany/branches/sca-java-0.91/samples/helloworld-jsonrpc/README (original)
+++ incubator/tuscany/branches/sca-java-0.91/samples/helloworld-jsonrpc/README Tue Jul  3 15:14:36 2007
@@ -35,7 +35,6 @@
       resources/
         jsonrpc.composite             - the SCA assembly for this sample
       webapp
-        dojo/                         - the Dojo toolkit
         META-INF/
           sca-contribution.xml        - specifies the composite to be deployed
         WEB-INF/



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org