geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r553035 - in /geronimo/samples/trunk/samples/calculator-stateless-pojo: README.txt calculator-stateless-ear/src/main/resources/META-INF/geronimo-application.xml
Date Wed, 04 Jul 2007 01:38:20 GMT
Author: dwoods
Date: Tue Jul  3 18:38:19 2007
New Revision: 553035

URL: http://svn.apache.org/viewvc?view=rev&rev=553035
Log:
Minor sample fix and added a user readme

Added:
    geronimo/samples/trunk/samples/calculator-stateless-pojo/README.txt   (with props)
Modified:
    geronimo/samples/trunk/samples/calculator-stateless-pojo/calculator-stateless-ear/src/main/resources/META-INF/geronimo-application.xml

Added: geronimo/samples/trunk/samples/calculator-stateless-pojo/README.txt
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/calculator-stateless-pojo/README.txt?view=auto&rev=553035
==============================================================================
--- geronimo/samples/trunk/samples/calculator-stateless-pojo/README.txt (added)
+++ geronimo/samples/trunk/samples/calculator-stateless-pojo/README.txt Tue Jul  3 18:38:19
2007
@@ -0,0 +1,29 @@
+This sample shows EJB 3.0 usage in Geronimo 2.0.  It has two parts.
+The first (calculator-stateless-ejb) shows a Stateless Session Bean.
+The second (calculator-stateless-war) is a simple web client that uses the Stateless Session
Bean.
+
+1. Build
+
+Using Maven 2.0.5+ to build this sample.
+
+   mvn install
+   
+2. Deploy
+
+After the build, An ear file calculator-stateless-ear-2.0-SNAPSHOT.ear will be created under
calculator-stateless-ear\target.
+Deploy this sample via the following command or admin console.
+
+   deploy.bat deploy %SAMPLE_HOME$\calculator-stateless-pojo\calculator-stateless-ear\target\calculator-stateless-ear-2.0-SNAPSHOT.ear
%SAMPLE_HOME$\calculator-stateless-pojo\calculator-stateless-ear\target\plan\geronimo-application.xml
+   
+   
+3. Run
+
+Use your favorite browser to open the following url:
+   
+   http://localhost:8080/calculator-stateless/
+
+4. Undeploy
+
+Undeploy this sample via the following command or admin console.
+   
+   deploy.bat undeploy org.apache.geronimo.samples/calculator-stateless-ear/2.0-SNAPSHOT/ear
\ No newline at end of file

Propchange: geronimo/samples/trunk/samples/calculator-stateless-pojo/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/samples/trunk/samples/calculator-stateless-pojo/calculator-stateless-ear/src/main/resources/META-INF/geronimo-application.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/calculator-stateless-pojo/calculator-stateless-ear/src/main/resources/META-INF/geronimo-application.xml?view=diff&rev=553035&r1=553034&r2=553035
==============================================================================
--- geronimo/samples/trunk/samples/calculator-stateless-pojo/calculator-stateless-ear/src/main/resources/META-INF/geronimo-application.xml
(original)
+++ geronimo/samples/trunk/samples/calculator-stateless-pojo/calculator-stateless-ear/src/main/resources/META-INF/geronimo-application.xml
Tue Jul  3 18:38:19 2007
@@ -30,5 +30,12 @@
             <type>ear</type>
         </moduleId>
     </environment>
-
+    
+    <module>
+        <web>calculator-stateless-war-${version}.war</web>
+        <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.2">
+            <context-root>/calculator-stateless</context-root>
+        </web-app>
+    </module>
+    
 </application>



Mime
View raw message