Time for action – generating a Java API for DeptEO
In our previous exercise, we
did not select the options to generate the Java API in Create Component Wizard. The following steps will show how to generate a Java API for the EmpEO.xml
file:
- Select the
EmpEO.xml
file from theModel
project in the Projects pane. - Click on the Java tab and then click on the pencil icon. This will open the option to select the Java class files:
- Check the Generate Entity Object Class EmpEOImpl checkbox. This will create the
EmpEOImpl
class that will extend theEntityImpl
class. - Select the Accessors option to generate the attribute's
getter
andsetter
methods; Create Method ...
Get Oracle ADF 11gR2 Development Beginner's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.