Pu-taro
7.30.2009
JNDI Resources
之前用Spring習慣把一些設定檔(如db的url/username/password)寫在config.xml裡
再透過Spring把這些properties load進去
現在沒有Spring要開始改用JNDI
J2EE application server有JNDI
Tomcat則是實作JNDI(Java Naming and Directory Interface) InitialContext給web app
要寫JNDI resources要在
$CATALINA_HOME/conf/server.xml
這個檔寫
詳細內容
JNDI Resources HOW-TO
No comments:
Post a Comment
Newer Post
Older Post
Home
No comments:
Post a Comment