JExternal is a 4D plug-in to execute Java methods from within 4D. JExternal enables you to use many useful Java libraries in 4D. In this new version, JDBC_ORACLE_CURSOR is added as a JDBC constant in order to call Oracle stored procedures using Ref Cursor.
If you use JEX_JDBCDemo_601, which is a demo of JExternal 6.0.1, you can call Oracle stored procedures using Ref Cursor and get cursors as the result. In JEX_JDBCDemo_601, an example method EXAMPLE_CODE_17 was added to explain how to call Oracle stored procedures using Ref Cursor and get the results. The Java source code of the class library JDBCDemo_200.jar used in this demo is open. Oracle 10g and 11g, and JDBC driver ojdbc6.jar were used for the test.
Other Demos Of JExternal
The followings are not downloadable demos at the download page above. They are very simple and they don’t have any documentation. They works with 4D v11 or later.
1) Blowfish (Size : 29.5 MB)
This is a demo of the encryption and the decryption using Blowfish. If you modify my Java source code, you will also use AES, DES or TripleDES in 4D.
2) CDTray (Size : 31.6 MB)
The CD tray on Windows can be controlled by Java. In this demo, the CD tray is opened or closed from 4D by calling the Java method.
3) Stemmer (Size : 29.4 MB)
In this demo, a Java method which implements the Porter Stemming Algorithm is called in 4D. For more information refer to the following web page:
4) Swiss Ephemeris (Size : 30.3 MB)
This is a demo to use the Swiss Ephemeris in 4D. For more information refer to the following web pages:
Ronri Kobo, Inc.