On 20.12.2010 10:41, Yohan Yudanara wrote:
> As expected, live class reload does not work on service without an interface.
> I have try it.
There was a post by Howard detailing the idea behind the live reload.
Search for it and read it to understand in more details.

In simplified words: The idea is that you call the interface methods and
there is a "switch" that sits in-between and monitors your calls. This
switch finds the implementation class and redirects your method call to
the methods of the implementation class of the service.
So if this "switch" detects that there was a change in the
implementation class, it will reload the new version and redirect the
call to the new method.

With this explanation I think it is pretty clear that you should not
even wonder and try if it would work without an interface. It cannot.

JRebel is supposedly a good tool that can be used to have live reloading
in every piece of your code. I have not used it myself.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to