On Thu, 2001-10-25 at 22:21, Gunther Birznieks wrote:
> At 11:09 AM 10/26/2001, brian moseley wrote:
> While I agree this is admirable as a goal, I am not sure that WAR files are 
> the model to follow (and so I am a skeptic).
> 
> Having used war files I can tell you that they are not all they are cracked 
> up to be except in the most generic way and you still have the standard 
> deployment issues.
> 
> 1) if you develop an application at home with some config describing the 
> database connection parameters in the web.xml file in WEB-INF, then you jar 
> up the WAR File and send it to your client, they will still need to edit 
> the web.xml to change the username and password.

I haven't seen this issue while using JBoss and Tomcat. Generally
though, I think this is two-tiered in concept. Why would the web tier be
connected directly to the database? The whole idea of P5EE (I think) is
to provide something that has functionality similar to EJB in J2EE --
ie. the middleware.

For the case with the username/password I think JMX tools generally
allow you to do that sort of run-time configuration. eg. JBoss and
Weblogic have a web-based configuration tool for that kind of thing.

-- 
pgp: http://www.geocities.com/matthewbk/pubkeyw.txt

PGP signature

Reply via email to