O'Reilly logo

Oracle ADF 11gR2 Development Beginner's Guide by Vinod Krishnan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – exposing a method using the client interface

Carry out the following steps to expose a method using the client interface:

  1. Open the EmpDirectoryModuleImpl.java file and add the following method:
    public String getHelloWorld(){
        return "Hello World";
    }
  2. Go to the Java tab from the EmpDirectoryModule.xml file, and click on the pencil icon in the Client Interface section.
  3. The Edit Client Interface window will open. Move the getHelloWorld() method from the Available list to the Selected list as shown in the following screenshot:
    Time for action – exposing a method using the client interface
  4. Click on the OK button to create the interface method.

What just happened?

We now have the client interface defined ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required