当需要进行重新发时,可以使用 Oracle JDeveloper 和 ADF 将 Forms 应用程序中使用的概念映射到 Java 平台。这个技术案例研究阐释了此过程。
Foreword ............................................................................................................ 4
Introduction ....................................................................................................... 4
Technology Assumptions ............................................................................ 4
Introducing the Forms Application ........................................................... 5
Redeveloping Summit Application................................................................. 5
Architecture Decisions................................................................................. 5
User Interface Implementation.............................................................. 5
Business Services Implementation......................................................... 6
Building the business model........................................................................ 6
Visualizing the data .................................................................................. 6
Building Entity Objects ........................................................................... 7
Building View Objects............................................................................. 8
Refining the business model ..................................................................... 12
Inventory Lookup by ProductId.......................................................... 12
Adding a calculated attribute ................................................................ 13
Displaying an image from file............................................................... 14
Adding validation rules .............................................................................. 15
Ensuring shipped date is after ordered date....................................... 15
Changing Product ID............................................................................ 16
Payment validation based on credit rating.......................................... 19
List of Values .......................................................................................... 21
Building the User Interface ....................................................................... 22
Page Layout............................................................................................. 22
Components............................................................................................ 24
Popup Dialogs ........................................................................................ 25
Graphs ..................................................................................................... 25
Navigation ............................................................................................... 26
Conditional Rendering........................................................................... 26
Reviewing the completed application........................................................... 27
Conclusions ................................................................................................. 27
Database access ...................................................................................... 27
Validation ................................................................................................ 27
UI.............................................................................................................. 27
Improvements in 11g............................................................................. 27