You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sv...@apache.org on 2006/11/02 07:57:11 UTC

svn commit: r470249 - /incubator/tuscany/branches/sca-java-M2/samples/standalone/helloworldRMIService/readme.html

Author: svkrish
Date: Wed Nov  1 22:57:10 2006
New Revision: 470249

URL: http://svn.apache.org/viewvc?view=rev&rev=470249
Log:
Fixed review comments in Readme (review comments came out or IRC chat on 31st Oct 2006)

Modified:
    incubator/tuscany/branches/sca-java-M2/samples/standalone/helloworldRMIService/readme.html

Modified: incubator/tuscany/branches/sca-java-M2/samples/standalone/helloworldRMIService/readme.html
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/samples/standalone/helloworldRMIService/readme.html?view=diff&rev=470249&r1=470248&r2=470249
==============================================================================
--- incubator/tuscany/branches/sca-java-M2/samples/standalone/helloworldRMIService/readme.html (original)
+++ incubator/tuscany/branches/sca-java-M2/samples/standalone/helloworldRMIService/readme.html Wed Nov  1 22:57:10 2006
@@ -17,15 +17,15 @@
  * under the License.    
   -->
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta http-equiv="Content-Style-Type" content="text/css"><title>Tuscany
-Hello World Web Service Sample</title><!-- LINK rel="stylesheet" href="ait.css" type="text/css" --><!-- maven -->
+Hello World RMI Service Sample</title><!-- LINK rel="stylesheet" href="ait.css" type="text/css" --><!-- maven -->
 <style type="text/css" media="all">
 @import url("../../../../css/maven-base.css");
 @import url("../../../../css/maven-theme.css");
 @import url("../../../../css/site.css");
 </style><link rel="stylesheet" href="./css/print.css" type="text/css" media="print"><!-- end maven --></head>
 <body>
-<H1>Tuscany HelloWorld - RMI Service Sample</H1>
-<H2>Overview</H2>
+<H3>Tuscany HelloWorld - RMI Service Sample</H3>
+<H3>Overview</H3>
 <TABLE border="0">
 	<TBODY>
 		<TR>
@@ -33,16 +33,16 @@
 		</TR>
 	</TBODY>
 </TABLE>
-<H2>Location</H2>
-<P>The source for this sample is located &nbsp;in the paths - <I>samples/standalone/helloworldRMIService</I> <I></I>
+<H3>Location</H3>
+<P>The source for this sample is located &nbsp;in the paths - <I>samples\standalone\helloworldRMIService</I> <I></I>
  of the source
 distribution.<BR>
 <BR>If there is binary distribution available for these samples, then you may find these samples packaged as <I>sample-helloworld-rmiService.jar.</I></P>
-<H2>Building &amp; Running the HelloWorldRMIService Sample Source</H2>
+<H3>Building &amp; Running the HelloWorldRMIService Sample Source</H3>
 <P>If you are working with a source distribution, then you must first build the source of this sample. <BR>- Ensure that you have Java 5 installed on your system.<BR>- Next, you must have Maven 2.0.4 installed on your system. Look up
 http://maven.apache.org/download.html for downloading and installing
 Maven.</P>
-<H3>Building the HelloWorldRMIService Sample</H3>
+<H4>Building the HelloWorldRMIService Sample</H4>
 <TABLE border="0">
 	<TBODY>
 		<TR>
@@ -50,20 +50,20 @@
 			<TD valign="top">Having installed Maven, open a command line console and switch over to the directory on your local
 system, where you have extracted the source.<BR>- 
 			  Now switch futher into
-the subdirectory <I>samples/standalone/helloworldRMIService. </I>Within
+the subdirectory <I>samples\standalone\helloworldRMIService. </I>Within
 this directory execute the following command<TABLE border="0">
 				<TBODY>
 					<TR>
 						<TD><FONT color="purple">&gt;</FONT></TD>
-						<TD><FONT color="purple" face="Courier New">mvn install</FONT></TD>
+						<TD><FONT color="purple" face="Courier New">mvn</FONT></TD>
 					</TR>
 				</TBODY>
-			</TABLE>This will build the <I>helloworldRMIService</I> sample, package a JAR file for the composite and install it in your local maven repository for use by other samples..</TD>
+			</TABLE>This will build the <I>helloworldRMIService</I> sample, package a JAR file for the composite and make it available in the sub-directory <I>samples\standalone\helloworldRMIService/target</I></TD>
 			<TD></TD>
 		</TR>
 	</TBODY>
 </TABLE>
-<H3>Setting up Tuscany Standalone Runtime </H3>
+<H4>Setting up Tuscany Standalone Runtime </H4>
 <P>To run these samples you need the Tuscany Standalone Runtime. This is
 available as a distribution that can be conveniently unpacked and setup
 in the samples directory itself. For this, do the following: -</P>
@@ -71,7 +71,7 @@
 	<TBODY>
 		<TR>
 			<TD valign="top" align="right">i) </TD>
-			<TD>From the directory <I>samples/standalone/helloworldRMIService</I>
+			<TD>From the directory <I>samples\standalone\helloworldRMIService</I>
  execute the following command<TABLE border="0">
 				<TBODY>
 					<TR>
@@ -80,18 +80,18 @@
 					</TR>
 				</TBODY>
 			</TABLE>
-			This will unpack the Tuscany Standalone Runtime Distribution to the <I>target/distribution </I>sub-directory within the present working directory - <I>samples/standalone/helloworldRMIService</I></TD>
+			This will unpack the Tuscany Standalone Runtime Distribution to the <I>target\distribution </I>sub-directory within the present working directory - <I>samples\standalone\helloworldRMIService</I></TD>
 		</TR>
 		<TR>
 			<TD valign="top">ii)</TD>
 			<TD>Since this sample would require the RMI Binding Extension of Tuscany you must copy the RMI Extension JAR from the <I>contrib </I>sub-directory into the <I>extensions </I>directory of the distribution. ie. execute the following from the 
-			<I>samples/standalone/helloworldRMIService </I>sub-directory: -
+			<I>samples\standalone\helloworldRMIService </I>sub-directory: -
 			<TABLE>
 				<TBODY>
 					<TR>
 						<TD valign="top"><FONT color="purple">&gt;</FONT></TD>
-						<TD><FONT color="purple" face="Courier New">copy target/distribution/contrib/rmi-1.0-incubator-M2.jar <FONT
-							color="purple" face="Courier New">target/distribution/extensions/rmi-1.0-incubator-M2.jar</FONT></FONT></TD>
+						<TD><FONT color="purple" face="Courier New">copy target\distribution\contrib\rmi-1.0-incubator-M2.jar <FONT
+							color="purple" face="Courier New">target\distribution\extensions\rmi-1.0-incubator-M2.jar</FONT></FONT></TD>
 					</TR>
 				</TBODY>
 			</TABLE>
@@ -101,14 +101,14 @@
 		</TR>
 	</TBODY>
 </TABLE>
-<H3><BR>
-Running the HelloWorldRMIService Sample</H3>
+<H4><BR>
+Running the HelloWorldRMIService Sample</H4>
 <P>Now that the sample source has been built and the Tuscany Standalone Runtime setup, you may run the HelloWorldRMIService sample as follows: -</P>
 <TABLE border="0">
 	<TBODY>
 		<TR>
 			<TD valign="top">i) </TD>
-			<TD>Switch to the <I>samples/standalone/helloworldRMIService/target/distribution </I>sub-directory and execute the following command: <TABLE>
+			<TD>Switch to the <I>samples\standalone\helloworldRMIService\target\distribution </I>sub-directory and execute the following command: <TABLE>
 				<TBODY>
 					<TR>
 						<TD><FONT color="purple">&gt;</FONT></TD>
@@ -143,8 +143,8 @@
 		</TR>
 	</TBODY>
 </TABLE>
-<H3><BR>
-Trying the HelloWorldRMIService Sample</H3>
+<H4><BR>
+Trying the HelloWorldRMIService Sample</H4>
 <P>With the HelloWorldRMIService started up and running you may try it out by writing your own RMI Client that can invoke the HelloWorldRMIService. The details of the  hostname, port and server name which your client should look up is as follows: -</P>
 <TABLE border="0">
 	<TBODY>
@@ -167,7 +167,7 @@
 the HelloWorldRMIService sample and then running this sample.</I></P>
 <P><B><I><FONT color="maroon" size="+1">Note : You may also try the HelloWorldRMIService
 Sample by running the HelloWorldRMIReference Sample.</FONT></I></B><BR>
-</P><H2>Code Overview</H2>
+</P><H3>Code Overview</H3>
 The source files are physically organized as shown below:<br>
 <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"><tbody><tr><td>
 <pre>
@@ -180,7 +180,8 @@
         +----META-INF
              +----sca
                      default.scdl</pre></td></tr></tbody></table>
-<B> <BR>RMI Service Sample</B>
+<B> <BR>
+<BR><H4>RMI Service Sample</H4></B>
 <TABLE border="1">
 	<TBODY>
 		<TR>



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