The JadeHttp.dll library supports TCP/IP and Internet named pipe connections.
A Web-enabled application containing HTML documents opens a pipe and listens for input. When input is received, it is processed and a reply is sent to the Web browser. The application then continues to listen for input.
If a start-up form is defined for a Web-enabled application, it is assumed that the application will use JADE forms. If no start-up form is defined for a Web-enabled application, an HTML page is used.
When a request is received by an HTML document‑based application, the
If no HTML home page is defined for the application, the processing is as follows.
When the application is started up, an Internet TCP/IP or named pipe connection is created and the application then listens asynchronously on that connection.
When the input is received, it determines if it is the initial request. If it is the initial request, it determines the default home page.
If the default home page is not specified in the application, an error message is formulated by using the
If a home page is found, the following processing occurs.
A transient instance of the corresponding class for this page is created.
The message
The
It also includes the _ jadeReferenceClass class name and the _ jadeDocumentName HTML document name as hidden fields in the string. In addition, the session id of the
The transient instance is deleted and the application goes back to waiting for input.
If it is not the initial request, the _ jadeReferenceClass and _ jadeDocumentName values are extracted from the incoming string and a transient instance of this class is created.
The rest of the processing for HTML pages is the same as that for the home page, except that the JadeHTMLClass::