2013-05-01 Created by Baoxinjian
I. Summary
In this tutorial, you will build a Web application using Oracle's JDeveloper-G version 11.1.2.0.0.
To build the data model, you can use the EJB diagram, EJB 3.0, and Java Persistence API (JPA).
The Web client uses JavaServer Faces (JSF).
Create a master-slave composite structure for the Home page query and editing features of the user interface.
A task flow, search function, is also added as a region to the page.
Building a WEB application Using EJB, JPA, and JavaServer Faces
Part 1:building the Data Model with EJB 3.0 Using the EJB diagrammer
Step 1:create a New application and Projects
Step 2:create The Persistence Model
Step 3:create an EJB Diagram and a Session Bean
Step 4:create a facade Bean to Expose for the Client application
Step 5:create ADF Data Controls from EJB Session beansclose
Part 2:building the View projectclose
Step 1:create a master-detail JavaServer Faces Page
Step 2:bind Data Control components to the Page
Step 3:run and Test the Page
Step 4:add Create and Delete functionalities to the Page
Part 3:adding and exposing a New Method to the Uiclose
Step 1:add a New Method to the Entity and Expose it
Step 2:build a bounded Task Flow with JSF Pages
Step 3:use the Task Flow as aregion in the MAINHR pagestep 4:run the MAINHR Page
Part 4:testing the facade Inside and Outside the Java EE Container
Step 1:add a New Method to the Entity and Expose it
Step 2:run the Java Service outside Java EE container
1:add a New Method to the Entity and Expose it
Step1. New methods are added to the Employee.java findbyname
Step3. Re-generate the method
Step4. Create a new Java Client
Step5. View the New method
2:run the Java Service outside Java EE container
Step1. Run the method
Step2. View definition modifications in a persistence layer
Step3. Run the Java
Thanks and regards
Adf_starting series 9_ test for building Web applications with EJB/JPA/JSF via ADF Container