J2EE[tm] Blueprints > Java[tm] Pet Store Administrator > Running the Excel demo

Running the Excel demo

The Excel demo illustrates how to import data from the Java Pet Store Administrator—using XML over HTTP—into a Microsoft Excel spreadsheet. This document describes how to set up the demo.


Note: These instructions use $JPS_HOME (UNIX) and %JPS_HOME% (Win32) to denote the root directory of the J2EE Blueprints bundle.

Before you begin

Before running this demo, make sure the following items are installed on your system:

Running the demo

  1. Deploy the Java Pet Store and use it to order some pets.

  2. Deploy the Java Pet Store Administrator.

  3. Open the file ExcelXML.xls with Excel. This file can be found in %JPS_HOME%\src\petstoreadmin\.

  4. Click the Update button to see the order details, or click the View XML button to see the XML.


Note: You do not need to save the spreadsheet since the contents are dynamically generated.

Note: These instructions assume that the Java Pet Store and Java Pet Store Administrator are deployed on a machine named localhost and port 8000. If your deployment settings are different, then go to the cell J40 in the spreadsheet and substitute localhost and 8000 with the name of the machine and the port on which these applications are deployed.

Copyright © 2001 Sun Microsystems, Inc. All Rights Reserved.