You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Kent Tong <ke...@cpttm.org.mo> on 2004/10/04 12:47:07 UTC

disable-caching enables reloading of java code?

Hi,

It seems that setting disable-caching to true enables
auto reloading of Java code, even though the web
application context is not marked as reloadable.
Can anyone confirm this? How does it work?

Thanks!

-- 
Kent Tong, Msc, MCSE, SCJP, CCSA, Delphi Certified
Manager of IT Dept, CPTTM
Authorized training for Borland, Cisco, Microsoft, Oracle, RedFlag & RedHat


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: disable-caching enables reloading of java code?

Posted by Howard Lewis Ship <hl...@gmail.com>.
That's going to be a feature of your servlet container, not Tapestry. 
Tapestry doesn't do any magic in terms of classes (well, it does
bytecode enhancement magic) ... it's just doing a
ClassLoader.forName().  If the class loader created by the servlet
container is smart about reloads, then fine.  I generally only see
class reloads (using Jetty) when I'm running inside the debugger.


On Mon, 04 Oct 2004 18:47:07 +0800, Kent Tong <ke...@cpttm.org.mo> wrote:
> Hi,
> 
> It seems that setting disable-caching to true enables
> auto reloading of Java code, even though the web
> application context is not marked as reloadable.
> Can anyone confirm this? How does it work?
> 
> Thanks!
> 
> --
> Kent Tong, Msc, MCSE, SCJP, CCSA, Delphi Certified
> Manager of IT Dept, CPTTM
> Authorized training for Borland, Cisco, Microsoft, Oracle, RedFlag & RedHat
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
> 



-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org