JReport Enterprise Server allows you to run our JSPs on other machines. For example, you can invoke JReport Enterprise Server interface remotely, so that you can conveniently use the Remote Server API to accomplish your tasks. By using JSPs in your web applications, the Remote Server API enables you to perform report set running tasks remotely, to view the report set result directly from the client side, and to administer JReport Enterprise Server, without having to install JReport Enterprise Server on the client machine.
You can find the Remote Server API in the jet.server.api.rmi package in the JReport Enterprise Server Javadoc located in <install_root>\help\server\en\api.
Before using the Remote Server API, you must make sure that:
Set the server.rmiserver.enable property to true in the server.properties file located in <install_ root>\bin.
When JReport Enterprise Server resides behind a firewall, you need to specify a fixed port in order to pass through the firewall and obtain the remote objects from the client side by setting the server.rmiserver.fixed_port property in the server.properties file.
Set the following parameters as the JVM environment variables in the client side:
You have two alternatives for setting these parameters:
-Djrs.remote.host, -Djrs.remote.rmiport and -Djrs.rmi.auth_file (optional) to the batch file that is used to start your application.
|
JReport Enterprise Server can be administered from a remote client by Remote Admin Service API. The administration of a JReport Enterprise Server includes cluster administration, resource administration, security administration, configuration, connection pool management, resource alias management, connection information provider service, and catalog information management.
You can find the Remote Admin Service API in the jet.server.api.rmi.admin package available in the JReport Enterprise Server Javadoc which is located in <install_root>\help\server\en\api.
Before a JReport Enterprise Server can be performed the remote administration operation on, you need to set the following properties in the server.properties file located in <install_ root>\bin in the JReport Enterprise Server side:
For implementation in a standalone server, follow the steps below:
<install_root>\lib directory.If it is in an integration environment, you can add the authentication classes in a folder named classes in the WEB-INF folder.
For example, assuming that the implementation of this interface is com.mycorp.HttpExternalAuthorizedImpl.class, use the command line to start the RMI client:
java -Djrs.httpExternalAuthorized=com.mycorp.HttpExternalAuthorizedImpl ....
Then, restart the RMI client.