-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
EJB 3.0 Database Persistence with Oracle Fusion Middleware 11g
We shall input data for the EDITION, SECTION, and ARTICLE tables from JSF interfaces. In this section, we shall create the edition.jsp, section.jsp and article.jsp JSFs. We shall use the backing beans from the JSFs as EJB 3.0 clients. In the backing beans, we shall lookup the session bean remote interface and invoke the createEdition, createSection, and createArticle methods to create and persist Entity, Section, and Article entities. First, we need to create the JSFs for the entities. We shall create the JSFs in the ViewController project. Select the ViewController project node and select File | New. In the New Gallery window, select Web Tier | JSF in Categories and JSF Page in Items. Click on OK:

In the Create JSF Page window, specify a File Name (article.jsp). Expand the Page Implementation node and select Automatically Expose UI Components in a New Managed Bean. Specify the managed bean Name, which will be mapped to the faces-config.xml configuration file...
Change the font size
Change margin width
Change background colour