Is there a document/blog that lists steps needed to test ADF BC using Java client with latest ADF versions. I remember the ability to test AM with simple java main method like below
public static void main(String\[\] args) {
ApplicationModule am = null;
try {
String amDef = "model.AppModule";
String config = "AppModuleLocal";
am = Configuration.createRootApplicationModule(amDef, config);
} catch (Exception e) {
e.printStackTrace();
} finally {
if (am != null)
Configuration.releaseRootApplicationModule(am, true);
}
}
When I try the same, I am getting below error:
Caused by: java.lang.ClassNotFoundException: oracle.jrf.PortabilityLayerException
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 35 more