geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <gno...@gmail.com>
Subject Re: [OSGi] Support for RFC 124?
Date Fri, 10 Apr 2009 13:52:35 GMT
I forgot one thing about JAXB which is the fact that after parsing the
XML into jaxb pojos, we still need to transform those into the
Blueprint metadata pojos ...

On Friday, April 10, 2009, Guillaume Nodet <gnodet@gmail.com> wrote:
> I've added my own work in progress at the following location:
>    https://svn.apache.org/repos/asf/geronimo/sandbox/gnodet/blueprint
>
> I'm not sure about the use of JAXB:
>   * first, it brings an unnecessary dependency on JDK 1.6 or jaxb impl + JDK 5.
>   * second, I'm not sure if we would be able to handle custom
> namespaces because they require passing the current element as a DOM
> node, which means serializing the element back from pojos to a dom
> node ... it does not sound really efficient
>
> Another thing is that I was thinking it might be possible at some
> point to build an intermediary serialized format of the parsed
> metadata at build time to avoid the cost of jaxb marshalling / xml
> parsing when possible.  I don't recall if there is a way to customize
> the jaxb generated pojos, but having them being serializable might be
> a good idea...
>
> On Fri, Apr 10, 2009 at 13:42, Rick McGuire <rickmcg@gmail.com> wrote:
>> Jarek Gawor wrote:
>>>
>>> Btw, I checked in under
>>> https://svn.apache.org/repos/asf/geronimo/sandbox/gawor/rfc124 a tiny
>>> bit of code that I was playing around with to better understand RFC
>>> 124. I'll keep on working and experimenting with it but anyone is
>>> welcome to join. I'm planning to add some of the RFC 124 API
>>> definitions next in order see what it would take to implement these
>>> API.
>>>
>>
>> I just added some concrete implementations of the reflect APIs to the tree.
>>
>>> Jarek
>>>
>>>
>>
>>
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>

-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Mime
View raw message