Writing CGI in Java via JNI and Invocation API


I wrote in Nov. 1997 before the Java servlet API. It ‘s based on the native OS process instead of Java thread. No plugin needed for the web server since it speaks CGI.

The idea starts from when I’m playing with JNI and Java invocation API. One thing I’ve learned JVM can be created from C code (Invocation API)  and invoke any java method from C (not necessarily static void main()).

This entry was posted in java. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s