J2EE Blueprints

Java TM Pet Store Demo

 pet store administrator
   excel demo
 
This demo illustrates how an MS Excel spreadsheet can import data from the Java Pet Store Demo application in XML format over HTTP.

In order to run this demo, you need to install Internet Explorer 5.x and MS Excel first. Please note that this demo will not work with Internet Explorer 3.x or 4.x.

Here are the step-by-step instructions:

  1. Run the Java Pet Store Demo application.
  2. Complete an order in the pet store. Put some item(s) in your cart and complete a purchase.
  3. Open ExcelXML.xls in MS Excel.
  4. Click on Update button to see order details.
  5. Click on View XML button to see the XML.
  6. While quitting, you need not save the spreadsheet since the  contents are dynamically generated.

Note:  If you are running the J2EE server on a different machine than localhost, or you have configured its Web server to run on a different port than the default 8000, you need to go to the cell J40 (highlighted, but hidden from the demo audience) and update the server name and port accordingly.