Results 1 to 6 of 6

Thread: context clossing

  1. #1
    Join Date
    Oct 2007
    Posts
    142

    Thumbs down context clossing

    Hi

    I am deleloping a web application with sts.
    it close the context for each update.

    Is it nor mal ?

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,632

    Default

    Define update here? Do you mean update in data in from your webapp, your do you mean update in code/jsp and that your application is redeploying? If it is the latter, is is perfectly normal.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #3
    Join Date
    Oct 2007
    Posts
    142

    Default update jsp and javascript

    Hi

    What I mean with update is JavaScript and jsp update.
    I am working in the gui.

    I am sure that tomcat is able to redeploy jsp and JavaScript files but with sts I have the spring web application context restated.

    Some time the context is also restarted when I change the method body of my classes. It is really exasperating.

    Regards
    Thank for the quick reply.

  4. #4
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,632

    Default

    The plugin is detecting changes, changes trigger a reload of the application, which before that triggers a destruction of the app context. Nothing to do with the fact that you are using STS it is the default behavior for the server plugins part of the WTP.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  5. #5
    Join Date
    Oct 2007
    Posts
    142

    Post hot deploy

    Hi

    What about hot deploy. Using eclipse with its normal web application layout I had this working with servlet. I didn't have to redeploy my application for each change.

    I count understand if tomcat has to reload the context for a configuration file like web.xml or spring applicationcontext.xml files but not for jsp or javascript file.

    I am suspecting the maven plugin.

    Regards

  6. #6
    Join Date
    Oct 2007
    Posts
    142

    Default The plugin is detecting changes, changes trigger a reload of the application

    Hi

    I have just check http://www.playframework.org/.
    They say that their framework has hot deploy ?
    Have you got an idea kow is that possible.
    This should be the first requirement of a productive framework.

    Regards

Posting Permissions

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