tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkus <kk...@hotmail.com>
Subject Re: Value can't be changed in bean extended from AbstractController of Spring
Date Fri, 07 Dec 2007 21:55:25 GMT

In my another project (JBoss+Spring+Hibernate), I see my changes take effect
immediately in Eclipse IDE Debug without restart/redeployment. I think
JBoss' ClassLoader is working properly for swapping new changes. All these
changes occur in classes extended from SimpleFormController. I use
hot-swapping daily on that project but don't study how it works.

This project is Tomcat+Spring+Hibernate, and changes can be reflected in
class extended from SimpleFormController, not from AbstractController. So I
doubt there is something wrong on ClassLoader for AbstractController but no
clue how to find it out.


Konstantin Kolinko wrote:
> 
>> In this case should I expect to see ... due to Java hot-swapping when
>> breakpoint is reached?
> 
> Obviously, if you do not see it working, it probably does not.
> 
> You should familiarize yourselves with code hot-swapping technology,
> its implications, and how it works upon tomcat, web application
> deployment, and how your IDE interacts with tomcat while debugging.
> 
> Have you searched for any successful examples of using hot-swapping
> while debugging in the IDE that you are using?
> 
> I am not yet familiar with that new hot-swapping technology, and would
> like to know your findings:
> 
> As far as I have observed, Eclipse IDE restarts web application when I
> do changes in its java classes. Sometimes that restart is really fast.
> May be it is what you observed with your controller?
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Value-can%27t-be-changed-in-bean-extended-from-AbstractController-of-Spring-tf4944277.html#a14221448
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message