Modifying ADF Source Code

The ADF application source is delivered as part of the download from the Update Center. The download contains a .zip file, in which you will find the application source project. See Creating a Sample EnterpriseOne ADF Application for references when making any specific, necessary changes to the source code.

In order for the project to compile, you need to attach five .jar files that are provided by Oracle. These steps are referenced in step 7 of Getting Started and in Creating a New EnterpriseOne ADF Application. The five .jar files are located in the AIS_Client_Java_API_XXX and the E1_ADF_Foundation_XXX downloads in the Update Center. You should remove any older references to these .jar files before attaching the new ones.

ADF Server Deployed Using Server Manager (Release 9.2.1.2)

If you are deploying the ADF Server using Server Manager and plan to include custom ADF applications on your ADF Server, you need to bundle the scf-manifest.xml file with your custom ADF application so that Server Manager recognizes it as an ADF application component, which can be used for the creation of an ADF Server Instance. If a valid scf-manifest.xml file is available in the ADF application component JAR file, the provided version, description, and componentName appear in the Server Manager Console.

You can use the existing scf-manifest.xml files as a reference for creating the scf-manifest.xml file for your ADF application. Here is an example of the scf-manifest.xml file from the EnterpriseOne ADF Visual Bill of Material application:

<scf-manifest 
	     targetType="adfAppComponent" 
     version="92"
     componentName="E1_ADF_VisualBillOfMaterial_92" 
     description="E1 ADF VisualBillOfMaterial v92" 
     minimumAgentLevel="131">
</scf-manifest>

After acquiring the scf-manifest.xml file from the Update Center, modify the file to identify your application in Server Manager. Update the values for the following fields:

  • version - Corresponds to the version shown in the Server Manager Console.

  • componentName - Provides a descriptive name of your application in the Server Manager Console.

  • description - Provides additional details about the application.

The scf-manifest.xml file should reside in your view controller project path within the \adfmsrc\META-INF\ folder. When you build a new .jar file, this file will get bundled.