tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adrianocrest...@apache.org
Subject svn commit: r553085 - in /incubator/tuscany/java/das/samples: Readme.htm customer/readme.htm
Date Wed, 04 Jul 2007 05:38:03 GMT
Author: adrianocrestani
Date: Tue Jul  3 22:38:03 2007
New Revision: 553085

URL: http://svn.apache.org/viewvc?view=rev&rev=553085
Log:
- detailed customer sample readme
- added asf header to samples/readme.htm file

Modified:
    incubator/tuscany/java/das/samples/Readme.htm
    incubator/tuscany/java/das/samples/customer/readme.htm

Modified: incubator/tuscany/java/das/samples/Readme.htm
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/das/samples/Readme.htm?view=diff&rev=553085&r1=553084&r2=553085
==============================================================================
--- incubator/tuscany/java/das/samples/Readme.htm (original)
+++ incubator/tuscany/java/das/samples/Readme.htm Tue Jul  3 22:38:03 2007
@@ -7,6 +7,25 @@
 	<META NAME="CREATED" CONTENT="20070703;53381">
 	<META NAME="CHANGEDBY" CONTENT="a a">
 	<META NAME="CHANGED" CONTENT="20070703;190294">
+<!-- <pre><a name="header-text">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
+&quot;License&quot;); 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
+&quot;AS IS&quot; 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.   </a></pre>
+
+-->
+
 </HEAD>
 <BODY LANG="en-US" DIR="LTR">
 <H1 LANG="pt-BR">DAS Samples</H1>

Modified: incubator/tuscany/java/das/samples/customer/readme.htm
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/das/samples/customer/readme.htm?view=diff&rev=553085&r1=553084&r2=553085
==============================================================================
--- incubator/tuscany/java/das/samples/customer/readme.htm (original)
+++ incubator/tuscany/java/das/samples/customer/readme.htm Tue Jul  3 22:38:03 2007
@@ -1,14 +1,13 @@
-<html xmlns:v="urn:schemas-microsoft-com:vml"
-xmlns:o="urn:schemas-microsoft-com:office:office"
-xmlns:w="urn:schemas-microsoft-com:office:word"
-xmlns:st1="urn:schemas-microsoft-com:office:smarttags"
-xmlns="http://www.w3.org/TR/REC-html40">
-
-<head>
-<title>Tuscany RDB DAS Sample</title>
-
-<!--
-<pre><a name="header-text">Licensed to the Apache Software Foundation (ASF) under
one
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
+	<TITLE>Tuscany RDB DAS Sample</TITLE>
+	<META NAME="GENERATOR" CONTENT="BrOffice.org 2.0  (Win32)">
+	<META NAME="CREATED" CONTENT="20070704;1002817">
+	<META NAME="CHANGEDBY" CONTENT="a a">
+	<META NAME="CHANGED" CONTENT="20070704;1252788">
+	<!-- <pre><a name="header-text">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
@@ -26,13 +25,107 @@
 under the License.   </a></pre>
 
 -->
-
-<h1>RDB DAS Customer Sample</h1>
-
-<p>This stand-alone sample demonstrates the RDB Data Access Service in the context
of a simple java application.</p>
-
-<p>So, this simple application covers all CRUD operations. The sample runs on Eclipse
or from the command line, and employs a Derby database accessed via a DriverManager.</p>
-
-</body>
-
-</html>
+</HEAD>
+<BODY LANG="en-US" DIR="LTR">
+<H1 LANG="pt-BR">RDB DAS Customer Sample</H1>
+<h2>Introduction</h2>
+<P LANG="pt-BR">This stand-alone sample demonstrates the RDB Data
+Access Service in the context of a simple java application.</P>
+<h2>Building and Running</h2>
+<UL>
+	<LI><P LANG="pt-BR">Apache Ant latest version installed.</P>
+	<UL>
+		<UL>
+			<LI><P LANG="pt-BR">Download Apache Ant latest version on and
+			extract into folder &lt;apache_ant_folder&gt;.</P>
+			<LI><P LANG="pt-BR">Add &lt;apache_ant_folder&gt;/bin directory to
+			your OS path variable.</P>
+		</UL>
+		<LI><P LANG="pt-BR">On console change the actual directory to
+		&lt;tuscany_das_java_distribution&gt;/samples/customer/ and execute
+		ant application:</P>
+		<P LANG="pt-BR">&lt;tuscany_das_java_distribution&gt;/samples/customer/
+		&gt; ant</P>
+	</UL>
+</UL>
+<P LANG="pt-BR">The sample will automatically compile, run and output
+the following:</P>
+<P LANG="pt-BR" STYLE="margin-left: 2cm; margin-bottom: 0cm"><FONT SIZE=1 STYLE="font-size:
10pt">Buildfile:
+build.xml</FONT>
+<BR><br>
+<FONT SIZE=2 STYLE="font-size: 10pt">run:</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java] connection info from
+config***************</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]
+dbName:jdbc:derby:target/dastest; create = true user: password:</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]
+******************************************</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java] Setting up for derby run!</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java] Dropping tables</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java] Dropping procedures</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java] Creating tables</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java] Creating procedures</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java] Inserting data in tables</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java] Database setup complete!</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java] log4j:WARN No appenders
+could be found for logger (org.apache.tuscan</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">y.das.rdb.impl.Parameters).</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java] log4j:WARN Please
+initialize the log4j system properly.</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java] Result:select all
+customers</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]    ID:1 LASTNAME:John
+ADDRESS:USA</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]    ID:2 LASTNAME:Amita
+ADDRESS:INDIA</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]    ID:3 LASTNAME:Patrick
+ADDRESS:UK</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]    ID:4 LASTNAME:Jane
+ADDRESS:UN</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java] Result:insert new customer</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]    ID:1 LASTNAME:John
+ADDRESS:USA</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]    ID:2 LASTNAME:Amita
+ADDRESS:INDIA</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]    ID:3 LASTNAME:Patrick
+ADDRESS:UK</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]    ID:4 LASTNAME:Jane
+ADDRESS:UN</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]    ID:5 LASTNAME:Jenny
+ADDRESS:USA</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java] Result:update first
+customer</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]    ID:1 LASTNAME:BlueBerry
+ADDRESS:USA</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]    ID:2 LASTNAME:Amita
+ADDRESS:INDIA</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]    ID:3 LASTNAME:Patrick
+ADDRESS:UK</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]    ID:4 LASTNAME:Jane
+ADDRESS:UN</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]    ID:5 LASTNAME:Jenny
+ADDRESS:USA</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java] Result:delete last
+customer</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java] Deleting customer named:
+Jenny</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]    ID:1 LASTNAME:BlueBerry
+ADDRESS:USA</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]    ID:2 LASTNAME:Amita
+ADDRESS:INDIA</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]    ID:3 LASTNAME:Patrick
+ADDRESS:UK</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">[java]    ID:4 LASTNAME:Jane
+ADDRESS:UN</FONT><br><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">BUILD
+SUCCESSFUL</FONT><br>
+<FONT SIZE=1 STYLE="font-size: 10pt">Total
+time: 29 seconds</FONT><br>
+<P LANG="pt-BR" STYLE="margin-left: 2cm; margin-bottom: 0cm"><BR>
+</P>
+<P LANG="pt-BR" STYLE="margin-bottom: 0cm"><FONT SIZE=3>Observation:
+The build.xml ant file only works on DAS Java binary distribution.</FONT></P>
+<P LANG="pt-BR" STYLE="margin-left: -2cm"> 
+</P>
+</BODY>
+</HTML>
\ No newline at end of file



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


Mime
View raw message