Re: Best practice to deply a web app

2009-07-10 Thread carlson weber filho
Great David! That's exactly what I was looking for, excelent solution, thanks a lot! David Smith escreveu: Will Glass-Husain wrote: I generate site-specific war files. I used to do this with an ant script but now I use Maven. With ant you can specify system variables with the -D option

Re: Best practice to deply a web app

2009-07-10 Thread Leon Rosenberg
Also I'm not sure whether you may want to do it, but configureme (https://configureme.dev.java.net) allows you to configure 200 instances of your app in one war file). You specify configurations for specific environments (and, most notably, configuraiton deltas), and set the environment in the inst

Re: Best practice to deply a web app

2009-07-09 Thread David Smith
Will Glass-Husain wrote: > I generate site-specific war files. I used to do this with an ant > script but now I use Maven. With ant you can specify system variables > with the -D option (I do -Ddeploy=sitename) and with Maven you can > choose profiles with the -P option. I keep setting files for

Re: Best practice to deply a web app

2009-07-09 Thread carlson weber filho
But in my case, the client would like to update its software and I have about 200 clients with different databases on different locations. If I understood well your solution, I would generate 200 hundred wars , one for each client? PS: I don't deploy the application on internet, only on my custo

Re: Best practice to deply a web app

2009-07-09 Thread Will Glass-Husain
I generate site-specific war files. I used to do this with an ant script but now I use Maven. With ant you can specify system variables with the -D option (I do -Ddeploy=sitename) and with Maven you can choose profiles with the -P option. I keep setting files for each server in source control an

Best practice to deply a web app

2009-07-09 Thread carlson weber filho
I always had a question that no one had answered me in a satisfactory manner. We are a comapny that develop desktop applications, using Delphi, and now we are migrating some products to Tomcat, using Wicket. When I want to update our software on a client, we replace the executable and run some