RMI-IIOP or SOAP
531933Sep 5 2006 — edited Sep 6 2006Hi All.
We are in the process of integrating part of our Oracle Forms Application with J2EE.
I proposed that we should use Java Importer to import a J2EE client program that uses the Business Logic (EJB) on the Application Server with RMI-IIOP (since both the Forms Runtime Engine and the EJB is on the same application server instance.
Someone (from Oracle) told me in an email:
"Calling out to Java to share business logic or use functionality in a web service is reasonable.
However, using Forms to call EJBs is really replacing the functionality of Forms and so make less sense..."
Now what I don't understand is that to call out to a Web Service over SOAP, I need to use Java Importer anyway, so the performance issue due to JNI (PL/SQL to Java) is still valid, and to go from Java to Java via SOAP (means Java->XML->SOAP->XML->Java) if we are on the same OC4J instance, just don't make sense ? I will be much faster Java to Java via RMI/IIOP.
I documented the whole on my blog (http://www.thecruelgirl.blogspot.com/ ) and would like to here your comments.
Thanks
Phillip Kruger
http://www.thecruelgirl.blogspot.com/