Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I've had some experience in writing Java Stored Procedures so I think I can definitely throw some light on this topic. I along with another lead developer had ported Oracle's Workflow - its Core Engine from PL/SQL to Java Stored Procedures, the WF Builder and Runtime Viewer from VC++ to Eclipse RCP.</p> <p><strong>Why we chose Java SPs?</strong></p> <ul> <li>WF Engine could be moved out of Database onto a dedicated App Server in future.</li> <li>Workflows need to trigger and respond to Events. It's easily accomplished using JMS.</li> <li>Oracle also provided a JMS implementation called AQs (Advanced Queuing). <ul> <li>AQs are backed by database tables. So, it was fairly easy to query Event data for the UI.</li> <li>Accessing AQs from Java stored procedures was quick and simple (no network overhead).</li> </ul></li> </ul> <p><strong>Problems Faced</strong></p> <ul> <li>The JVM support wasn't up to date. We had to support Oracle 9 so wrote the engine to work on JDK 1.3 and it was a pain in the neck. Oracle 10 moved to JDK 1.4 and <s>I think things look a lot better now with JDK 1.6</s> I've come to know that support is still lagging behind with JDK 1.5 in Oracle 11.</li> <li>At times you do encounter situations where a Trigger or a Ref cursor i.e. some PL/SQL construct is the best fit. If you must have your application purely in Java you may have to go for a workaround. Otherwise, you could implement that functionality in PL/SQL and invoke it from Java. We didn't have this liberty.</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload