 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
John McGrath [TeamB] Guest
|
Posted: Thu Aug 28, 2003 1:45 am Post subject: Re: hot-deploy in server |
|
|
On 8/24/2003 at 7:01:15 AM, µËÔ¶Ò« wrote:
| Quote: | I am amazed at the hot-deploy character of nowaday server. Is there
anyone who can explain to me how the server manages to do it.
|
I presume it just looks at the .class file to see if it has changed,
and then loads it if it has.
--
Regards,
John McGrath [TeamB]
|
|
| Back to top |
|
 |
Paul Furbacher [TeamB] Guest
|
Posted: Thu Aug 28, 2003 3:35 am Post subject: Re: hot-deploy in server |
|
|
In <3f489b54 (AT) newsgroups (DOT) borland.com> ?????? wrote:
| Quote: | I am amazed at the hot-deploy character of nowaday server. Is there
anyone who can explain to me how the server manages to do it.
|
Tomcat is a server which does this and all of its source is
available for looking at. Use the "Search in Path" facility
in JBuilder, and point it to the JBuilder/extras/jakarta-tomcat-4.x.y-src
folder and search for "URLClassLoader", or other classloaders, and
read through those sections of code. I just did this and there's
a good bit of reading to do (smileys needed?).
JBoss is also an open source server which hot deploys.
Download it and do a similar search. It may be interesting
to see how the approaches for hot-loading servlets/JSPs and
EJBs compare.
Java Developers Journal had an article on classloaders in
a very recent issue (August maybe?).
Paul Furbacher [TeamB]
Save time, search the archives:
http://info.borland.com/newsgroups/ngsearch.html
Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|