geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Geronimo Wiki] Update of "PetStore" by JacekLaskowski
Date Sat, 12 Nov 2005 23:00:55 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Geronimo Wiki" for change notification.

The following page has been changed by JacekLaskowski:
http://wiki.apache.org/geronimo/PetStore

The comment on the change is:
The remaining steps

------------------------------------------------------------------------------
  
  This section of the page is about deploying Java Pet Store Sample Application 1.4 onto Apache
Geronimo. The application is part of [http://java.sun.com/j2ee//1.4/download.html#samples
J2EE 1.4 SDK Samples 2005Q2 UR2] in the {{{samples\blueprints\petstore1.4}}} directory.
  
+ The home directory of the Geronimo-specific configuration files of Pet Store Demo application
in Geronimo source tree is {{{sandbox/petstore}}}.
+ 
+ == Prerequisites ==
+ 
+  * Apache Geronimo 1.0 Milestone 5 or later
+ 
+  * [wiki:BuildingAndRunning Build Apache Geronimo]
+ 
+  * Download [http://java.sun.com/j2ee//1.4/download.html#samples J2EE 1.4 SDK Samples 2005Q2
UR2]
+ 
+  * Java2 SDK 1.4 (make sure you really run Pet Store with the JVM version as the rich clients
won't execute)
+ 
+ == Deploying Pet Store Demo ==
+ 
+ The installation steps are:
+ 
+  1. Go to {{{sandbox/petstore}}} directory
+ 
+  1. Copy {{{samples/blueprints/petstore1.4}}} to the current directory
+ 
+  1. Patch the resulting directory with the patch {{{src/etc/petstore1.4.diff}}}
+ 
+   {{{
+ $ patch -p0 < src/etc/petstore1.4.diff
+ ...todo...
+ }}}
+ 
+  1. Build the Pet Store Demo. 
+ 
+   {{{
+ ant -Dpetstore.module.home=c:/projs/geronimo/sandbox/petstore -Dmaven.repo.dir=~/.maven
-f petstore1.4/src/build.xml
+ }}}
+ 
+  1. Distribute the Java Pet Store Demo application {{{maven -o}}}.
+ 
+ Once installed, the Pet Store Demo application is started and stopped with {{{maven -o petstore:start}}}
and {{{maven -o petstore:stop}}}, respectively.
+ 
+ To access the Java Pet Store application, point your browser to http://localhost:8080/petstore/.
You can also use the admin and supplier enterprise applications at http://localhost:8080/admin
and http://localhost:8080/supplier, respectively.
+ 
+ TODO:
+  * Explanations on the Geronimo specific configurations.
+ 
+ NOTE:
+  * There're a lot of steps to be done that require creating files manually. Most, if not
all, files will be created by a JSR-88-compliant tool during the deployment process;
+ 
+  * {{{maven -u}}} can be used to display the available commands
+ {{{
+ ...
+ [petstore]                          ( NO DEFAULT GOAL )
+   deploy  ......................... Deploys PetStore
+   start  .......................... Starts PetStore
+   stop  ........................... Stops PetStore
+ ...
+ }}}
  
  = Deploying Java Pet Store Demo 1.3.2 =
  
@@ -24, +78 @@

  
  == Prerequisites ==
  
-  * Geronimo build 209955 or later (these directions will not work for Milestone 3 or earlier)
+  * Apache Geronimo build 209955 or later (these directions will not work for Milestone 3
or earlier)
  
   * [wiki:BuildingAndRunning Build Apache Geronimo]
  

Mime
View raw message