| Directory |
File Name |
Description |
| ProductOrder\jsps |
Welcome.jsp |
This page is the Home page of the Product Orders
Application. It displays documentation links to all the Oracle9i XML
technology stack used in the application. This page calls the ProductsMain.jsp
to get into the application. |
| ProductsMain.jsp |
This
is the main JSP that will invoke the application. It presents the
user with a form to be filled for Customer and Order details. Products
table in the database is queried to get the list of products for which
order can be placed. It is displayed in a drop down list. There is
a 'Generate Order XML' button which when pressed will call the GetXmlDoc.jsp
The customer and Order information is passed to GetXmlDoc.jsp |
| GetXmlDoc.jsp |
This
JSP is called from ProductsMain.jsp. This page will display the Product
Order as an XML document. There is a 'Save Product Order XML' button
which when pressed will save the XML document into the Orders table
in the database. The save button will call Results.jsp |
| Results.jsp |
This
page will call the XSQL page : InsertPo.xsql to save the XML
document into the database. |
| ErrorHandler.jsp |
This
is the JSP error page to which is used by the application to throw
all the jsp errors. |
| ProductOrder\sql |
CreateTables.sql |
This SQL batch file is used for creation of the
objects required for running of the sample. |
| ProductOrder\etc |
*.xml |
The files in this folder are used in EAR deployment. |
| ProductOrder\docs |
*.html |
The files in this folder include the Readme and
Install files for this sample application. |
| ProductOrder\images |
*.gifs |
The files in this folder include the
gif files that are used by the JSPs. |
| ProductOrder\java |
Customer.java |
This file is generated by the 'oracg' command
for the XML schema: ProductOrder.xsd. This holds all the information
to construct the customer information tag in the XML document. Please
note that this file is not shipped with the sample jar,
but has to be created using ORACG. For details read install.html |
| Products.java |
This file is generated by the 'ORACG' command
for the XML schema: ProductOrder.xsd. This holds all the information
to construct the Product information tag in the XML document. Please
note that this file is not shipped with the sample jar,
but has to be created using ORACG. For details read install.html |
| ProductsOrder.java |
This file is generated by the 'ORACG' command
for the XML schema: ProductOrder.xsd. This holds all the information
to construct the whole Product Order tag comprising of Customer and
Products in the XML document. Please note that this file is
not shipped with the sample jar, but has to be created using
ORACG. For details read install.html |
| OrderXmlBean.java |
This
Java bean uses the above source files created by'ORACG' and creates
the XML instance for the Product Order and returns it as a string
to the GetXmlDoc.jsp |
| PoInsertHandler.java |
|