OEPE and ADF enable you to package certain ADF components into the ADF Library for reuse in applications. Reusable ADF components can be task flows and page templates.
ADF Library provides a convenient and practical way to create, deploy, and reuse high-level components. When you first design your application, you design it with component reusability in mind. If you created components that can be reused, you can package them into JAR files and add them to a reusable component repository. If you need a component, you may look into the repository for those components and then add them into your project or application.
An ADF Library JAR contains ADF components and does not and cannot contain other JARs. It should not be confused with OEPE library, Java EE library or Oracle WebLogic shared library.
An ADF Library created in OEPE can be consumed by Oracle JDeveloper.
When you create reusable components, you should try to create unique and relevant names for the application, project, task flow, connection, or any other file or component. Do not accept the OEPE wizard default names such as task-flow-definition.xml. You want to try to have unique names to avoid naming conflicts with other projects, components, or connections in the application. Naming conflicts could arise from components created in the consuming application and those loaded from other JAR files.
For more information on best practices for naming reusable ADF components, see the Naming Conventions section of the Oracle® Fusion Middleware Developing Fusion Web Applications with Oracle Application Development Framework.
You can create ADF libraries.
To export ADF components to an ADF Library:
In the Project Explorer, right-click the Dynamic Web project and choose Export > Export from the context menu.
On the Select page, choose Oracle > ADF Library.
On the Export ADF Library page, specify the Project (if different from the current one), and the ADF Library you want to export to.
In the Dependent Projects field, select any dependent projects you want to add to the ADF Library.
Click Finish.