1 / 60

JSF On Rails JDeveloper 11g/ADF 11g Rapid EJB/JPA + Rich JSF Development

Develop a demonstration of rapid JEE web app using ADF in JDeveloper 11g, focusing on EJB/JPA and Rich JSF development. Learn how to create entities, session beans, data controls, and JSF pages efficiently.

Download Presentation

JSF On Rails JDeveloper 11g/ADF 11g Rapid EJB/JPA + Rich JSF Development

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. JSF On RailsJDeveloper 11g/ADF 11gRapid EJB/JPA + Rich JSF Development 8th of December 2008AMIS

  2. Overview of Application to Develop Demonstration rapid JEE Web Application Development JDeveloper 11g with ADF • Business Tier: EJB 3.0/JPA • ADF Model • Web Tier: JavaServer Faces (ADF 11g Faces Rich Client Components)

  3. The Data Model – Oracle HR Schema 3

  4. Database Tables – Oracle HR Schema

  5. Start JDeveloper - Create Application

  6. Select EJB as Project Technology

  7. Accept defaults

  8. Add Database Connection to Application

  9. Create new Entities from Tables

  10. Change Entity Names to singular

  11. The result of creating the entities

  12. Create a Session Bean to expose a Business Service API for the entities

  13. The project contents after creating the Session Bean

  14. Add method getSumSalaries() to Department bean

  15. Create an ADF Data Control for the Session bean

  16. Data Control used in JSF applications can best use the Local Interface

  17. Data Control Palette after creating the Session Bean based Data Control

  18. Create the ViewController project

  19. Create a new JSF page

  20. Drag a PanelStretchLayout to the page

  21. Drag EmployeeList under Department to the page; drop as MasterTable/Detail Table

  22. Set Table Width (900 or so will do)

  23. Run the JSF page

  24. Surround table with PanelCollection

  25. Set partialTriggers attribute for detail table to reference the master table

  26. Set all table columns to Sortable = true

  27. Refresh the page in the browser

  28. Add popup component to the Form

  29. Add PanelWindow to the Popup

  30. Drag Employee under Department (manager of department) to PanelWindow – drop as Form

  31. Add showpopupbehavior to departmentId outputText – refer Popup and set triggerType to contextMenu

  32. Add PanelAccordion under Master PanelHeader

More Related