Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2007

Tip: Looking for answers? Try searching our database.

Loading complex configuration

Thread view: 
Toki - 10 Aug 2007 15:11 GMT
I want to have complex configuration. I mean that it is not simple
text key-value pairs. But it should be lists, maps, objects. This have
to replace my faces-config.xml managed beans properties, because I
have many settings defined in compile time and I need more powerful
library.

Please help me, what library is the best for this? Maybe it can be
XmlBeans, jakarta-configuration ???
Manish Pandit - 13 Aug 2007 11:33 GMT
> I want to have complex configuration. I mean that it is not simple
> text key-value pairs. But it should be lists, maps, objects. This have
[quoted text clipped - 4 lines]
> Please help me, what library is the best for this? Maybe it can be
> XmlBeans, jakarta-configuration ???

You can consider using xstream (http://xstream.codehaus.org/). It is
very straightforward and easy to use - specially if your configuration
is complex and can be best represented via XML. I have used it for
Lists, but I am sure you can use it for Maps too.

-cheers,
Manish


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.