You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ri...@apache.org on 2006/11/01 01:28:05 UTC
svn commit: r469718 - in /incubator/tuscany/branches/sca-java-M2/samples:
css/base.css standalone/helloworldwsclient-async/readme.html
webapp/helloworldws-async/readme.html
Author: rineholt
Date: Tue Oct 31 16:28:04 2006
New Revision: 469718
URL: http://svn.apache.org/viewvc?view=rev&rev=469718
Log:
fix up as suggested by IRC chat
Modified:
incubator/tuscany/branches/sca-java-M2/samples/css/base.css
incubator/tuscany/branches/sca-java-M2/samples/standalone/helloworldwsclient-async/readme.html
incubator/tuscany/branches/sca-java-M2/samples/webapp/helloworldws-async/readme.html
Modified: incubator/tuscany/branches/sca-java-M2/samples/css/base.css
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/samples/css/base.css?view=diff&rev=469718&r1=469717&r2=469718
==============================================================================
--- incubator/tuscany/branches/sca-java-M2/samples/css/base.css (original)
+++ incubator/tuscany/branches/sca-java-M2/samples/css/base.css Tue Oct 31 16:28:04 2006
@@ -8,8 +8,22 @@
font-weight: bold;
}
- h2 { text-align: center;
+ h3 { text-align: center;
text-decoration: underline;
padding-bottom: 30px;
+ font-size: 150%;
+ }
+
+ p { padding-left: 1em;
+ }
+
+ pre { padding-left: 2em;
+ }
+
+ table.extensiontable { margin-left: 10em;
+ margin-right: 10em;
+ }
+
+ h4 { font-size: 110%;
}
Modified: incubator/tuscany/branches/sca-java-M2/samples/standalone/helloworldwsclient-async/readme.html
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/samples/standalone/helloworldwsclient-async/readme.html?view=diff&rev=469718&r1=469717&r2=469718
==============================================================================
--- incubator/tuscany/branches/sca-java-M2/samples/standalone/helloworldwsclient-async/readme.html (original)
+++ incubator/tuscany/branches/sca-java-M2/samples/standalone/helloworldwsclient-async/readme.html Tue Oct 31 16:28:04 2006
@@ -1,67 +1,130 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head><!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
- <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
- <meta http-equiv="Content-Style-Type" content="text/css">
-
-
-
- <title>Tuscany Hello World Async Client Sample</title><!-- LINK rel="stylesheet" href="ait.css" type="text/css" --><link rel="stylesheet" href="../../css/base.css" type="text/css"></head>
-
-
-
-<body>
- <h2>Tuscany Hello World Async Client Sample</h2>
-
- <h3>Overview</h3>
-
- <p>The Tuscany helloworld sample shows using the Tuscany SCA
- runtime in a J2SE environment loading a component that
- implements asynchronous web service call.</p>
-
- <h3>Location</h3>This sample is located in the
- samples\standalone\helloworldwsclient-async directory. All the
- following commands should be issued while working in the sample
- directory.<br>
- <br>
-
- <h3>Building</h3>Obtain <a href="http://java.sun.com/javase/downloads/index.jsp" target="_blank">JDK 5.0</a> and <a href="http://maven.apache.org/download.html" target="_blank">Maven
- 2.0.4</a> and set up according to their documentation.<br>
- To build issue :<br>
- <pre><code>mvn</code>
-</pre>
-
- <h3>Setup</h3>This sample depends on the <a href="..%5C..%5Cwebapp%5Chelloworldws-async%5Creadme.html" target="_blank">Tuscany Hello World WS sample</a> already running to
- execute successfully<br>
- Set up the standalone runtime environment using the
- following:<br>
- <pre><code>mvn dependency:unpack </code>
-</pre>
-
- <h3>Running</h3>
- <p>Execute the following command: (<span style="font-style: italic;">cut and paste to command line</span>)</p>
- <pre><code>java -jar target\distribution\bin\launcher.jar target\sample-helloworldwsclient-async-1.0-incubator-M2.jar</code>
-</pre>
-
- <h3>Results</h3>
-
- <p>The sample when run should simply display to the standard
- output:<br>
- <code>Hello World</code></p>
-</body></html>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
+<html>
+<head>
+ <meta http-equiv="Content-Type" content=
+ "text/html; charset=us-ascii">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+
+ <title>Tuscany Hello World Async Client Sample</title>
+ <!-- LINK rel="stylesheet" href="ait.css" type="text/css" -->
+ <link rel="stylesheet" href="../../css/base.css" type="text/css">
+</head>
+
+<body>
+ <h3>Tuscany Hello World Async Client Sample</h3>
+
+ <h4>Overview</h4>
+
+ <p>The Tuscany helloworld sample shows using the Tuscany SCA
+ runtime in a J2SE environment loading a component that
+ implements asynchronous web service call.</p>
+
+ <h4>Location</h4>
+
+ <p>This sample is located in the
+ samples\standalone\helloworldwsclient-async directory. All the
+ following commands should be issued while working in the sample
+ directory.</p>
+
+ <h4>Prerequisites</h4>
+
+ <p>Obtain the following prerequisites and install according to
+ their documentation.</p>
+
+ <ul>
+ <li><a href="http://java.sun.com/javase/downloads/index.jsp"
+ target="_blank">JDK 5.0</a></li>
+
+ <li><a href="http://maven.apache.org/download.html" target=
+ "_blank">Maven 2.0.4</a></li>
+ </ul>
+
+ <h4>Building</h4>
+
+ <p>To build the sample issue :</p>
+ <pre>
+<code>mvn<br></code>
+</pre>
+
+ <p>The result after executing is in the <span style=
+ "font-weight: bold;">target</span> subdirectory the <span style=
+ "font-weight: bold;">sample-helloworldwsclient-async-1.0-incubator-M2.jar</span></p>
+
+ <h4>Setup</h4>
+
+ <p>This sample depends on the <a href=
+ "../../webapp/helloworldws-async/readme.html" target=
+ "_blank">Tuscany Hello World WS sample</a> already running to
+ execute successfully</p>
+
+ <p>Set up the Tuscany standalone runtime environment using the
+ following command:</p>
+ <pre>
+<code>mvn dependency:unpack <br></code>
+</pre>
+
+ <p>After completion there should be a <span style=
+ "font-weight: bold;">target\distribution</span> subdirectory
+ created that has the Tuscany standalone runtime.</p>
+
+ <p>Each sample can require one or more Tuscany runtime
+ extensions. For this sample copy from <span style=
+ "font-weight: bold;">target\distribution\contrib</span> to the
+ <span style=
+ "font-weight: bold;">target\distribution\extensions</span>
+ directory the following extensions:</p>
+
+ <table style="text-align: left;" class="extensiontable" border=
+ "1" cellpadding="2" cellspacing="2">
+ <tbody>
+ <tr>
+ <td class="extensiontable">axis2-1.0-incubator-M2.jar</td>
+
+ <td class="extensiontable" align="undefined" valign=
+ "undefined">Axis webservices binding</td>
+ </tr>
+
+ <tr>
+ <td class="extensiontable" align="undefined" valign=
+ "undefined">databinding-sdo-1.0-incubator-M2.jar</td>
+
+ <td class="extensiontable" align="undefined" valign=
+ "undefined">SDO data biinding.</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <h4>Running</h4>
+
+ <p>Execute the following command: (<span style=
+ "font-style: italic;">cut and paste to command line</span>)</p>
+ <pre>
+<code>java -jar target/distribution/bin/launcher.jar target/sample-helloworldwsclient-async-1.0-incubator-M2.jar</code>
+</pre>
+
+ <h4>Results</h4>
+
+ <p>The sample when run should simply display to the standard
+ output:<br>
+ <samp>Hello World</samp></p>
+</body>
+</html>
Modified: incubator/tuscany/branches/sca-java-M2/samples/webapp/helloworldws-async/readme.html
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/samples/webapp/helloworldws-async/readme.html?view=diff&rev=469718&r1=469717&r2=469718
==============================================================================
--- incubator/tuscany/branches/sca-java-M2/samples/webapp/helloworldws-async/readme.html (original)
+++ incubator/tuscany/branches/sca-java-M2/samples/webapp/helloworldws-async/readme.html Tue Oct 31 16:28:04 2006
@@ -1,82 +1,110 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-
-<html>
-<head>
- <meta http-equiv="Content-Type" content=
- "text/html; charset=us-ascii">
- <meta http-equiv="Content-Style-Type" content="text/css">
-
- <title>Tuscany Hello World Async Sample</title>
- <link rel="stylesheet" href="../../css/base.css" type="text/css">
-</head>
-
-<body>
- <!-- LINK rel="stylesheet" href="ait.css" type="text/css" -->
- <!-- maven --><!-- end maven -->
-
- <h2>Tuscany Hello World Async Sample</h2>
-
- <h3>Overview</h3>
-
- <p>The Tuscany Tuscany Hello World Aysnc sample application
- shows using the Tuscany SCA runtime in a web service application.
- The service is executed asynchronisely.</p>
-
- <h3>Location</h3>This sample is located in the
- <a href=".">samples\webapp\helloworldws-async</a>
- directory.
-
- <h3>Building</h3>Obtain <a href=
- "http://java.sun.com/javase/downloads/index.jsp" target=
- "_blank">JDK 5.0</a> and <a href=
- "http://maven.apache.org/download.html" target="_blank">Maven
- 2.0.4</a> and set up according to their documentation.<br>
- To build issue :<br>
- <pre>
-<code>mvn package</code><br>
-</pre>
-
- <h3>Setup</h3>Obtain <a href=
- "http://tomcat.apache.org/download-55.cgi" target="_blank">Apache
- Tomcat 5.xx</a> latest version binary core distribution. and
- unpack.<br>
- <br>
- If you have enabled remote deployment in Tomcat by adding the
- line:<br>
- <code> <user username="admin" password=""
- roles="manager"/></code><br>
- into <span style="font-style: italic;"><tomcat
- dir></span>\conf\tomcat-users.xml you can deploy the WARs to
- Tomcat using the tomcat-maven-plugin:<br>
- <code>mvn tomcat:deploy</code><br>
- <br>
- Alternatively you can copy the WAR files to Tomcat's webapps
- directory.<br>
- copy target/*.war <span style="font-style: italic;"><tomcat
- dir></span>/webapps/.<br>
-
- <h3>Running</h3>Once you've started your web server, following
- the directions in <a href=
- "../../standalone/helloworldwsclient-async/readme.html" target=
- "_blank">client side demo</a> to execute the service.<br>
- <br>
-</body>
-</html>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
+<html>
+<head>
+ <meta http-equiv="Content-Type" content=
+ "text/html; charset=us-ascii">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+
+ <title>Tuscany Hello World Async Sample</title>
+ <link rel="stylesheet" href="../../css/base.css" type="text/css">
+</head>
+
+<body>
+ <!-- LINK rel="stylesheet" href="ait.css" type="text/css" -->
+ <!-- maven --><!-- end maven -->
+
+ <h3>Tuscany Hello World Async Sample</h3>
+
+ <h4>Overview</h4>
+
+ <p>The Tuscany Tuscany Hello World Aysnc sample application
+ shows using the Tuscany SCA runtime in a web service application.
+ The service is executed asynchronisely.</p>
+
+ <h4>Location</h4>
+
+ <p>This sample is located in the <a href=
+ ".">samples\webapp\helloworldws-async</a> directory. All
+ the following commands should be issued while working in the
+ sample directory. </p>
+
+ <h4>Prerequisites</h4>
+
+ <p>Obtain the following prerequisites and install according to
+ their documentation.</p>
+
+ <ul>
+ <li><a href="http://java.sun.com/javase/downloads/index.jsp"
+ target="_blank">JDK 5.0</a></li>
+
+ <li><a href="http://maven.apache.org/download.html" target=
+ "_blank">Maven 2.0.4</a></li>
+
+ <li><a href="http://tomcat.apache.org/download-55.cgi" target=
+ "_blank">Apache Tomcat 5.xx</a> latest version binary core
+ distribution. </li>
+ </ul>
+
+ <h4>Building</h4>
+
+ <p>To build the sample issue :</p>
+ <pre>
+<code>mvn</code>
+</pre>
+
+ <p>This should result in the creation of the war file
+ <span style="font-weight: bold;">target\sample-helloworldws-async-1.0-incubator-M2.war</span></p>
+
+ <h4>Setup</h4>
+
+ <p>If you have enabled remote deployment in Tomcat by adding the
+ line:</p>
+
+ <p><code><user username="admin" password=""
+ roles="manager"/></code></p>
+
+ <p>into <span style="font-style: italic;"><tomcat
+ dir></span>\conf\tomcat-users.xml you can deploy the WARs to
+ Tomcat using the tomcat-maven-plugin:</p>
+
+ <p><code>mvn tomcat:deploy</code></p>
+
+ <p>Alternatively you can copy the WAR files to Tomcat's webapps
+ directory. Copy <span style=
+ "font-weight: bold;">target\sample-helloworldws-async-1.0-incubator-M2.war</span>
+ <span style="font-style: italic;"><tomcat
+ dir></span>/webapps/.</p>
+
+ <h4>Running</h4>
+
+ <p>Start the tomcat server by issuing the following command ind
+ the <span style="font-style: italic;"><tomcat
+ dir></span>\bin directory:</p>
+
+ <p><code>starup</code></p>
+
+ <p>Once you've started your web server, following the directions
+ in <a href=
+ "../../standalone/helloworldwsclient-async/readme.html" target=
+ "_blank">client side demo</a> to execute the service.</p><br>
+</body>
+</html>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org