I have a web application thats being deployed as an ear, currently this contains some configuration parameters for servelts and ejbs etc, e.g. name of a database, host name for the database etc. Currently these are spread between properties files, ejb-jar.xml etc. Obviously from a deployment point of view i dont want to create and distribute different ears. Does anyone have any sensible ideas of where i could store and obtain configuration information at runtime.