From bdd0a41aed7edf21ec2a65cfa17a86af2ef8c48a Mon Sep 17 00:00:00 2001 From: dims Date: Tue, 17 Jun 2008 00:23:01 +0000 Subject: Move Tuscany from Incubator to top level. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@668359 13f79535-47bb-0310-9956-ffa450edef68 --- .../samples/advanced-webapp/readme.htm | 204 +++++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 branches/das-java-beta2/samples/advanced-webapp/readme.htm (limited to 'branches/das-java-beta2/samples/advanced-webapp/readme.htm') diff --git a/branches/das-java-beta2/samples/advanced-webapp/readme.htm b/branches/das-java-beta2/samples/advanced-webapp/readme.htm new file mode 100644 index 0000000000..1ddba99e5e --- /dev/null +++ b/branches/das-java-beta2/samples/advanced-webapp/readme.htm @@ -0,0 +1,204 @@ + + + + + +Tuscany DAS Sample - Advanced webapp + + + + + + +

Advanced DAS web application Sample

+ +
+ +

+This web sample demonstrates DAS advanced features in the context of a simple web application using Ajax.
+The application user can navigate the menu to see examples of different DAS features.
+The application uses "dbConfig" utility to create canned Derby database with required tables and populate initial data in them. For refreshing database data to initial state, user can click on Refresh Button.
+

+ + + +

+In future more features will get added. +

+ + +

Running the sample

+ +

+There are two options for running this sample: + +

+ +

Running from Tomcat configured by the build

+ +

+You need to download the Tuscany RDB DAS source distribution and run maven build to use this option. When you build using maven from the source root {SRC_ROOT} directory, the sample war file is created under {SRC_ROOT}/samples/sample-ajax-das/target. This sample application is deployed to an instance of Tomcat as part of our automated sample testing. For this, follow instructions from reademe.htm from {SRC_ROOT}/samples/testing/tomcat. This will in-effect run the htmlunit tests on the sample. The sample deployed on Tomcat instance will be ready this way and you can just point your browser to http://localhost:8080/sample-advanced-webapp/ to test further. +

+ +

Deploying the sample-ajax-das WAR into a Tomcat you configure yourself

+ +

+Alternatively, you can deploy the sample to your own configured Tomcat installation by following the instructions below.
+These instructions assume that you have either : +

+see the following link to more details steps on how to build DAS Sample applications http://incubator.apache.org/tuscany/das-java-developer-guide.html . +

+ +

Set Up - Derby

+ + + +

Set Up - MySQL

+ + + + +

Sample Architecture

+ +

The design is modular and reusable by other web samples. There are java servlet, other java classes, jsp, javascript, xml, xsl, css and html files.

+ +

Client Side Files

+ +

Javascripts

+ +

+ + + +

Used for menu/submenu rendering, is quite generic and can be used to display any menu.

+ +

HTMLs & jsps (DAS specific files)

+ + + + +

Serverside files

+ + \ No newline at end of file -- cgit v1.2.3