If you are using Visual Web JavaServer Faces, drag a component from the Palette and
drop it in the Visual Designer.
To edit the component, click the Java button above the current page or double-click
the background of the page to open the
Source Editor.
(optional) Connect to database
If the database connection is not visible in the right click the Databases node and choose New Connection, and then add
the database connection in the New Database Connection dialog box.
If the database node is broken, right-click the node and choose Connect, and then
connect to the database.
If you are using Visual Web JavaServer Faces, open the Tables node and then drag a
table from the database
connection to the Visual Designer.
You can customize
the default query by double clicking table-nameRowSet in the to use the Visual SQL Editor.
In the Visual SQL Editor, create the SQL query.
If you are using Visual Web JavaServer Faces , 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) Create and connect multiple pages
If you are using Visual Web JavaServer Faces, in the Visual Designer, right-click and
choose Page Navigation.
In the Page Flow editor, right-click and choose New Page to create the
destination page.
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 application
Choose Run > Run Main Project or right-click any project and choose Run.