It is a little known fact that Concurrent Manager Executables can be written in Java, as well as all the traditional languages such as PL/SQL. I believe that this functionality was introduced in 11.5.9, but very little fuss has been made of it. I first came across it while reading Tim Dexter’s excellent BI Publisher Blog in his article How To – Java Concurrent Programs.
Tim’s article is very good and I don’t intend to just repeat everything that he has written. However, I will cover the basics. Oracle have provided the Java Interface oracle.apps.fnd.cp.request.JavaConcurrentProgram; to create your Java Concurrent Program you will need to create a class that implements this interface, ensuring that the abstract method runProgram() is implemented. For example:
package abc.apps.oracle.xyz;
import oracle.apps.fnd.cp.request.JavaConcurrentProgram;
import oracle.apps.fnd.cp.request.CpContext;
public class CpTest implements JavaConcurrentProgram
{
public void runProgram(CpContext cpContext)
{
// your code here
}
}
