The usual way is to use a build tool (Ant say) to package up your web 
application code for production deployment (WAR, EAR etc..). The application 
server / servlet container usually takes care of deploying that. 

In practice, you will want to "hot patch" files onto a production server 
without the hassle of such packaging, and if you are used to ASP.net/PHP web 
apps you'll get frustrated that J2EE servers are not always good at handling 
class changes (JSPs are ok if you don't precompile). 

We've found no real answer to this problem other than scheduling time to 
restart Tomcat after class redeployment. This could be us getting it wrong with 
our deployment methods, but although we try and free up as much stuff as 
possible using a context listener, including static members we find reloads 
within Tomcat do not release enough memeory to make it a viable alternative to 
restarts. We'll look at a dual server setup next month I believe.


> -----Original Message-----
> From: Woodchuck [mailto:[EMAIL PROTECTED]
> Sent: 09 March 2005 15:37
> To: Tomcat Users List
> Subject: Re: development / production server
> 
> 
> correct me if i'm wrong, but if you do that, you would be turning your
> production server into your development server!
> 
> yikes.
> 
> woodchuck
> 
> --- Ben Kim <[EMAIL PROTECTED]> wrote:
> > 
> > What is the common practice to handle file sync between development
> > server
> > and production server? Is there a trivial way in netbeans to upload
> > the
> > files as frequently as I would, just by saving it locally, without
> > using
> > the version control systems or uploading through the manager/html
> > page?
> > 
> > Is it possible to mount a remote directory (sftp, hopefully) like a
> > local
> > directory?
> > 
> > Thanks.
> > 
> > Ben Kim
> > Database Developer/Systems Administrator
> > 434E Harrington Tower / College of Education 
> > Texas A&M University
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
>       
>               
> __________________________________ 
> Celebrate Yahoo!'s 10th Birthday! 
> Yahoo! Netrospective: 100 Moments of the Web 
> http://birthday.yahoo.com/netrospective/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com";>www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to