i-net Clear Reports

Implementation as browser / server architecture

Integration of i-net Clear Reports in a browser / server Java application

Server

On the server side you need to start the report listener in your application. After the report listener is started it listens for client requests. If a new client request has been received the listener does the following:

  • Open a new socket for this client request
  • Create a new engine for the client request if necessary or if an engine for this client already exists in the engine pool then it calls this engine
  • Send the parameter from the request to the engine
  • Send the report back to the client

The following line starts the report listener thread:

// Create the Listener that listens for client requests and
// that hands the client requests over to the engine
 
static Listener reportListener = new Listener();

Tip: Add this line to the main class (java file that contains the main() method) of your server application.

Browser

The client is the report viewer Java applet in a browser. The HTML page that the report viewer Java applet contains comes from the Java server application. You can request this HTML page with the report viewer Java applet that presents the requested report, in the following ways:

  • enter the request directly in the address field of your browser
  • put the request as a link into an HTML page,
  • call a report from an applet

(See examples for a report request and see url parameters)

Using i-net Clear Reports as Java server application

If you do not have a Java application on the server side in which you can integrate i-net Clear Reports or you don't like to implement a server application you can use i-net Clear Reports as a server application and you only need to request the report in the browser.

Server

In this case you use i-net Clear Reports as a Java application without the integration in your Java application. To do this follow the steps of the application installation.

After you have installed the servlet i-net Clear Reports you can request reports from a client.

Browser

The client is the report viewer Java applet in a browser. The HTML page that the report viewer Java applet contains comes from the Java server application. You can request this HTML page with the report viewer Java applet, that presents the requested report, in the following ways:

  • enter the request directly in the address field of your browser
  • put the request as a link in an HTML page,
  • call a report from an applet

(See examples for a report request)

See Also:


i-net software strives to provide accurate product documentation. Please give us your feedback using the form below.
NOTE: This form is for documentation feedback only. For technical assistance, please send an email to clearreports@inetsoftware.de.

 

© Copyright 1996 - 2012, i-net software; All Rights Reserved.