ODMdev: ActiveODMA Development Framework

devNote d061101
 info.odma.odmjni100 Java-OdmNative Bridge
0.58 beta Runtime Packaging

ODMdev>devNotes>
2006>11>

d061101n>
0.05 2008-04-23 21:12 -0700


{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.}

1. Overview

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:

  1. 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.
       
  2. 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.
       
  3. 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.

 

2. Developer Notes: Implementation

2.1 Locating Java's Windows Runtime Libraries

2.2 Creating Runtime Zip and Jar Files

xxx

2.3 Creating Confirmation Tests for 0.58beta

xxx


Attribution:
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>.
Revision History:
0.05 2007-09-25-13:26 Link to the 0.59beta draft
The next version is linked and the continuation of packaging in its own folio is also mentioned.
0.04 2007-04-10-23:29 Include d061101n-ODMJNI1.0-0.58beta.zip Development-Tree Updates
The complete updates to the accumulated 0.50-0.57beta drops are also made available for download.
0.03 2007-04-10-16:32 Include ODMJNI100-0.58beta.zip Runtime
The runtime package is completed and made available for immediate download by the developers.  The complete developer tree source code update and the narrative materials will be provided as a further update.
0.02 2007-03-18-17:14 Redefine 0.58beta
The project is redefined in line with the adjustments that followed introduction and completion of 0.57beta.  This stage is now devoted to developing an initial run-time packaging that can be used separately from the source code and testing development tree.
0.01 2007-03-05-17:54 Modify to reflect introduction of 0.57beta and deferral of full exceptions to here
A more involved exception check is needed for wfDocId and the other cases might as well be handled by shared native implementations too. [update 2007-03-18 This improvement is moved to 0.59beta].
0.00 2007-02-24-19:04 Provide Placeholder for Material
Create placeholder that will be populated with information as the 0.58beta integration is defined and then implemented.

Construction Structure (Hard Hat Area)
Creative Commons License You are navigating ODMdev.
This work is licensed under a
Creative Commons Attribution 2.5 License.

created 2007-02-24-19:04 -0800 (pst) by orcmid
$$Author: Orcmid $
$$Date: 08-04-23 21:12 $
$$Revision: 44 $