Book Image

JDBC 4.0 and Oracle JDeveloper for J2EE Development

Book Image

JDBC 4.0 and Oracle JDeveloper for J2EE Development

Overview of this book

Table of Contents (20 chapters)
JDBC 4.0 and Oracle JDeveloper for J2EE Development
Credits
About the Author
About the Reviewer
Preface

Creating a Panel Grid by Binding a Managed Bean


In this section, we will create a panel grid by binding a managed bean to the panel grid in the Create PanelGrid Wizard. We had used a similar managed bean binding to create a Data Table in the previous chapter. A managed bean is a Java object that represents a resource. The example panel grid is an input form to update a journal catalog in Oracle database. The procedure to create a panel grid by binding a managed bean is as follows.

  1. 1. Create a Java Bean class to represent the different fields in a journal catalog.

  2. 2. Create a managed bean from the Java Bean class.

  3. 3. Bind the managed bean to a panel grid in a JSF page.

Delete the JSFPanelGrid application created in the pevious section and create a similar application and a project in Applications-Navigator for the panel grid. Generate a managed bean from a JavaBean class. A managed bean implements a resource, a JavaBean class in the example application. The JavaBean class has properties and...