Java is one of the most popular languages for any web based application. Its portability feature puts ahead of other language. But when it comes to access of hardware and native functions there lies the problem of portability. Even though the Java code is portable the corresponding native function has to compiled in every other OS.
With Ch Java one can develop applications involving Java and native function but still portable. This ability of ChJava being portable, it makes ChJava the right candidate for platform independent JNI application, rapid prototyping and embedded scripting. One of the major attraction of ChJava usage could be with respect to its usage when its applet communicating with the server using JSP and is hosted using a Tomcat webserver. The Ch script that runs in the back end can be modified at any point of time with out restarting the server which is not possible now with a native function alone.
The integration of Ch and Java has been performed using two different technologies namely Ch SDK and Embedded Ch. A Java program can be called from a C program without compiling which was not possible before. And a Ch Script can be called from a Java program through JNI and this Ch Script can be modified during runtime without affecting the performance or stopping the execution.
Release Notes
Ch Java Package for Windows version 1.0, June 19, 2005
Ch Kaffe Package for Linux version 1.0, June 19, 2005
System Requirements
Ch Standard/Professional Edition version 5.0.1 for Windows, Linux, Solaris, and HP-UX, MacOS X, FreeBSD.
Files in Distribution
The Ch Java package contains the following directories:
| /demos | Ready to run Java demo programs using JNI invoked from C | |
| /include | Ch Java Package include files | |
| /lib | Ch Java Package Ch function files | |
| /dl | Ch Java Package dynamic library |
Files in Distribution
The Ch Kaffe package contains the following directories:
| /demos | Ready to run Java demo programs using JNI invoked from C | |
| /include | Ch Kaffe Package include files | |
| /lib | Ch Kaffe Package Ch function files | |
| /dl | Ch Kaffe Package dynamic library |