[4310] in java-interest

home help back first fref pref prev next nref lref last post

Java talking to a CGI program

daemon@ATHENA.MIT.EDU (Laurent Duperval)
Fri Dec 15 20:28:42 1995

From: laurent@Grafnetix.COM (Laurent Duperval)
Date: Thu, 14 Dec 1995 11:38:20 -0500
To: java-interest@java.sun.com

I'm trying to write a Java
interface for a CGI interpreter.  As it is, I must write some Pascal-like code
which is sent to the interpreter.  The interpreter can create Forms and
receive and process requests.  I'm trying to implement a Java interface to
this CGI interpreter.  The original interpreter receives the Pascal-like code,
builds a form according to the content of the file, processes the form's input
and the outputs the information.

The CGI interpreter is the front-end to another more complex backend.  The CGI
interpreter allows a connection to the backend according to the code in the
Pascal-like file (or script, if you want).  How can I simulate this type of
behaviour with Java i.e. how can I have my Java applet speak to the
interpreter and get the information returned by the interpreter?  Is it at all
possible or are security restrictions too tight?  I don't (yet) have access to
the CGI interpreter's code so I'm not sure how the connection is established.
Is it possible for a Java applet to "speak" directly to a remote process
without that process being a java applet or application? If so, where can I
start looking to understand how it works?

Thank you for your help.

-- 
Laurent Duperval, Systems Analyst       Grafnetix Systems Inc.
Tel: (514) 861-3389                     777, de la Commune Ouest
Fax: (514) 866-6206                     Suite 101, Montreal, Qc
Laurent@Grafnetix.COM                   Canada, H3C 1Y1
URL: http://www.grafnetix.COM  
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post