The following table shows general steps for developing a web application.

Create project

|
- From the main menu, choose File > New Project
or, in the Welcome window, click Create New Project.
- Step through the wizard.
|
|
|

Add components

|
- Drag components from the Palette to the Visual Designer.
- Using the Properties window, set the component
properties.
|
|
|

(Optional)
Connect to data source

|
- If the data source is not in the Servers window, add the data source.
- Drag a table from the data source to the
Visual Designer.
- If desired, create a
customized query by double clicking table-nameRowSet in the Outline window to use the
Query Editor.
- In the Query Editor, create the SQL query.
- In the Visual Designer, right-click the component and choose Bind to Data.
- In the Bind Data dialog box, choose the data provider
and data field to bind to the component.
|
|
|

(Optional)
Connect to web service

|
- In the Servers window, right-click the Web Services node and choose Add Web Service.
- Specify the location of the WDSL file, by either entering the URL or finding the file on your filesystem.
- If you enter a URL and you are behind a firewall, click Set HTTP Proxy to set your HTTP proxy.
- In the Servers window, drag the
web service and drop it on to the page.
- To view the data produced by the method, bind the simple, list or Table component to the method or call the method in your Java code.
|
|
|

(Optional)
Connect to Enterprise JavaBean method

|
- In the Servers window, right-click the Enterprise JavaBeans node and choose Add Set of Session EJBs.
- In the Servers window, drag the enterprise bean or one of its methods and drop it on to the page.
- To view the data produced by the method, bind the simple, list or Table component to the method or call the method in your Java code.
|
|
|

Program business logic

|
- In Visual Design view in the Visual Designer, double-click the background
of the page to open the Java Editor.
- In the Java Editor, edit the code.
|
|
|

Create and connect multiple pages

|
- In the Visual Designer, right-click and choose
Page Navigation.
- In the Navigation Editor, right-click and choose New Page to create the destination page.
- In the Navigation Editor, click the source page to display its components.
- In the source page, click the component that triggers the navigation and drag the connector to the destination page.
|
|
|

Deploy and debug application

|
- Choose Run > Run Main Project to save, build, and
run the application.
- If you need to debug the application, choose Run > Debug Main Project.
|