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:

  1. Select the EmpEO.xml file from the Model project in the Projects pane.
  2. Click on the Java tab and then click on the pencil icon. This will open the option to select the Java class files:
    Time for action – generating a Java API for DeptEO
  3. Check the Generate Entity Object Class EmpEOImpl checkbox. This will create the EmpEOImpl class that will extend the EntityImpl class.
  4. Select the Accessors option to generate the attribute's getter and setter 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.