|
Server Item Types |
|
|
To call the Server Item Types dialogue use "Project | Server Item Types" menu.
With this dialogue you can add a new Server Item Type or update an existing one. A type definition consists of three parameters:
A Server Item Type denotes a certain type of file items that has a specific role and location on the web server. For example; java class files are executables and should exist under "/WEB-INF/classes" directory on the server. Therefore a java class is a Server Item and needs a special treatment. What is a Server Item and what is not? Although all of the files used in a web site should be located on the web server, we do not call them all Server Item. For instance; Web pages, image files and java scripts are not Server Items. They are web files which means they are open to everyone to browse since they are there for. Server Items are generally executables or data files which have predefined locations on the web server and they are not accessible directly by the users of the web site. Why do we need Server Item Types? The answer is "to deploy Server Items to their location in the web server". Here is the scenario:
When we build the project, the Application Studio will deploy the myclass1.class and myclass2.class to the location "/WEB-INF/classes" on the web server
|