Changes between Version 5 and Version 6 of DJWS


Ignore:
Timestamp:
2011-02-01T14:40:58+01:00 (14 years ago)
Author:
jvelde
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DJWS

    v5 v6  
    22Inside the GCC project, you will find a folder called [http://www.molgenis.org/svn/gcc/trunk/handwritten/webserver/ webserver]. This is a fully functional, custom-written webserver in Java, nicknamed the 'DJWS' (danny joeri web server). It currently takes 3 seconds (could be faster if we rework certain servlets) to start up, and 1 second to kill. This means it's exceptionally suitable for rapid testing of web applications, because servers like Tomcat are much more 'heavyweight' and generally much slower to start and stop due to smart caching and other advanced features.
    33
    4 It is ready for immediate use, just run '[http://www.molgenis.org/svn/gcc/trunk/handwritten/webserver/RunStandalone.java RunStandalone.java]' as a Java application and you're set.
     4It is ready for immediate use (after step 1), just run '[http://www.molgenis.org/svn/gcc/trunk/handwritten/webserver/RunStandalone.java RunStandalone.java]' as a Java application and you're set.
    55
    66However, there are three important things to notice!
     
    99
    1010=== '''1) The default way of getting the datasource is in Tomcat is from the servlet context''' ===
    11 In order to use DJWS, you must add the following line to your 'myapp.properties' file:
     11In order to use DJWS, you must add the following line to your 'myapp.properties' file and regenerate:
    1212
    1313{{{