Title: JAT
Description: This class is responsible for JAT project activation.
You can use this class in your standalone application (e.g. batch program, server application, ect.)
or Web application.
In case of Web Application you can use the servlet
com.jat.core.ProjectServlet to instantiate this class.
A configuration file is needed to instantiate this class.
You can pass the configuration file name in the main method (in case of standalone application) or in the servlet initialization configuration of your application server.
Otherwise the default configuration file name will be used.
Configuration:
The following sections must be configured:
- general:
- date_format: date format (ex. dd/MM/yyyy)
- long_date_format: long date format (ex. dd/MM/yyyy HH:mm)
- version: project version
- config: further configuration file name list (absolute or relative path included)
- log: logging information (see
com.jat.core.log.LogManager )
- init: the list of object to be pre-loaded; these objects must implement the
com.jat.core.init.Initable interface
- xml_object: the configuration for the business object XML representation (see
com.com.jat.business.BusinessObject and
com.jat.business.BusinessObjectList )
- schema (optional) the XML schema filename (with absolute or relative path)
- list the name of the tag for a list of objects (see
com.jat.business.BusinessObjectList . It must be conformed to the XML schema, if used
- object the name of the tag for an object (see
com.com.jat.business.BusinessObject .It must be conformed to the XML schema, if used
- property the name of the tag for a property of an object (see
com.com.jat.business.BusinessObject .It must be conformed to the XML schema, if used
- authentication the class name responsible for authentication, if needed. This class must extends the
com.jat.business.authentication.Authenticator class
Copyright: Copyright (c) 2004 -2005 Stefano Fratini (stefano.fratini@gmail.com)
Distributed under the terms of the GNU Lesser General Public License, v2.1 or later
author: stf version: 1.1 See Also: com.jat.core.log.LogManager See Also: com.jat.core.config.Config |