Application Design |
Active Web |
When you are developing your Active Web applications it is good to follow a few simple design rules:
Clearly separate your design into tiers of display, logic and persistence.
When referencing components always try to use paths relative to the root of your application context as this makes your application portable.
Decide where in your application you are going to validate user input and how that is to be achieved. What combination of client and server validation is required?
Plan internationalisation from the beginning as it is always harder to add it latter in the development.
Identify how you can separate persistence from the logic of your application; there by allowing implementation and testing of logic with a dummy persistence layer.
Consider deployment in other application servers as not all servers allow access to the file-system of the web application.
Irrespective of whether you are using the bundled application server or one of the supported servers (see Supported Web Application Containers) development of a web application requires you to edit and debug the application source pages.
If you have installed Active Web and are using the built in application server then your web application source code can be found in the webapps/root directory of your installation. If you are developing in a third party container your web application source code will be in a location specific to that container and you should consult your chosen containers documentation for its location. In the case of Tomcat if the concerto.war file was deployed in the webapps directory then the web application source code would be extracted to webapps/concerto directory of your Tomcat installation given an out of the box configuration.
Topic ID: 150032