![]() |
Installation |
|
Here's how to install and run the ADL middleware server. These instructions have been written with Unix in mind, but it should be easy to adapt them to other platforms. ContentsPreliminariesThe middleware is implemented as a set of servlets packaged into a web application. It's written in Java and Python, but it comes bundled with Jython, a Java interpreter for the Python language, so effectively the only language dependency is Java. Thus the first things to install are:
In addition, if you will be connecting the middleware to a relational database you will need a JDBC driver for that database. Drivers can be obtained from database vendors; here are some quick links to drivers: Download & installDownload and unpack the middleware
web application. The middleware's web application directory tree
(hereafter referred to as M) is self-contained and the only
thing you need to do is point your servlet container at it. For
Tomcat this means either placing the directory in Tomcat's
Next, make any JDBC drivers visible to the middleware, either by
adding the relevant JAR files to the RunTo run the middleware as a web application, simply start the servlet container. For Tomcat this means running a command like
Note that the middleware services are loaded by the servlet container on demand, and thus configuration problems may not be immediately apparent. RMI serverThe middleware provides an RMI server that can be run either from
within the servlet container or standalone. By default the middleware
is configured for the first option: it starts the RMI server
automatically when the servlet container starts, and the RMI server
can be controlled thereafter using the To run the RMI server standalone, set the
In either case, the RMI server requires that an RMI registry be running on the same machine. By default, the middleware is configured to create and run the registry. Another option is to run the registry as a separate process. The middleware's interface classes must be visible to the registry (the middleware does not use RMI's dynamic class loading facility), so to run the registry separately use a command like
ConfigureThe middleware will generally require configuration to make it useful for your purposes and situation. By default the middleware is "open," that is, it is configured with no access control. In restricting access to your server you may want to take into account the following potential privacy and security concerns:
Access to middleware services can be restricted through the
middleware and/or through the servlet container. Access to the
Another security consideration is result set sharing, which is
controlled by the |
last modified 2009-02-06 22:43