Handling XmlBean Data Sample

This page flow sample shows how to use XMLBean types within a page flow. The sample contains a database control file that returns an XMLBean type (ItemsRowSetDocument). This XMLBean data type is used in the page flow's Form Bean and it is displayed on a JSP page.

Concepts Demonstrated by this Sample

Location of Sample Files

In the SamplesApp, the sample is in the following location:

SamplesApp/WebApp/handlingData/xmlBeans/XmlBeansController.jpf

On the local file system, the samples are located at:

<BEA_HOME>\weblogic81\samples\workshop\SamplesApp\WebApp\handlingData\xmlBeans\XmlBeansController.jpf

To Run the Samples

  1. Start WebLogic Server in the Workshop domain.

    • On Microsoft Windows systems, run

      <BEA_HOME>/weblogic81/samples/domains/workshop/startWebLogic.cmd

    • On Linux or Solaris systems, run:

      <BEA_HOME>/weblogic81/samples/domains/workshop/startWebLogic.sh

  2. Launch the page flow either by opening SamplesApp/WebApp/xmlBeans/XmlBeansController.jpf in WebLogic Workshop and selecting the Start operation or by entering http://localhost:7001/WebApp/handlingData/xmlBeans/XmlBeansController.jpf in the address bar of your browser. If WebLogic Server is running in the Workshop domain on this machine, you may click here to run the sample.

Related Topics