Tuesday 15 April 2014

Become ADF Pro - Index

3, Oracle ADF - Understanding Folder Structure

This is the default folder structure generated



  • Model - Empty directory
  • ViewController [Contains JSF pages and java packages]
    • WEB-INF [Contains configuration files]
      • adfc-config.xml
        • This is an optional unbounded taskflow containing activities, beans and control flow rules.
      • faces-config.xml
        • It helps in registering and configuring objects to define navigation rules
      • trinidad-config.xml
        • This helps to configure skin family and page accessibility support.
      • web.xml
        • This is commonly called as deployment descriptor contains servlets and mapping elements.
    • Page Flows [Contains page flows configuration files]
      • adfc-config [It is same file WEB-INF but just representation is different]



2, Oracle ADF - Setting up new project


SETTING UP FUSION WEB APPLICATION (ADF)

Step 1: Selecting your type of application
Step 2: Selecting Model controller.
Step 3: Selecting Model java source folder.
Step 4: Selecting View controller.
Step 5: Selecting View java source folder.

Goto 'Application' menu -> New

Step 1: In 'Name you Application' dialog, Please fill in 'Application Name', 'Directory', 'Application Package Prefix', Under 'Application Template' select 'Fusion Web Application (ADF)' -> Next

Step 2: In 'Name your project' dialog, Please fill in 'Project Name', 'Directory'. Default settings are fine for 'Project Technologies', 'Generated Components' and 'Associated Libraries'.

This project contains model and acts as a data handler for view. So for now we can work with default components.



Step 3: In 'Configure Java settings' dialog, Please fill in 'Default Package', 'Java Source Path' and 'Output Directory'. By default it configures inside the application directory.


Step 4:  In 'Name your project' dialog, Please fill in 'Project Name', 'Directory'. Default settings are fine for 'Project Technologies', 'Generated Components' and 'Associated Libraries'.

This project contains view controller and interacts directly with JSF pages.


Step 5: In 'Configure Java settings' dialog, Please fill in 'Default Package', 'Java Source Path' and 'Output Directory'. By default it configures inside the application directory.


Click on 'Finish' to create default folder structure and files.


Monday 14 April 2014

1, Oracle ADF - Basic

Oracle Application Development Framework (ADF) is java enterprise edition framework that simplifies the process of developing applications.

Setting up required products:

To work with Oracle ADF you need to setup Oracle JDeveloper [Download Link] and Oracle Weblogic Server [Download Link]

Oracle JDeveloper is IDE helpful in developing web and mobile applications using Oracle ADF. Comes with default Java JDK so no installation of Java is required.

Oracle Weblogic Server helps in deploying Java enterprise edition applications.

Optionally you can use Oracle SQL Developer [Download Link] for connecting to databases.