Try OpenEdge Now
skip to main content
Online Help
Data Object overview : Concepts : Data Object application WAR file structure
 

Data Object application WAR file structure

The below table describes the directory structure of a Data Object Web application (WAR file):
Folder/File
Description
/
The Data Object application (web application) root directory. This directory contains META-INF, static, WEB-INF, and index.html.
/META-INF
Contains only the MANIFEST.MF file.
/static
Contains the static HTML pages, images (gif, jpeg), style sheets (css), and any other static files you want to locate on the Web server.
Also contains Data Service catalog (.json) file.
Note: The Data Service catalog .json file is copied from the WebContent node in your Data Object project directory.
/WEB-INF
Contains the configuration files for the Data Object application. This directory contains adapters, classes, lib, web.xml, appSecurity-xxxxxx.xml files, and mvc-dispatch-content.xml.
/index.html
This HTML page is an OpenEdge supplied template welcome page.
/static/auth
Contains HTML files for use in logging into and out of Data Object application. The files login.html, logout.html, and loginfail.html are OpenEdge supplied template pages that support the HTTP form-authentication model.
/static/error
Contains OpenEdge supplied HTML template pages for customizing HTTP error returns.
Note: This will override the Java containers default error pages and provide a consistent output for all Java containers.
/static/home.html
This HTML page is an OpenEdge supplied HTML template landing page for successful log in and log out operations.
/WEB-INF/adapters
Contains the adapter application runtime properties runtime.props file and service .paar files.
/WEB-INF/classes
Contains the class files used by the Data Object Services. This is where .class files are loaded from when the Data Object application is executing.
Also, contains the REST adapter log log4j.properties file.
/WEB-INF/lib
Contains the runtime library files. The library files are copied from your OpenEdge installation directory $DLC/rest/lib.
/WEB-INF/appSecurity-xxxxxx.xml
The appSecurity-xxxxxx.xml files are OpenEdge supplied template security configurations for common authentication models.
/WEB-INF/mvc-dispatch-context.xml
This file is OpenEdge supplied template configuration file for spring MVC dynamic page generation.
/WEB-INF/users.properties
This file contains the user-level access information.
/WEB-INF/web.xml
This file is the Data Object application descriptor that contains the OpenEdge supplied objects for managing security, dynamic content, static content, and AppServer data services.