sealw · 2008-12-30 10:48:24 · 阅读: 496 So don't do hardcoding, otherewise you need recompiling in case of change. J2EE encourages the use of datasource configuration in app server。