Light weight class creation

Discussions

Web tier: servlets, JSP, Web frameworks: Light weight class creation

  1. Light weight class creation (1 messages)

    Is there a way of optimising JIT compilation of java classes with Tomcat that isn't JSP? Basically JSP without any of the servelet hooks. For want of having clean JSP I am pulling most if not all business logic back into classes that dropped as a jar in the common/lib directory. What I'd like to be able to do is to put these application/business logic .java files into an area for runtime compliation, this would stop the process of having to redistribute my jar (of course stopping and starting the services), for each small change.

    Any ideas?
  2. Light weight class creation[ Go to top ]

    Hi,
    Most web servers servers support hot deploy. To configure tomcat for hot deploy you have to edit the tomcat/conf/server.xml and modify this line for hot deploy
    <Host name="localhost" debug="0" appBase="webapps"
           unpackWARs="true" autoDeploy="true"
           xmlValidation="false" xmlNamespaceAware="false">

    Best regards, Mircea