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