🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.api
3 messages
3 total messages Started by ��Զҫ Sun, 24 Aug 2003 11:01
hot-deploy in server
#460
Author: ��Զҫ
Date: Sun, 24 Aug 2003 11:01
3 lines
1159 bytes
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.
thanks
Re: hot-deploy in server
#469
Author: John McGrath [TeamB]
Date: Thu, 28 Aug 2003 01:45
12 lines
1262 bytes
On 8/24/2003 at 7:01:15 AM, ��Զҫ wrote:

> 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]
Re: hot-deploy in server
#470
Author: Paul Furbacher TeamB
Date: Thu, 28 Aug 2003 03:35
32 lines
2271 bytes
In <3f489b54@newsgroups.borland.com> ?????? wrote:

>  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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads