You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2006/11/18 00:58:21 UTC
svn commit: r476377 -
/incubator/tuscany/sandbox/rfeng/samples.M2/mortgage/src/main/resources/doc/readme.html
Author: rfeng
Date: Fri Nov 17 15:58:20 2006
New Revision: 476377
URL: http://svn.apache.org/viewvc?view=rev&rev=476377
Log: (empty)
Modified:
incubator/tuscany/sandbox/rfeng/samples.M2/mortgage/src/main/resources/doc/readme.html
Modified: incubator/tuscany/sandbox/rfeng/samples.M2/mortgage/src/main/resources/doc/readme.html
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/rfeng/samples.M2/mortgage/src/main/resources/doc/readme.html?view=diff&rev=476377&r1=476376&r2=476377
==============================================================================
--- incubator/tuscany/sandbox/rfeng/samples.M2/mortgage/src/main/resources/doc/readme.html (original)
+++ incubator/tuscany/sandbox/rfeng/samples.M2/mortgage/src/main/resources/doc/readme.html Fri Nov 17 15:58:20 2006
@@ -49,17 +49,17 @@
</ul>
<h4>The business scenario</h4>
-The "loan approval" application accepts a mortgage request including the customer's
-details and the requested loan amount. It first checks the credit of the customer to
-make sure the credit score meets the minimum requirement. The interest rate is
-determined based on the principal requested, the term for the loan and the customers
-home state. It then uses a mortgage calculator to calculate the ratio by dividing
-potential monthly payment by the customer's income. The ratio and credit score are
-passed to perform the risk assessment which makes the final decision.<p>
-<img src="mortgage_scenario.png"/>
-
+The "loan approval" application accepts a mortgage request including the
+customer's details and the requested loan amount. It first checks the
+credit of the customer to make sure the credit score meets the minimum
+requirement. The interest rate is determined based on the principal
+requested, the term for the loan and the customers home state. It then
+uses a mortgage calculator to calculate the ratio by dividing potential
+monthly payment by the customer's income. The ratio and credit score are
+passed to perform the risk assessment which makes the final decision.
+<p><img src="mortgage_scenario.png" />
<h4>Packaging structure</h4>
-<img src="mortgage_package2.png"/>
+<img src="mortgage_package2.png" />
<h4>Building</h4>
@@ -105,5 +105,32 @@
<p>The sample when run should simply display to the standard output:<br>
<samp> <br>
Approved </samp></p>
+
+We have two versions of the CreditCheck web service implementation in this sample application:
+<ul>
+<li>a web service developed with Apache axis2 1.1 release. It's packaged as an Axis2 aar.
+<li>a SCA component exposed as a web service. It's packaged as a WAR.
+</ul>
+
+<h4>Deploy the Axis2 CreditCheck web service to Tomcat</h4>
+<ol>
+ <li>Download the WAR (Web Archive) ditribution from <a
+ href="http://ws.apache.org/axis2/download/1_1/download.cgi">Apache
+ Axis2 1.1 release download site</a>.
+ <li>Copy axis2.war to <tomcat_home>\webapps.
+ <li>Start Tomcat so that axis2.war get deployed to
+ <tomcat_home>\webapps\axis2.
+ <li>Copy creditws-axis2\build\lib\CreditCheckService.aar to
+ <tomcat_home>\webapps\axis2\WEB-INF\services.
+</ol>
+
+<h4>Deploy the CreditComposite to Tomcat</h4>
+<ol>
+ <li>Copy credit.war to <tomcat_home>\webapps.
+ <li>Start Tomcat so that credit.war get deployed to
+ <tomcat_home>\webapps\credit. The CreditCheck web serivice will
+ be up and running.
+</ol>
+
</body>
</html>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org