Naming conventions to consider when using ADF Libraries

You use ADF Libraries to reuse ADF artifacts like page templates, bounded task flows, ADF Business Components and declarative components.

However, be cautious when developing reusable components to avoid name clashes in Java classes and packages, as well as duplicate metadata file names.  

Section 33.1.1 "Creating Reusable Components" of the "Oracle Fusion Middleware Fusion Developer's Guide for Oracle Application Development Framework" suggests development teams to agree on a naming convention

"You and your team should decide on the type of repository needed to store the library JARs, where to store them and how to access them. You should consider how to organize and group the library JARs in a structure that fits your organizational needs. You should also consider creating standardized naming conventions so that both creators and consumers of ADF Library JARs can readily identify the component functionality."

It then adds a note about what you can do if the problem of missing naming conventions shows in the middle of a development project.

"Note: If, in the midst of development, you and your team find a module that would be a good candidate for reuse, you can use the extensive refactoring capabilities of JDeveloper to help eliminate possible naming conflicts and adhere to reusable component naming conventions."

Though this note is correct and refactoring is an option. The note is very moderate as I would consider refactoring a worst case scenario. Better is to consider naming conventions up front, for which developers need a heads up: Done with this post.

See the link below for naming conventions proposed by Oracle

http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/reusing_components.htm#BEIJIGDG

Comments:

Post a Comment:
Comments are closed for this entry.
About

The Oracle JDeveloper forum ranks in the Top 5 of the most active forums on the Oracle Technology Network (OTN).



The OTN Harvest blog is a summary of selected topics posted on the OTN Oracle JDeveloper forum.



It is an effort to turn knowledge exchange into an interesting read for developers who enjoy little nuggets of wisdom





Frank Nimphius

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today