Oracle ADF Tools

 OEPE provides a set of plugins for the Eclipse IDE designed to create, configure, and run Oracle Application Development Framework (ADF) applications.

This document contains the following sections:


  • 1 Getting Started with Oracle ADF

    The Oracle Application Development Framework (Oracle ADF) is an end-to-end application framework that builds on Java Platform, Enterprise Edition (Java EE) standards and open-source technologies. You can use Oracle ADF to implement enterprise solutions that search, display, create, modify, and validate data using web, wireless, desktop, or web services interfaces. Because of its declarative nature, Oracle ADF simplifies and accelerates development by allowing users to focus on the logic of application creation rather than coding details. Know more oracle adf online training

    1.1 Understanding the Oracle ADF Architecture

    In line with community best practices, applications you build using the ADF web technology stack achieve a clean separation of business logic, page navigation, and user interface by adhering to a model-view-controller architecture.

    For more information about the Oracle ADF Architecture, see the Oracle ADF Architecture section in the "Introduction to Building Fusion Web Applications with Oracle ADF" chapter of the Oracle Fusion Middleware Fusion Developer's Guide for Oracle Application Development Framework.

    1.2 Configuring Oracle WebLogic Server

    Before starting to create your pages, you need to create a server configuration for Oracle WebLogic Server (WLS). It will be the link to the WLS instance that will be used to run the project.

    To configure WebLogic Server:

    1. From the main menu, select Window > Show View > Other.
    2. In the Show View dialog, select Server > Servers to open the Servers pane.
    3. In the Servers pane, right-click and select New > Server.
    4. In the Define a New Server wizard, select Oracle WebLogic Server 11gR1 (10.3.5), and click Next.
    5. In the "Specify a WebLogic domain directory" page on the Define a New Server wizard, in the Domain directory field, click Browse to select an already existing domain or click Create to create a new domain.

      Note: Alternatively, you can click Launch Domain Configuration Wizard to create a new domain using the WLS Domain Configuration Wizard.

    6. In the New WebLogic Domain dialog, specify a name and a location for the domain. Optionally, you can specify a new password (the default is welcome1). Under Extensions, select Oracle JRF - 11.1.1.0.
    7. Click Finish.
    8. On the New Server wizard, the Domain directory field is now populated. Click Next.
    9. On the Add and Remove page, in the Available list, select your application. Then click Add to shuttle the selection to the Configured pane. This associates your application with the newly created domain.
    10. Click Finish.

      The new server connection appears in the Servers pane. Note that the server is a in stopped state.

    1.3 Creating an Oracle ADF Application

    OEPE supports the creation of the following ADF application types:

    • JPA Entity
    • EJB Session Bean as service
    • JSF Managed Bean for binding
    • ADF Task Flow as Controller
    • ADF Components as View

    To create an ADF application:

    1. From the main menu, select File > New > Oracle ADF Application.
    2. In the New Oracle ADF Application dialog, enter the following details:
      • Application name
      • Application project location (<user_home>/workspace by default)
      • Dynamic web project name (Default: "Web" appended to application name)
    3. In the New Oracle ADF Application dialog, click New Runtime to set the WebLogic Runtime environment.Know more oracle adf online training
    4. In the New Server Runtime Environment wizard, select Oracle | Oracle Weblogic Server 11gR1 (10.3.5), and click Next.
    5. On the Oracle WebLogic Server 11gR1 (10.3.5) page, click the Browse icon next to the WebLogic home field.
    6. In the Browse for Folder dialog, select the location of your WebLogic Server 10.3.5 installation, and click OK.
    7. On the "Define a WebLogic Runtime" page, under Server Extensions, check to see that Oracle ADF runtime 11.1.1.5.0 has been installed. If not, click Install and follow the instructions. If ADF is installed, click Finish.
    8. In the New Oracle ADF Application dialog, select a JPA project in the JPA Project field. To optionally create a new JPA project, click New JPA Project.
    9. In the New JPA Project wizard, enter the following details:
      • Project name
      • Project location (<user_home>/workspace by default)
      • Target runtime
      • JPA version (If you have installed JPA 2.0, the version defaults to 2.0)
      • Configuration. Note: You can modify the default configuration to add the Oracle WebLogic EJB Extensions facet or the Oracle WebLogic Utility Module Extensions facet. These facets cannot be added together. The benefit of using the WLS Extensions facet during project creation is that you can take advantage of the EclipseLink/TopLink shared libraries that ship with Oracle WebLogic Server. If you do not select a WLS Extensions facet, you will need to manually configure your JPA runtime.
      • EAR Membership. Select an EAR file to add the project to. Note that the JPA project will be added to the application's EAR file by default.
      • Working sets
    10. Once you have added details in the JPA Project page of the New JPA Project Wizard, click Next.
    11. On the Java page, specify the source folders on build path and the default output folder, and click Next.
    12. On the JPA Facet page, specify the Platform, JPA Implementation, and database connection settings, and click Finish.
    13. In the New Oracle ADF Application dialog, you will see that your JPA project is listed in the JPA Project field. Click Add project to working sets if you would like to include the current project in a working set. Select an existing working set from the Working sets menu or create a new one.Know more oracle adf online training
    14. Click Finish.

      Two projects are created in the Project Explorer - an EAR project and a dynamic web project. If you created a JPA project, that is also added to the Project Explorer.

    Note: Using the ADF application wizard is not the only way you can create ADF applications. You can also add the ADF facets to your existing project to use ADF designtime features.Know more oracle adf online training

Comments

Popular posts from this blog

IT Blog

Java Web Transaction Monitoring

AN EFFECTIVE WAY TO BRING SAP SECURITY NOTES UNDER CONTROL