220 likes | 390 Views
Application Development Framework (ADF) Introduction 5-Oct-2012. Collaborative Work. Lawlesh K Amresh S Pallavi G Rekha O. What is ADF ?. ADF ……..Application Development Framework J2EE Framework (Java2 Enterprise Edition) Implements design patterns MVC (Model View Controller)
E N D
Application Development Framework (ADF)Introduction5-Oct-2012
Collaborative Work Lawlesh KAmresh SPallavi GRekha O
What is ADF ? • ADF ……..Application Development Framework • J2EE Framework (Java2 Enterprise Edition) • Implements design patterns MVC (Model View Controller) Framework provides foundation classes and libraries. Pattern is the way you can architect your application • JDeveloper IDE (Integrated Development Environment)
What is MVC? • Model • View • Controller
MVC Continue…… Customer Restaurant Owner Take the order to the kitchen and prepare the food Get the customer’s order Kitchen Get the tray to the customer and serve Place and consolidate the food on the tray as per the order Struts 2 Tutorial 01 - Introduction To MVC url: http://www.youtube.com/watch?v=f46WEeM8HTA&feature=related
MVC Continue…… Customer Restaurant Owner Kitchen Pass on the required info to the cook Get the customer’s order Prepares the food Get the tray to the customer and serve Cook pass the food to RO And RO Place and consolidate the food on the tray as per the order Cook Struts 2 Tutorial 01 - Introduction To MVC url: http://www.youtube.com/watch?v=f46WEeM8HTA&feature=related
MVC Continue…… Customer Restaurant Owner Kitchen Pass on the required info to the cook Get the customer’s order Prepares the food Get the tray to the customer and serve Pass the cooked food to the food decorator Cook Decorates the food Struts 2 Tutorial 01 - Introduction To MVC url: http://www.youtube.com/watch?v=f46WEeM8HTA&feature=related
MVC Continue…… Customer View, User Interface (Food Decorator) (JSP/JSF/HTML/XML/SWING/ADF Faces) Controller (Restaurent Owner) Model(Restaurent Cook) (Business Service Bean/Methods) Data Services (Database, Web Services, Legacy System)
Figure 1-2 Simple Oracle ADF Architecture ADF Architecture
Figure 1-2 Simple Oracle ADF Architecture Simple ADF Structure
Why ADF but not OAF? OAF (Oracle Application Framework) • OAF is tightly tied to Oracle Applications and can't be used standalone • It is very specific to Apps and is meaning less outside apps context ADF (Application Development Framework) • It is a very generic framework independent of Oracle Applications • Any customer can use this framework to build their own application
Oracle Form as a Framework User Interface
Oracle Form as a Framework User Interface (UI Logic) View (User Interface Logic) Navigation Logic Controller Model
ADF Business Components(Model Layer) Employee Emp View Emp View Dept View Dept Dept View Dept View Job Form Forms Block Forms Record Manager
ADF Business Components(Model Layer) Entity Object (EO) It is based on Database Object or other data source It contains attributes which represent database columns All insert/update/delete (DML Operations) transactions go through EO to database View Object (VO) This represents a query result It is used for joining, filtering, projecting and sorting data Application Module (AM) Container for View Object Every Page must have a root application module
ADF continue DEMO TIME
Deployment of ADF application Related search documents Deploying a simple ADF App to a remote WLS server http://radalcove.com/blog/?tag=deployment Simple ADF Deployment to WebLogic http://www.youtube.com/watch?v=xKeDZ8_0BlQ
Important Documents Links to get diff types of tutorial doc JDeveloper/Oracle Fusion http://docs.oracle.com/cd/E18941_01/tutorials/toc.htm Oracle ADF Insider - Learn Oracle ADF Online http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html JDeveloper To Know Basic JDeveloper Window http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/GuideToJDeveloperIDE/GuideToJDeveloperIDE.html A fighter pilot guide to the Jdeveloper IDE Editor http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/JDeveloperEditor/JDeveloperEditor.html ADF ADF Introduction http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/Introduction_To_ADF/Introduction_To_ADF.html This demo is for step by step development……EO, VO,AM……all validation rules, calling java file etc. http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/adfinsiderBC/adfinsiderBC.html Actual Page creation, page design for browser based application http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/adfinsiderADFFaces/adfinsiderADFFaces.html http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/Forms_Redevelopment_ADF/ Forms_Redevelopment_ADF.html
ADF Continues….. • Next session Agenda……. • ADF Data Control and ADF Binding • Some Advanced Demos