Saturday, December 29, 2012

ADF Metadata Files

ADF Metadata Files

  1. adf-settings.xml: The adf-settings.xml file keeps the UI project configurations. This file is present in the < project-root >/src/META-INF folder.
  2. faces-config.xml: The faces-config.xml file contains the configurations for a web application built using JSF. This file allows us to configure managed beans, data convertors, and validators used in the UI, navigation cases, global resource bundles, view handlers, page lifecycle phase listeners, and custom lifecycle factory implementation for the application. 
  3. adfc-config.xml: ADF Faces is built on top of the JSF with a lot of extra features, which are not covered by the core JSF. ADF Faces uses adfcconfig. xml to keep its configurations. As a Fusion developer, you should use adfc-config.xml to configure the navigation cases and managed bean definitions. To run your Fusion web application, you may need both facesconfig. xml and adfc-config.xml files—which is true even if you have not added any custom configuration entries in faces-config.xml. 
  4. trinidad-config.xml: Apache MyFaces Trinidad forms the base for the ADF Faces component set. In fact, Trinidad components earlier were ADF Faces components, which were donated to Apache Software Foundation later in the journey. By default, the generated trinidad-config.xml file contains only the skin family name. However, trinidad-config.xml can be used to override the default configurations for accessibility settings, locale settings, state management, and so on. 
  5. web.xml: The web.xml file acts as deployment descriptor for a Java-based web application. When you generate a Fusion web application by using JDeveloper, a default web.xml file with default settings will be created for you. The default entries include context parameters for configuring the runtime state of the system, security filters, data binding filters for web pages, and resource look up filters. The web.xml file also includes servlet context listeners for initializing the management and monitoring services for view and model layers. 
  6. adf-config.xml: The adf-config.xml file contains application-level settings, which manage the runtime infrastructure—such as failover behavior for the application modules, global fetch limit for all the view objects, caching of resource bundles, automated refresh of page bindings, and so on—for your application.
  7. weblogic-application.xml: This file is the WebLogic Server-specific deployment descriptor.
@above text is from : Oracle ADF Real World Guide by Jobinesh

Tuesday, December 18, 2012

Integrating OAF and XML

Integrating OAF and XML is done by easily following the steps mentioned in :

One of the issue which i got is : \tmp (The system cannot find the path specified)

The solution for above issue : create a directory :   C:\tmp

and move the following file : xdo_doc_display.jsp from OA_HTML to your Jdev /OA_HTML directory

it works :)