Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to load complex external configurations at a RCP application?
How to load complex external configurations at a RCP application? [message #487348] Tue, 22 September 2009 20:01
Heiko Ahlig is currently offline Heiko AhligFriend
Messages: 62
Registered: July 2009
Member
Hi,
for a complex application, I have to load a complex configuration, which
is stored in external files.

Why external configuration:
On one side is it easier to change some configuration properties without
changeing code and recompile.
On the other side these files , are stored on a network drive, that all
user use the same external configuration.

Why complex:
Different modules (features) needs configurations.
Examples are:
- connection configurations for different connection types (DBs,
AppServers) and also than different target hosts/services.
- properties for a searchsystem, which allows to define search and
result fields for various Pojos and whith this build a dynamic search system

My first approach was define one xml schema and file for every config an
than load it as dom document and loop through this document to read all
and save it in
configuration Pojos.

The second one was, to take all in an sqllite db and read all things
with eclipselink.

My last one was try different "configuration frameworks" like
http://jfig.sourceforge.net/ and http://commons.apache.org/configuration/

But all this approaches aren't real good solutions in my opinion (at the
moment), but I also don't know, how I can solve this.


Has already had have someone a similar problem and how you solved it?

Greetings
Heiko
Previous Topic:RCP Training Classes Open for Registration
Next Topic:Can I control toolbar order?
Goto Forum:
  


Current Time: Fri Apr 26 12:19:44 GMT 2024

Powered by FUDForum. Page generated in 0.03429 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top