This content has been marked as final.
Show 1 reply
-
1. Re: how to add custom properties to xml?
peterj Feb 21, 2008 3:05 PM (in response to shawnsmsu)The *-ds.xml file is used as a template to generate several (3-6, if I recall correctly) MBeans. Once the MBeans are generated, the *-ds.xml file is ignored. Apps get at the data source by looking up the name (jdbc/LEDataSource in your example) in JNDI which yields one of the MBeans.
For web app properties, those are usually best placed into a properties file accessible by the web app (for example, located in WEB-INF/classes), or you could use the properties service - see the properties-service.xml file.