On Thu, 12 Jun 2014 16:32:11 -0300, Ilya Obshadko
<ilya.obsha...@gmail.com> wrote:
Hey guys,
Hi!
Could anyone explain - is that possible to enable live class reloading
for user-defined packages?
No. Tapestry and Tapestry-IoC can only do that due to having their own
classloaders, so classes are changed when loading. It only works when and
because Tapestry or Tapestry-IoC are instantiating the classes to be
live-class-reloaded.
For example, I would like to implement live reloading for Hibernate
entities and enum classes that I use in my application (the former
probably requires Hibernate re-initialization, while the latter might
require
reloading of any other dependent classes). Is it possible to do that?
Nope. Tapestry's and Tapestry-IoC's live class reloading are very specific
to their own context (proxied services in Tapestry-IoC, pages, components
and mixins in Tapestry). Doing that in a generic way is a way more complex
problem. As Lance said, JRebel is the way to go for whole JVM live class
reloading.
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org