When a Fiz application is deployed to Tomcat or some other application server, its deployment directory has the following contents:
static fiz ext WEB-INF app config css ext ext ext1 config css ext2 config css fiz config css lib web.xml |
There may be additional directories or files defined by individual applications or extensions. Overall, the directory structure conforms to the standards expected for Java servlets, with additional conventions defined by Fiz.
Contains static resources such as images and Javascript files that will be accessed via URLs when the application is deployed. For example, the URL htt
p://www.mycompany.com/static/images/xyz.gif
will map to the file web/static/images/xyz.gif
. Application-specific resources can be placed in this directory and its children, except that the subdirectories fiz
and ext
are reserved for use by Fiz and extensions, respectively.
Contains static resources provided by Fiz extensions. Each extension stores its static resources in a subdirectory named after the extension.
Contains static resources provided by Fiz.
Contains files used internally by the application that are not directly accessible via URLs.
Contains internal files defined by the application.
Contains application-specific configuration datasets. Datasets in this directory can override or extend Fiz configuration datasets such as main
.
Contains application-specific CSS templates. Files in this directory can also be used to override Fiz CSS templates.
Files in this directory and its children can be used to override the configuration datasets and/or CSS templates for extensions. Not commonly used.
Contains internal files defined by extensions. Each extension occupies a subdirectory of WEB-INF/ext
named after the extension, which typically contains config
and/or css
subdirectories.
Contains internal files defined by Fiz.
Contains configuration datasets defined by Fiz.
Contains CSS templates defined by Fiz.
Contains .jar
files containing Java library packages used by the application, including the Fiz file fiz.jar
.
The deployment descriptor for the application.