![]() |
devNote
d061101 |
0.05 2008-04-23 21:12 -0700 |
- Latest version: The latest info.odma.odmjni100 material can be found via <http://ODMA.info/dev/devNotes/2006/11/d061101b.htm>.
- Previous version: 0.58beta Runtime Packaging <http://ODMA.info/dev/devNotes/2006/11/d061101m.htm>.
- Next odmjni100 version: 0.59 beta Transition Candidate <http://ODMA.info/dev/devNotes/2006/11/d061101o.htm>.
- Next Runtime Packaging version: ODMJNI 1.0 Public Beta 0.59 Transition Packaging <http://ODMA.info/dev/devNotes/2007/09/d070901c.htm>
- This version: 0.05 Runtime Packaging: 0.58beta <http://ODMA.info/dev/devNotes/2006/11/d061101n.htm>.
- Downloads:
- d061101n.txt: 0.00 13,983 byte file dated 2007-04-10-23:15, Manifest for the d061101n 0.58beta archive
- d061101n-ODMJNI1.0-0.58beta.zip: 0.00 1,577,087 byte file dated 2007-04-10-23:15. Review the manifest to determine whether it is worthwhile to download the Zip archive.
- ODMJNI100-0.58beta.txt: 0.02 12,517 byte file dated 2007-04-10-15:30, narrative manifest of the ODMJNI 1.0 runtime archive
- ODMJNI100-0.58beta.zip: 0.02 121,739 byte file dated 2007-04-10-15:31 complete runtime package for the 0.58beta release of ODMJNI 1.0
{Author Note: this is a placeholder for the 0.58beta Integration. There will be code. Initially, this is also a place for notes created during early stages for items to remember to handle in the 0.58beta update and integration.}
Additional details are found in the manifest file for download of the code and scripts.
Three steps are defined and implemented for simplified deployment of the executable code:
- The OdmJniBind class is updated to provide for automatic location of Java's awt.dll library. This library is required for discovery of the GUI application's HWND handle and communication of that handle to the ODMA native code.
This is accomplished by having the Java Runtime Environment always be used directly in initiation of the application so that Windows will look in the JRE bin/ directory for additional DLLs that are called for.
As further streamlining of operation and reduction of the application footprint, the JRE jawt.dll and awt.dll libraries will not be accessed by ODMJNI unless an AWT Window is supplied to the OdmJniBind.application() method.
- Procedures for creating and deploying Java .jar files are added to the development tree. This allows runtime deployment with easier incorporation in an application's class path and jar structures.
This eliminates the need to deploy the odmjni100.dll to a separate Windows location and library path so long as it is alongside the executable Jar file of the Java application program.
- Elementary regression tests of the deployment package are created. These confirm correct operation with both the runtime .jar packaging and with the file-system directory class paths.
The Clicker test application is also incorporated into an executable Java archive for demonstration and confirmation that the runtime is configured properly alongside the application. The Clicker.jar is distributed as part of the runtime package.
xxx
xxx
- Hamilton, Dennis E.
- ODMJNI 1.0 info.odma.odmjni100 Java-OdmNative Bridge - Runtime Packaging: 0.58beta Integration. AIIM ODMA Interoperability Exchange, ODMdev Development Note page d061101n 0.05, September 25, 2007. Available with any downloadable software at <http://ODMA.info/dev/devNotes/2006/11/d061101n.htm>.
![]() |
created 2007-02-24-19:04 -0800 (pst) by
orcmid |