Invoking an application module from a Java servlet

We have discussed the basic configurations and metadata files required for running an ADF web application. This is very easy if you build an application by choosing a Fusion web application template. JDeveloper will take care of managing all the metadata files-dependent libraries.

What if you want to call services exposed by an application module from a non-ADF web application?

There are two approaches:

  • Using Configuration::createRootApplicationModule(String qualifiedAMDefName, String configName) to create an appropriate application module instance, and then calling desired methods on it
  • Using ADF Model APIs for accessing business methods exposed through data control

These approaches are discussed ...

Get Oracle ADF Real World Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.