On 1/22/07, Garth Keesler <[EMAIL PROTECTED]> wrote:

So, if I read you right, I need to do one or the other but not both and
either one does pretty much the same thing. It also appears that doing
it in the Admin page does it for all Axis web services, right?


You are correct about "one or the other but not both."  So why two
approaches?

* Using context.xml makes it easier to deploy a self contained
 webapp that configures its own resources.

* Using the server admin lets you take the same web application
 and deploy it *unmodified* in different environments where you really
 want to connect to different services (such as a testing server, a
 staging server, and a production server).

The same general principles apply to things like configuring JDBC data
sources, EJBs, and pretty much anything else you can look up via JNDI.

Craig

Reply via email to