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 AaronMulder
Date Mon, 04 Jul 2005 02:45: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 AaronMulder:
http://wiki.apache.org/geronimo/PetStore

The comment on the change is:
Update to unified web deployment plan format

------------------------------------------------------------------------------
  The Java Pet Store Demo is a sample application brought to you by the [http://java.sun.com/blueprints
Java BluePrints] program at [http://java.sun.com Java Software], [http://sun.com Sun Microsystems].
  
  == Prerequisites ==
+ 
+  * Geronimo build 208887 or later (these directions will not work for Milestone 3 or earlier)
  
   * [wiki:BuildingAndRunning Build Apache Geronimo]
  
@@ -149, +151 @@

  
  Note: this is an optional task as elements of Deployment Descriptors are transparently sorted
upon deployment. This is part of the upgrade process from ''.dtd'' to ''.xsd''.
  
- Create {{{WEB-INF/geronimo-jetty.xml}}}:
+ Create {{{WEB-INF/geronimo-web.xml}}}:
  
   {{{
  <?xml version="1.0" encoding="UTF-8"?>
  
- <web-app xmlns="http://geronimo.apache.org/xml/ns/web/jetty" 
+ <web-app xmlns="http://geronimo.apache.org/xml/ns/web" 
           configId="petstore-web" 
           parentId="petstore">
      <context-root>/petstore</context-root>
@@ -165, +167 @@

  and add it to petstore.war using the following command:
  
   {{{
- jar -uvf petstore.war WEB-INF/geronimo-jetty.xml
+ jar -uvf petstore.war WEB-INF/geronimo-web.xml
  }}}
  
  Once it's done, delete WEB-INF directory.
  
- Note: this is an optional task as a ''geronimo-jetty.xml'' DD is transparently created upon
deployment.
+ Note: this is an optional task as a ''geronimo-web.xml'' DD is transparently created upon
deployment.
  
   jar up /petstore/ear directory.
  
@@ -270, +272 @@

  I had to make the following changes to get petstore running.
  
  == Had to provide the ejb-link ... ==
- ... at all places wherever extenal ejb's were being referenced.  It seems it doesnt work
at least in geronimo-jetty.xml if we just give the ejb-ref & give the target-name.  Faced
problems there. 
+ ... at all places wherever extenal ejb's were being referenced.  It seems it doesnt work
at least in geronimo-web.xml if we just give the ejb-ref & give the target-name.  Faced
problems there. 
  
  For instance, in the web.xml
      {{{
@@ -338, +340 @@

   MyListTag.java
  
  == Had to use an adapter (tranql generic adapter) ... ==
- ... & had to write the corresponding geronimo-jetty.xml to use the oracle database (or
+ ... & had to write the corresponding geronimo-web.xml to use the oracle database (or
  cloudscape if you are using that) from where to access the inventory
  and other databases used by petstore. The adapter jar had to be packed
  along with the ra.xml, geronimo-ra.xml & the required drivers.

Mime
View raw message