Read properties from database
I am very new in Spring's word so I wuold like to ask you to help me.
I have a property file called config.properties (a simple name=value property file). Now I use to get the properties and values via the application context using PropertyPlaceholderConfigurer:
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
I would like to change it: read the properties from the database instead of the property file. How can I do this?
Create the table in the database, insert some initial values, implement a new class which extends the PropertyPlaceholderConfigurer,...
Thanks for your help!
By edustreet in forum Database
Last Post: 06-13-2008, 01:12 AM
By Christian in forum Enterprise
Last Post: 02-12-2002, 06:04 AM
By Saiful in forum VB Classic
Last Post: 03-04-2001, 07:28 PM
Last Post: 05-24-2000, 05:26 AM
By Richard in forum VB Classic
Last Post: 03-29-2000, 07:05 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL