1 / 66

It’s a new World

It’s a new World. Oracle ADF for Forms Developers Stoyan Ivanov. About the author. 13 years Oracle experience Oracle Forms since SQL*Forms 3.0 Large projects based on Forms for Bulgarian and international customers Lots of database development knowledge. Agenda.

celeste
Download Presentation

It’s a new World

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. It’s a new World Oracle ADF for Forms Developers Stoyan Ivanov

  2. About the author • 13 years Oracle experience • Oracle Forms since SQL*Forms 3.0 • Large projects based on Forms for Bulgarian and international customers • Lots of database development knowledge

  3. Agenda • Why not Oracle Forms & Reports • JDeveloper and ADF as RAD tools • How to choose technologies • Developing an application

  4. Why not Oracle Forms & Reports • The requirement to run on the web • JInitiator and/or running Java applets might be prohibited in some environments and unwanted in others • Universal access vs. High Interactivity

  5. JDeveloper and ADF as RAD tools • What do we mean by RAD • What is a framework • What is Oracle ADF • Why is JDeveloper an IDE for RAD

  6. What do we mean by RAD • Visually oriented development • An infrastructure • Guided development • Reduced coding • Focus on maintenance as well as creation • Based on this definition Forms is a RAD tool

  7. RAD & J2EE • Historically RAD (Forms, Delphi, Visual Basic) are considered vendor-specific and closed • RAD systems has their own IDE and scripting language • No single RAD dominates the J2EE development space • J2EE runtime infrastructure and frameworks evolved independently from the tools

  8. What is a Framework • Toolkit of handy code and techniques for dealing with common use cases • Process implementing the best practice for solving a particular problem • Configuring, not coding • Runtime component • Design-time component

  9. What is a good framework • Functional depth • Functional scope • As declarative as possible • Clean APIs • Tools • Acceptance • Support • Oracle Forms is a framework

  10. Oracle Forms as a framework • Database connection • Transactions: commit, rollback, save points • Database interaction: queries and DML • Middle-tier data caching and transactional integrity • User interface generation • Navigation • Security • Validation

  11. What is Oracle ADF • Set of sub-frameworks to provide the key functions • Model-View-Controller design pattern

  12. Why is JDeveloper an IDE for RAD • It is specifically designed as a complete, integrated, and productive environment for end-to-end development without paying additional plug-ins • You can code more than just Java in JDeveloper • It fully supports Oracle ADF • It is the best tool for creating an application that uses Oracle database and middleware suite

  13. How to choose the technologies • User Interface: JSF & JSP • DB Integration: ADF Business Components • Controller: JSF has build in page flow control

  14. Java Server Faces (JSF) • Component-based • Programming model – action handllers and listeners • Page layout • Device-independent • Build-in Controller layer

  15. ADF Business Components • Mapping database objects into Java • Well suited for the so-called “relational viewpoint” • Emphasizes declarative definition • Provides the ability to define basic validation rules • Exploit the power of the database • Provides a rich event model, much like the triggers

  16. Developing an application • Template “Web Application [JSF, ADF BC]” • Workspace containing two projects: • Model • ViewController

  17. Choosing the template

  18. Workspace containing two projects

  19. Create a Query object

  20. Create a Query object

  21. Create a Query object

  22. Create a Query object

  23. Create a Query object

  24. Create a Query object

  25. Create a Query object

  26. Create a Query object

  27. Create an Application Module

  28. Create an Application Module

  29. Create an Application Module

  30. Testing a Query Object

  31. Testing a Query Object

  32. Testing a Query Object

  33. Can I update the data?

  34. Create an Entity object

  35. Create an Entity object

  36. Create an Entity object

  37. Create an Entity object

  38. Create an Entity object

  39. Create an Entity object

  40. The Model so far

  41. Create a View object

  42. Adding the View to the Data Model

  43. Testing the View

  44. Changing attributes of the Entity

  45. Creating Associations

  46. Creating Associations

  47. Creating Associations

  48. Adding Validation

  49. Adding Validation

  50. Adding Validation

More Related