5.2. deployment.props

The deployment.props file contains some useful configuration needed by the servent at deployment time and also the parameters useful for the service itself. The service can access to these parameters at any time while executing ().

The most important parameter is named adapter. It specify the name of the class the servent must instantiate and deploy: the service itself. Because this class is instantiated in runtime by the servent, an empty constructor is needed. Notice that other constructors can be provided, by they will not be used by the servent.

When the service is deployed, some filters can also be specified to run before and after its execution.

These are some of the most significative prameters we can use in the deployment.props file:

applicationName

This is a descriptive name for the application

adapter

Full name for the DBEService interface class (Adapter class). Full name includes the package.

codebase

The relative name to the codebase JAR file. The codebase or anotation is a JAR file that contains different classes not included in the standard Java distribution. This codebase is needed by FADA and the GUI [] in order to know the classes to use

proxy

Full name for the UIFactory [] that implements the GUI. It is not needed if there is no GUI