Bob Hall wrote:
--- Paul Singleton <[EMAIL PROTECTED]> wrote:

 >> I want to deploy the same war into different
(5.5)
 >> Services (e.g. "test" and "live"), and want it
to
 >> discover where it is and behave differently.

I didn't explain *why* we want to do this, because I
don't want to spend time debating it with folk who
prefer to do it the other way ;-)

But here are a couple of plus points for discovery
and self-configuration (DSC):

1) our dev, test and demo configurations behave in
convenient ways we don't *ever* want in our live
apps; with DSC we are more confident that, even if
deployment misteaks are made, we won't be
embarrassed


Paul,

If your app talks to a database, have you considered
using a database table to map IP's to deploy modes?

No, each app has its own database, and in our case, I'm
happier building this table into our (common) application
bean.

But you've given me an idea: I may label each database
internally as "test", "live" etc. and get the apps to
check this too when they start...

Many thanks - Paul


-Bob


____________________________________________________________________________________ Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Paul Singleton
Jambusters Ltd

tel: 01782 750821
fax: 08707 628609
VAT: 777 3904 85
Company no. 04150146


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to