Results 1 to 2 of 2

Thread: Slow & heavy web application reloading

  1. #1
    Join Date
    Nov 2004
    Posts
    6

    Default Slow & heavy web application reloading

    Hi
    I wonder if anyone has the same problem ...
    Im using Springs MVC with tomcat and I have more than a hundred controllers, url-mappings and other various things defined in my xml files.
    During development time whenever I make the slightest change to any of these config files I have to redeploy the application in tomcat and during each redeployment spring refresh's its beans loading all of the beans and definitions again . This process usually takes more than 30 seconds each time which is way too long .
    Anybody has a good suggestion how to overcome this problem ? Should i report it as a feature request to have a development mode for loading data from context files ?

    Thnx !

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    Could you structure your application into multiple WARs, loading only the part of the application (WAR) you're actually working on? A major downside of multiple WARs like this is a loss of session state between them, but there are ways around that (session state in DB using a cookie as the key, and single sign on solutions like CAS on the authentication front to make the webapps appear as one).

Similar Threads

  1. Replies: 6
    Last Post: Oct 4th, 2010, 01:02 AM
  2. Replies: 7
    Last Post: Apr 4th, 2007, 08:05 AM
  3. Replies: 2
    Last Post: Oct 10th, 2005, 05:12 PM
  4. Questioning the core component
    By Martin Kersten in forum Swing
    Replies: 6
    Last Post: Feb 21st, 2005, 03:45 AM
  5. Replies: 0
    Last Post: Jan 25th, 2005, 05:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •