From 272c01d1369e65413cc9b2b095dab8b6393bea62 Mon Sep 17 00:00:00 2001 From: slaws Date: Tue, 21 Apr 2009 10:40:47 +0000 Subject: Start adding some more JEE samples. No guarantee that these actually work yet as I haven't run them in a JEE runtime but a place to start. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@767108 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/WEB-INF/geronimo-web.xml | 49 +++++++++++++++++++++ .../src/main/webapp/WEB-INF/web.xml | 41 ++++++++++++++++++ .../war-nonenhanced/src/main/webapp/hello.html | 50 ++++++++++++++++++++++ 3 files changed, 140 insertions(+) create mode 100644 branches/sca-java-1.x/itest/contribution-jee-samples/war-nonenhanced/src/main/webapp/WEB-INF/geronimo-web.xml create mode 100644 branches/sca-java-1.x/itest/contribution-jee-samples/war-nonenhanced/src/main/webapp/WEB-INF/web.xml create mode 100644 branches/sca-java-1.x/itest/contribution-jee-samples/war-nonenhanced/src/main/webapp/hello.html (limited to 'branches/sca-java-1.x/itest/contribution-jee-samples/war-nonenhanced/src/main/webapp') diff --git a/branches/sca-java-1.x/itest/contribution-jee-samples/war-nonenhanced/src/main/webapp/WEB-INF/geronimo-web.xml b/branches/sca-java-1.x/itest/contribution-jee-samples/war-nonenhanced/src/main/webapp/WEB-INF/geronimo-web.xml new file mode 100644 index 0000000000..2563c8b7c8 --- /dev/null +++ b/branches/sca-java-1.x/itest/contribution-jee-samples/war-nonenhanced/src/main/webapp/WEB-INF/geronimo-web.xml @@ -0,0 +1,49 @@ + + + + + + test + helloworld-web + 1.0 + car + + + + test + helloworld-ejb + 1.0 + jar + + + + + + helloworld-web + + ejb/HelloworldServiceBean + + test + helloworld-ejb + 1.0 + HelloworldServiceBean + + + \ No newline at end of file diff --git a/branches/sca-java-1.x/itest/contribution-jee-samples/war-nonenhanced/src/main/webapp/WEB-INF/web.xml b/branches/sca-java-1.x/itest/contribution-jee-samples/war-nonenhanced/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..628588a974 --- /dev/null +++ b/branches/sca-java-1.x/itest/contribution-jee-samples/war-nonenhanced/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,41 @@ + + + + + + + Helloworld Web Sample + + + HelloworldEjbServlet + sample.HelloworldEjbServlet + + + + HelloworldEjbServlet + /HelloworldEjbServlet + + + + hello.html + + + diff --git a/branches/sca-java-1.x/itest/contribution-jee-samples/war-nonenhanced/src/main/webapp/hello.html b/branches/sca-java-1.x/itest/contribution-jee-samples/war-nonenhanced/src/main/webapp/hello.html new file mode 100644 index 0000000000..69473543c9 --- /dev/null +++ b/branches/sca-java-1.x/itest/contribution-jee-samples/war-nonenhanced/src/main/webapp/hello.html @@ -0,0 +1,50 @@ + + + + +Apache Tuscany Helloworld Web Sample + + + + +

Apache Tuscany Helloworld Web Sample

+ +This web page posts the data to HelloworldEjbServlet. The servlet invokes HelloworldServiceBean, which is a Stateless EJB. +The EJB in turn invokes Helloworld SCA service through proxies injected into EJB fields. + +

+ +
+ + + + + + + + +
Enter your name: + +
+ +
+
+ + -- cgit v1.2.3