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/05/16 00:07:37 UTC

svn commit: r406754 - in /incubator/tuscany/java/sampleapps: bigbank/docs/Show.Image.html bigbank/docs/accountfiles.png bigbank/docs/webclientfiles.png bigbank/readme.htm readme.htm

Author: rineholt
Date: Mon May 15 15:07:36 2006
New Revision: 406754

URL: http://svn.apache.org/viewcvs?rev=406754&view=rev
Log:
work in progress

Added:
    incubator/tuscany/java/sampleapps/bigbank/docs/Show.Image.html
    incubator/tuscany/java/sampleapps/bigbank/docs/accountfiles.png   (with props)
    incubator/tuscany/java/sampleapps/bigbank/docs/webclientfiles.png   (with props)
Modified:
    incubator/tuscany/java/sampleapps/bigbank/readme.htm
    incubator/tuscany/java/sampleapps/readme.htm

Added: incubator/tuscany/java/sampleapps/bigbank/docs/Show.Image.html
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/sampleapps/bigbank/docs/Show.Image.html?rev=406754&view=auto
==============================================================================
--- incubator/tuscany/java/sampleapps/bigbank/docs/Show.Image.html (added)
+++ incubator/tuscany/java/sampleapps/bigbank/docs/Show.Image.html Mon May 15 15:07:36 2006
@@ -0,0 +1,22 @@
+<html>
+  <head>
+    <style type="text/css">
+      #image {
+        text-align:center;
+      }
+      #close {
+        text-align:center;
+      }
+    </style>
+  </head>
+  <body>
+    <div id="image">
+    <script language="javascript">
+      var search = document.location.search;
+      var url = search.substring(5,search.length);
+      document.write("<img src='" + url + "' alt='" + url + "'/>");
+    </script>
+    </div>
+    <div id="close"><a href="javascript:window.close()">Close Window</a></div>
+  </body>
+</html>

Added: incubator/tuscany/java/sampleapps/bigbank/docs/accountfiles.png
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/sampleapps/bigbank/docs/accountfiles.png?rev=406754&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/tuscany/java/sampleapps/bigbank/docs/accountfiles.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/tuscany/java/sampleapps/bigbank/docs/webclientfiles.png
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/sampleapps/bigbank/docs/webclientfiles.png?rev=406754&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/tuscany/java/sampleapps/bigbank/docs/webclientfiles.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: incubator/tuscany/java/sampleapps/bigbank/readme.htm
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/sampleapps/bigbank/readme.htm?rev=406754&r1=406753&r2=406754&view=diff
==============================================================================
--- incubator/tuscany/java/sampleapps/bigbank/readme.htm (original)
+++ incubator/tuscany/java/sampleapps/bigbank/readme.htm Mon May 15 15:07:36 2006
@@ -1,71 +1,103 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><head><!-- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable. Licensed 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=iso-8859-1">
-
-  <meta http-equiv="Content-Style-Type" content="text/css">
-  
-
-
-
-  <title>Tuscany Hello World Web Sample</title><!-- LINK rel="stylesheet" href="ait.css" type="text/css" --><!-- maven --><style type="text/css" media="all">
+<script type="text/javascript">
+function expandImage(img,height,width) {
+window.open(img,"Image","menubar=no,resizable=no,status=no,toolbar=no,location=no,height=" + height + ",width=" + width);
+}
+function goURL(url) {
+window.location = url;
+}
+</script><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta http-equiv="Content-Style-Type" content="text/css"><title>Tuscany
+BigBank Sample Application</title><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>
-
-<h2>Tuscany BigBank Sample Application</h2>
-
+</style><link rel="stylesheet" href="./css/print.css" type="text/css" media="print"></head>
+<body><a><!-- LINK rel="stylesheet" href="ait.css" type="text/css" --><!-- maven --><!-- end maven -->
+</a><h2>Tuscany
+BigBank Sample Application</h2>
 <h3>Overview</h3>
-
 <p>The Tuscany BigBank&nbsp;sample application&nbsp;
 shows using the Tuscany SCA runtime to build an&nbsp; financial
 application.</p><h3>Location</h3>This
-sample is located&nbsp;in the&nbsp;<a href=".">sampleapps\bigbank</a> directory. There are two subdirectories in that for the two modules <a href="account" target="_blank">account</a> and <a href="webclient" target="_blank">webclient.</a>
-
-<h3>Setup</h3>The Setup section is not required if you are working from a binary distribution. Set up your server as described in the <a href="../../docs/sampleSetup.htm" target="_blank">Tomcat
+sample is located&nbsp;in the&nbsp;<a href=".">sampleapps\bigbank</a>
+directory. There are two subdirectories in that for the two modules <a href="account" target="_blank">account</a> and <a href="webclient" target="_blank">webclient.</a>
+<h3>Setup</h3>The Setup section is not required if you are
+working from a binary distribution. Set up your server as described in
+the <a href="../../docs/sampleSetup.htm" target="_blank">Tomcat
 Setup</a>. &nbsp;If you are not configuring with the
-acceptance test the server, you will need to add samples\bigbank\account\target\bigbank-account-SNAPSHOT.war
+acceptance test the server, you will need to add
+samples\bigbank\account\target\bigbank-account-SNAPSHOT.war
 and&nbsp;amples\bigbank\webclient\target\bigbank-webclient-SNAPSHOT.war&nbsp;<span style="font-weight: bold;"></span> to your tomcat's
 webapp directory.<br>
-
 <h3>Running</h3>
-
 Once you've started your web server, use your web browser to view the
 following URL <a href="http://localhost:8080/sample-bigbank-webclient-incubating-M1/" target="_blank">http://localhost:8080/sample-bigbank-webclient-incubating-M1/</a><br><br><h3>Introduction</h3>This
-example illustrates using Tuscany runtime in building a&nbsp;finanical
-applciation&nbsp;using SCA programing model. &nbsp;The following key
-concepts are covered:
-<ul><li>&nbsp;<b><i>Component implementations</i></b>. that provide web based&nbsp; html&nbsp;user interface
-	</li><li><b><i>Component implementations</i></b>
-	that provide <b><i>local services</i></b> in Java. Local services
-	implement internal application business logic such as tracking user
-	state and are not exposed remotely.
-	</li><li><b><i>Component implementations</i></b>
-	that have <b><i>configuration properties</i></b> and <b><i>service
-	references</i></b> to other services
-	</li><li><b><i>Components</i></b> that use
-	and <b><i>configure</i></b> <b><i>the properties and references</i></b>
-	of component implementations
-	</li><li><b><i>Entry points</i></b> to
-	publish remotable services via a <b><i>Web Service binding</i></b>.
-	</li><li><b><i>External services</i></b> to
-	consume remotable services via a <b><i>Web Service binding</i></b>
-	</li><li>Assembling implementation, components, entry
-	points and external service into <b><i>modules</i></b>.
-	</li><li>Creating a module and all of its artifacts as
-	part of a <b><i>web application</i></b> to show a front-end access
-	to SCA services<span style="font-style: italic;"><span style="font-weight: bold;"></span></span></li><li><span style="font-style: italic;"><span style="font-weight: bold;"><span style="font-style: italic;"><span style="font-weight: bold;"></span></span></span></span>The use of Data Access services to persist and retrieve Service Data Objects from Apache Derby.</li><li style="text-align: left;">The use of &nbsp;existing Web services in SCA.</li></ul>BigBank
+example illustrates using Tuscany runtime in building
+a&nbsp;finanical applciation&nbsp;using SCA programing model.
+&nbsp;The following key concepts are covered:
+<ul><li>&nbsp;<b><i>Component
+implementations</i></b>. that provide web based&nbsp;
+html&nbsp;user interface </li><li><b><i>Component
+implementations</i></b> that provide <b><i>local
+services</i></b> in Java. Local services implement internal
+application business logic such as tracking user state and are not
+exposed remotely. </li><li><b><i>Component
+implementations</i></b> that have <b><i>configuration
+properties</i></b> and <b><i>service references</i></b>
+to other services </li><li><b><i>Components</i></b>
+that use and <b><i>configure</i></b> <b><i>the
+properties and references</i></b> of component
+implementations </li><li><b><i>Entry points</i></b>
+to publish remotable services via a <b><i>Web Service
+binding</i></b>. </li><li><b><i>External
+services</i></b> to consume remotable services via a <b><i>Web
+Service binding</i></b> </li><li>Assembling
+implementation, components, entry points and external service into <b><i>modules</i></b>.
+</li><li>Creating a module and all of its artifacts as part
+of a <b><i>web application</i></b> to show a
+front-end access to SCA services<span style="font-style: italic;"><span style="font-weight: bold;"></span></span></li><li><span style="font-style: italic;"><span style="font-weight: bold;"><span style="font-style: italic;"><span style="font-weight: bold;"></span></span></span></span>The
+use of Data Access services to persist and retrieve Service Data
+Objects from Apache Derby.</li><li style="text-align: left;">The
+use of &nbsp;existing Web services in SCA.</li></ul>BigBank
 sample provides view account balance, to make deposits and withdrawals
-to purchase and sell stock, to view current stock value.<br>The sample
-is organized into two modules: webclient and account. The webclient
-module functionality is to provide user information and obtain user
-input. The account module is is used to retrieve and store user
-information, account information, current stock information and the
-purchasing and selling of stock. The two modules interact via web
-services through SCA exterenalService and entryPoint.<br><br><div style="text-align: left;"><img style="width: 381px; height: 169px;" alt="Overview of modules." title="Overview of modules." src="docs/modualoverview.png" align="middle"></div>
-</body></html>
\ No newline at end of file
+to purchase and sell stock, to view current stock value.<br>The
+sample is organized into two modules: webclient and account. The
+webclient module functionality is to provide user information and
+obtain user input. The account module is is used to retrieve and store
+user information, account information, current stock information and
+the purchasing and selling of stock. The two modules interact via web
+services through SCA exterenalService and entryPoint.<br><br><div style="text-align: left;">
+<img style="width: 381px; height: 169px;" alt="Overview of modules." title="Overview of modules." src="docs/modualoverview.png" align="middle"><h4>Webclient</h4><br>
+<table style="text-align: left; width: 100%;" border="0" cellpadding="1" cellspacing="0" width="100%"><tbody><tr><td align="left" valign="top" width="*"><a href="javascript:expandImage('docs/Show.Image.html?url=webclientfiles.png',800,500)"><img style="width: 262px; height: 360px;" alt="Webclient files" title="Click to expand" src="docs/webclientfiles.png"></a>&nbsp;<br><div style="text-align: center;"><small><span style="font-style: italic;">click to enlarge</span></small></div></td><td style="text-align: left;" align="left" valign="top" width="80%"><table style="text-align: left; width: 100%;" border="0" cellpadding="1" cellspacing="0"><tbody><tr><td style="width: 10%;">AccountServiceComponentImpl.java</td><td>Implements
+the account service.</td></tr><tr><td>AccountLoginServiceImpl.java</td><td>Implements
+the Logiin service.</td></tr><tr><td>LoginService.java</td><td>Interface
+for a services provided by a login&nbsp; service component.</td></tr><tr><td>ProfileService.java</td><td>Interface
+for a service provided by a profile component.</td></tr><tr><td>ProfileServiceImpl.java</td><td>Implements
+the profile component.</td></tr><tr><td>SimpleLoginServiceImpl.java</td><td>A
+simple in memory login service.</td></tr><tr><td>AccountStatusTag.java</td><td>Implements
+a jsp tag that&nbsp;displayis the account information</td></tr><tr><td>StockStatusTag.java</td><td>Implements
+a jsp tag that displays the stock information.</td></tr><tr><td>LoginBarrierTag.java</td><td>Implements
+a jsp tag that ensures the user is logged in.</td></tr><tr><td>ServiceTag.java</td><td>Places
+an SCA service in the JSP page context.</td></tr><tr><td>FormServlet.java</td><td>Process
+user input and uses the AccountService component.</td></tr><tr><td>LoginServlet.java</td><td>Processes
+logging in and loggout.</td></tr><tr><td>sca.module</td><td>SCA
+component module.</td></tr><tr><td>sca.subsystem</td><td>SCA
+subsystem.</td></tr><tr><td>AccountService.wsdl</td><td>WSDL
+that &nbsp;defines the account service.</td></tr><tr><td>bigbank-tags.tld</td><td>Defines
+the tag libs for the user interface.</td></tr></tbody></table></td></tr></tbody></table>
+<!-- account --><h4>Account</h4>
+<table style="text-align: left; width: 100%;" border="0" cellpadding="1" cellspacing="0" width="100%"><tbody><tr><td align="left" valign="top" width="*"><a href="javascript:expandImage('docs/Show.Image.html?url=accountfiles.png',550,500)"><img style="width: 262px; height: 360px;" alt="Webclient files" title="Click to expand" src="docs/accountfiles.png"></a>&nbsp;<br><div style="text-align: center;"><small><span style="font-style: italic;">click to enlarge</span></small></div></td><td style="text-align: left;" align="left" valign="top" width="80%"><table style="text-align: left; width: 100%;" border="0" cellpadding="1" cellspacing="0"><tbody><tr><td style="width: 10%;">AccountServiceImpl.java</td><td>Implements
+the account service.</td></tr><tr><td>AccountDataService.java</td><td>Implements
+the Logiin service.</td></tr><tr><td>AccountDataServiceDASImpl.java</td><td>Interface
+for a services provided by a login&nbsp; service component.</td></tr><tr><td>AccountDataServiceImpl.java</td><td>Interface
+for a service provided by a profile component.</td></tr><tr><td>AccountDBInit.java</td><td>Implements
+the profile component.</td></tr><tr><td>StockQuote.java</td><td>A
+simple in memory login service.</td></tr><tr><td>StockQuoteService.java</td><td>Implements
+a jsp tag that&nbsp;displayis the account information</td></tr><tr><td>StockQuoteServiceImpl.java</td><td>Implements
+a jsp tag that displays the stock information.</td></tr><tr><td>StockQuoteWebservicexServiceImpl.java</td><td>Implements
+a jsp tag that ensures the user is logged in.</td></tr><tr><td>AccountService.wsdl</td><td></td></tr><tr><td>stockquotes.webservicex.wsdl</td><td></td></tr><tr><td>DasAccountConfiguration.xml</td><td>Places
+an SCA service in the JSP page context.</td></tr><tr><td>sca.module</td><td>Process
+user input and uses the AccountService component.</td></tr><tr><td>sca.subsystem</td><td>Processes
+logging in and loggout.</td></tr><tr><td>web.xml</td><td>sca.module.</td></tr></tbody></table></td></tr></tbody></table>
+</div></body></html>
\ No newline at end of file

Modified: incubator/tuscany/java/sampleapps/readme.htm
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/sampleapps/readme.htm?rev=406754&r1=406753&r2=406754&view=diff
==============================================================================
--- incubator/tuscany/java/sampleapps/readme.htm (original)
+++ incubator/tuscany/java/sampleapps/readme.htm Mon May 15 15:07:36 2006
@@ -1,63 +1,20 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
 <head>
-<!-- Copyright (c) 2005 The Apache Software Foundation or its licensors,
-as applicable. Licensed 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 content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
- 
-  <meta content="text/css" http-equiv="Content-Style-Type">
-  <title>Tuscany Samples</title>
-<!-- LINK rel="stylesheet" href="ait.css" type="text/css" -->
-  <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">
-</head>
-
-<body>
-<h2>Tuscany&nbsp;Sample Applications</h2>
-To set up for &nbsp;the sample read the <a href="../docs/sampleSetup.htm">Sample setup</a><br>
-<br>
-<h3>Sample Summary</h3>
-
-<table style="text-align: left; width: 100%;" border="0" cellpadding="2" cellspacing="2">
-  <caption style="text-decoration: underline;">Tuscany
-samples summary</caption><tbody>
-
-
-
 
+<!-- Copyright (c) 2005 The Apache Software Foundation or its licensors, as applicable. Licensed 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=iso-8859-1">
 
+  <meta http-equiv="Content-Style-Type" content="text/css">
+  <title>Tuscany Hello World Web Sample</title>
 
 
+</head>
 
-    <tr>
-      <td style="vertical-align: top; white-space: nowrap;">bigbank.account&nbsp;</td>
-      <td>Sample
-contains an implementation of the bigbank.account module; see "Building
-Your First Application" document.
-&nbsp;<br>
-      <br>
-      </td>
-    </tr>
 
-    <tr>
-      <td style="vertical-align: top; white-space: nowrap;">bigbank.webclient&nbsp;</td>
-      <td>Sample
-contains an implementation of the bigbank.webclient module; see
-"Building Your First Application" document.
-&nbsp;<br>
-      <br>
-      </td>
-    </tr>
+<body onload="location.href='bigbank/readme.htm'">
+Please see 
+<a href="bigbank/readme.htm" >bigbank/readme.htm</a> 
 
-  </tbody>
-</table>
-<br>
 </body>
 </html>