This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Java Configuration Framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java Configuration Framework" Watch "Java Configuration Framework" New topic
Author

Java Configuration Framework

Peter Smith
Greenhorn

Joined: Feb 03, 2004
Posts: 5
Is there a framework availalable that one can ise in an application to read its configuration files? :roll:
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Ewe! You said the F word.
To answer your question, check out the Preferences API. This is what you want.
Framework - My least favorite Buzz word.


GenRocket - Experts at Building Test Data
Peter Smith
Greenhorn

Joined: Feb 03, 2004
Posts: 5
Thanks Gregg!
Thats exactly what I wanted.
Peter Smith
Greenhorn

Joined: Feb 03, 2004
Posts: 5
I also found the following:
1. JConfig at http://www.jconfig.org/
2. JFig at http://jfig.sourceforge.net/
edward lea
Greenhorn

Joined: May 08, 2010
Posts: 1
Please take a look at this URL:
http://issues.apache.org/jira/browse/CONFIGURATION-394

The Configuration framework which we're looking for it is something on top of Apache Commons Configuration and must support Concurrency Issues, JMX issues and most of stores(e.g .properties file, .xml files or PreferencesAPI).

What weblogic team provides on 'Administration Console' is intersting which through it you can have transactional(atomic) updates on configurations so that are registered listeners be notified.

The Apache guys insist that this project is out of scopes of Commons Configuration, maybe!

I've attached a simple configuration framework, take look please.
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3023
    
  35

"java developpper", please check your private messages regarding an important administrative matter.


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

Please note that the original post is from February 2004. The original poster is most likely not still waiting for an answer.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
wood burning stoves
 
subject: Java Configuration Framework
 
Similar Threads
what is log4j.properties , why we need this. how to create this in java project using eclipse IDE
missing hibernate.cfg.xml?
Avoiding server restart after changes in property file
Which Presentation Layer Framework is best except Struts?
Struts 1.0 issue with ActionForm