Because of a lapse in government funding, the information on this website may not be up to date, transactions submitted via the website may not be processed, and the agency may not be able to respond to inquiries until appropriations are enacted. The NIH Clinical Center (the research hospital of NIH) is open. For more details about its operating status, please visit cc.nih.gov. Updates regarding government operating status and resumption of normal operations can be found at OPM.gov.

LexAccess

System Overview

I. System tools
  • GNU tomcat web server (6.0.16) is used as the web server.
    • bin: shutdown.sh, startup.sh
    • webapps: WebLexAccess
    • A port number 8100 is used for this web server.
  • GNU ant is used for development and deployment tool.
    • main: Compile Java sources
    • deploy: Compile, deploy application to Java servlets container
    • clean: Delete old build and dist directories
II. Project directory

The directory and file allocations for this project are relatively easy. A brief directory allocation is shown as follows:

------------------------------------------------------
+- WebLexAccess
   |
   +- build.xml: used by Ant
   |
   +- src: all Java beans go here
   |  +- global: global usage
   |  +- LexAccess: lexAccess usage
   |
   +- web
   |  +- html
   |  +- images
   |  +- index.html: home page
   |  +- jsp: all page ui & functions
   |  |
   |  +- WEB-INF
   |  |  +- classes
   |  |  +- lib: application resources jar files
   |  |  +- web.xml: project web parameters setup
------------------------------------------------------
III. Naming convention

Naming convention is not strictly enforced in this project due to the limited development time. However, the naming convention for files can be summarized as follows:

  • XXX.jsp: a jsp generates html page (with GUI).
  • setXXX.jsp: a jsp which handle the form request from XXX.jsp (POST)
  • getXXX.jsp: a jsp which handle the hyper link request (GET).