Deployment site

A deployment site specifies a target environment: web application server, language, site information.

Target application servers
Netsilon is currently able to target :
  • PHP application server – Version 4.0.5 or better
  • J2EE application servers – DTD Web Application Version 2.3 or better
Properties
Name Name of the deployment site. For information only.
HTTP server name Name of the server that serves the generated web application. For example: www.mydotcom.com
Root path Also known as document root, gives the path after the server name in the URL of the generated web application. It must start and end with /. For example: / or /test1/.
Access servlets under path Servlet: when a servlet container works in collaboration with an HTTP server, it may impose a path under which servlets are found. For example: if this property is checked and set to /servlet/, a servlet named myservlet and generated from a web file named myservlet.html under the root folder of the navigation model will be accessible under the URL: http://www.mydotcom.com/servlet/myservlet.
Target language extension Extension that ends file names in the target language.
PHP: php or php4 or phtml
JSP: jsp
Servlet: java (should not be changed)
Package as JSP, Servlet:
None: exploded list of generated files
War file: generated files are stored in a Web Application Archive file
File name JSP, Servlet:
Name of the Web Application Archive file when Package as is set to War file. The name of this file (extension omitted) should be the same as the root path if the default configuration mechanism of the application server is used.
Transfer mode No transfer: target files are created in the generation folder corresponding to the current deployment site
File Copy: target files are transfered from the generation folder corresponding to the current deployment site to the directory specified in the property During deployment, copy files to directory:.
FTP transfer: target files are uploaded from the generation folder corresponding to the current deployment site to the target directory using FTP.
During deployment, copy files to directory Name of the directory to copy files to when Transfer mode is set to File Copy. The directory is created if it does not exist.
FTP Server Name of the server that runs the FTP service
FTP Port Port of the FTP service (optional)
FTP login Login name
FTP password Login password
FTP remote directory Name of the remote directory to copy files to; relative to the root for user (cd / after loggin)
FTP maximum client number Maximum number of FTP clients that may run simultaneously.
Layout on disk
Each deployment site creates a directory of the same name under the generation directory. In this directory is a file named version private to Netsilon and a directory corresponding to the target language ( php, jsp, servlet ).

PHP: under the directory named php are all files that make the dynamic web application.

JSP: under the directory named jsp are :

  • directory scripts: all the files ( HTML, jsp ) that make the dynamic web application.
    • directory Web-inf: all the java class files and java library files ( .jar ) needed by the web application

  • directory src: all the java source files created during generation ( web element fragments, business model, support library). These files are compiled during generation and the compilation result stored in the directory Web-inf under the directory script.
  • file compile.bat: a shell script file that contains a command that will compile all java source files in the directory src.
  • file files: it contains the list of java source files to compile
  • file web.xml: it describes the web application as specified in j2ee. This file is created the first time a project is generated. Netsilon preserves the changes brought to this file thereafter. It completes this file during generation and copies it in the directory Web-inf under the directory script.

Servlet: under the directory named servlet are :

  • directory scripts: all the files ( HTML ) that make the dynamic web application.
    • directory Web-inf: all the java class files and java library files ( .jar ) needed by the web application

  • directory src: all the java source files created during generation generation ( servlets, web element fragments, business model, support library). These files are compiled during generation and the compilation result stored in the directory Web-inf under the directory script.
  • file compile.bat: a shell script file that contains a command that will compile all java source files in the directory src.
  • file files: it contains the list of java source files to compile
  • file web.xml: it describes the web application as specified in j2ee. This file is created the first time a project is generated. Netsilon preserves the changes brought to this file thereafter. It completes this file during generation and copies it in the directory Web-inf under the directory script.
 
 
TOC ] Previous ] Next ]