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