Jan K. Labanowski: Computational Portals for Chemistry  

Self describing examples.

While we only show here one example, some examples need additional files and some examples are producing additional output files. We wanted to make examples self describing by providing templates and XML files which describe needed files and parameters. All examples use exactly the same JSP pages and find out which prompts to ask, which files to copy, and how to run the calculations, from the XML files.

All examples are collected under a top, common directory, and to add or remove an example one only needs to add/remove directory with XML description files and templates. The JSP page and utility classes which display the menu of available examples would correctly display current example set. The directory with example templates and descriptor files is:

drwxr-xr-x   2 tomcat4  tomcat4      512 Feb 20 02:57 example1/
drwxr-xr-x   2 tomcat4  tomcat4      512 Nov 17 08:19 example1-hwc/
drwxr-xr-x   2 tomcat4  tomcat4      512 Nov 17 08:18 example2/
drwxr-xr-x   2 tomcat4  tomcat4      512 Nov 17 08:19 example2-hwc/
drwxr-xr-x   2 tomcat4  tomcat4      512 Nov 17 08:18 example3/
drwxr-xr-x   2 tomcat4  tomcat4      512 Nov 17 08:18 example3-hwc/