Author: mmerz
Date: Tue Nov  2 09:29:02 2004
New Revision: 56388

Added:
   incubator/beehive/branches/v1/alpha/samples/PetStoreDashboard/ME.txt
      - copied, changed from rev 56316, 
incubator/beehive/branches/v1/alpha/samples/PetStoreDashboard/readme.txt
Log:
Updated README.



Copied: incubator/beehive/branches/v1/alpha/samples/PetStoreDashboard/ME.txt 
(from rev 56316, 
incubator/beehive/branches/v1/alpha/samples/PetStoreDashboard/readme.txt)
==============================================================================
--- incubator/beehive/branches/v1/alpha/samples/PetStoreDashboard/readme.txt    
(original)
+++ incubator/beehive/branches/v1/alpha/samples/PetStoreDashboard/ME.txt        
Tue Nov  2 09:29:02 2004
@@ -1,30 +1,40 @@
+README.txt
+==========
 
- The Petstore dashboard is a sample client application for the
- petstore web servicces.
+PetstoreDashboard is a stand-alone sample client application for the 
+"petstoreWeb" sample webapp.
 
- Before you can build the application you must:
+Build and run PetstoreDashboard as follows:
 
- 1) download activation.jar and mailapi.jar to
-          BEEHIVE_HOME/samples/OetStoreDashboard/lib
+1. Download external libraries:
+  a) activation.jar from 
http://java.sun.com/products/javabeans/glasgow/jaf.html
+  b) mailapi.jar from 
http://java.sun.com/products/javamail/downloads/index.html
 
- 2) start up the pet store.  
- 
- 3) run ant from BEEHIVE_HOME/samples/OetStoreDashboard
- this would generate the client side, compile and run the application
- 
- NOTE: The application generates the client side  of the web serivces from the 
- WSDL file at: http://localhost:8080/petstoreWeb/petstore.jws?wsdl
+2. Copy activation.jar and mailapi.jar into:
+  a) BEEHIVE_HOME/samples/PetStoreDashboard/lib
+  b) BEEHIVE_HOME/samples/petstoreWeb/WEB-INF/lib
+
+3. Deploy "petstoreWeb" webapp to server.
+  (see "petstoreWeb" sample for instructions)
  
- To change the URL change the 
-       <property name="wsdl.url" 
-               value="http://localhost:8080/petstoreWeb/petstore.jws?wsdl"/>
- in the build.xml.
+4. Generate the client, compile and run the application:
+  run ant from BEEHIVE_HOME/samples/PetStoreDashboard
  
- 4) Once the swing application is up, click on product and drill down to 
individual the 
-Pet and see the pet's inventory data.
+NOTE: By default, the application assumes that the petstoreWeb webapp is
+      running; it generates the PetstoreDashboard Web service client from the
+      WSDL file at:
+        http://localhost:8080/petstoreWeb/PetstoreInventoryManager.jws?wsdl
+      If petstoreWeb is installed at a different location modify
+      BEEHIVE_HOME/samples/PetstoreDashboard/build.xml accordingly:
+      <property
+        name="wsdl.url" 
+        
value="http://localhost:8080/petstoreWeb/PetstoreInventoryManager.jws?wsdl";
+      />
  
- You can add more item to the inventory or change the prices of the pets from
- the individual item view of the inventory.
+5. Once the swing application is running, click on product and drill down to
+  individual pets to see their inventory data. You can now modify the 
quantities
+  and prices for each pet. Clients using the petstoreWeb webapp will see the 
+  price changes immediately (when they refresh their browser).
  
 
 

Reply via email to