Tuesday, October 16, 2012

Call AM Method from WebService Or Java Project

import com.model.common.AppModule;
import oracle.jbo.ApplicationModule;
import oracle.jbo.client.Configuration;

  AppModule am =(AppModule) Configuration.createRootApplicationModule("com.model.AppModule","AppModuleLocal");

 am.callGreetingFunction();

//We use this if AM is not a part of existing project(Remember to Include in Dependency Properties)

No comments: