Improve Java Web Development Server Startup Time

阅读更多
  1. If using SpringFramework, try to add this in applicationContext.xml 
     
    "  default-lazy-init="true"  ...
  2. If using SpringFramework 3.x or above and enable servlet 3.0, add this in web.xml and update the spring-web-x.x.x.RELEASE.jar
    web.xml:  metadata-complete="true"
    spring-web-x.x.x.RELEASE.jar:Remote the file : \META-
     INF\services\javax.servlet.ServletContainerInitializer。to disable auto-scanning web config in  servlet3.0
  3. Upgrade JDK/JVM to the latest version
  4. Disable Xdoclet Maven Plugin

你可能感兴趣的:(Improve Java Web Development Server Startup Time)