Wednesday, 4 January 2017

How to enforce package naming standards and object naming standard for ADF Business Components

It is indeed a pain to work in an Oracle ADF project where there are multiple developers and everyone names their objects according to their wish.We had the same kind of issue in my previous Oracle ADF  Development project.This has to be the first priority before even starting the coding.If not, you are in for a big shock when you look at the object names in future :)
Oracle JDeveloper comes with a great feature to tackle this scenario and does a wonderful job.Let us look at the steps to implement the same.


Use the Tools –> Preferences –> ADF Business Components –> Packages for Package Naming standards
wfpteusp
Use the Tools –> Preferences –> ADF Business Components –> Object Naming standards
xmyxu5ff
Thats it !! Now when you generate the Business components from table, it will automagically names the Objects and packages based on your settings in JDeveloper.Though I would like this to be an export and import feature because this needs to be done at every developer’s jdev.

No comments:

Post a Comment