Karan Check me out on http://pythonicway.blogspot.com/
karan khosla wrote:Are you using ajax or jquery in your application or rather the page for which you want to reload the servlet everytime. If yes than it's quite possible to achieve without this classloading stuff.
Hope this Helps!
Regards,
Karan
Karan Check me out on http://pythonicway.blogspot.com/
karan khosla wrote:Well Sir you have to first clear me that are you using ajax or jquery in your application? If not than i guess it's a bit long path.
Karan Check me out on http://pythonicway.blogspot.com/
Paul Clapham wrote:I have no idea why client-side technologies like AJAX would have anything at all to do with hot deployment of servlets, which is entirely a server-side requirement. But perhaps Karan will enlighten us eventually.
In the meantime, I have to ask why you are so interested in this? That book was written back in the dark ages -- the page you linked to is dated March 2001, ten years ago -- which is why you can't find the other pages you were looking for. A lot of servlet containers these days have addressed that problem since that time and support hot-deployment via a configuration option. Or were you considering writing your own servlet container?
Jeremy Flowers wrote:I figured the outdated article if it was still around somewhere would give me enough information to understand how you'd implement loading a servlet repeatedly using a classloader, which I guess is the real "nut I'm trying to crack"!
Paul Clapham wrote:
Jeremy Flowers wrote:I figured the outdated article if it was still around somewhere would give me enough information to understand how you'd implement loading a servlet repeatedly using a classloader, which I guess is the real "nut I'm trying to crack"!
Okay... but I'm still curious about why you are trying to crack that nut in the first place.
Jeremy Flowers wrote:Classloaders in general are a weak spot for me.
A use case giving a reason why you'd loading a servlet repeatedly with a classloader would also help.
Karan Check me out on http://pythonicway.blogspot.com/
Bear Bibeault wrote:HItting the servlet with a request does not "reload" the servlet. You are confusing reloading with returning a response,
Karan Check me out on http://pythonicway.blogspot.com/
karan khosla wrote:Still i would say correct me if i am wrong.
Karan Check me out on http://pythonicway.blogspot.com/
Do the next thing next. That’s a pretty good rule. Read the tiny ad, that’s a pretty good rule, too.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|