Hi guys,

just started a work on a json config instead of our xml/properties one.

Here is the idea
http://svn.apache.org/repos/asf/tomee/tomee/trunk/container/openejb-core/src/test/resources/openejb.json
(not
fully implemented - only resources should work)

I first thought being able to remove properties wrapping but we need it to
know if that's attributes of the resource or config (type, class-name,
provider...)

In the impl i used rhino which is in the jvm since 1.7 and for previous
version you need to add a javascript impl of the JSR 223 (not blocking IMO
since 1.6 is decreasing)

The impl doesn't use an optimized version of code but it reuse the xml
parsing so we keep something consistent between both configs.


wdyt?

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*

Reply via email to