cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <>
Subject Re: Help needed on finalizing the JAXB optional support
Date Sat, 26 Jun 2010 17:11:37 GMT
Hi all guys,
I resolved the Collection Generic type problem[1], but the question
about the plural stemmer/inflector is still open, can anyone help me
Thanks in advance, have a nice weekend :)

[1] r958243

On Thu, Jun 24, 2010 at 10:49 AM, Simone Tripodi
<> wrote:
> Hi all,
> a month ago I started developing the JAXB optional support for C3
> pipeline, with a lot of limits:
> * each time a new object has to be mashalled, the JAXBContext were
> created, now it uses a memory-based LRU cache;
> * it supported just POJOs graphs, without any support for collections and array.
> I was able to plug the array support (see cocoon-optional r936231) but
> after several tries I had to resign to discover collections generic
> type at runtime; I also checked-out the Jersey source code to see how
> do they extract this information, but I got lost :(
> So, my first question is: can anyone help me please? :P
> Moreover, for Collection/Array object, there is the need that the root
> element name of the marshalled document is the plural of the list; I
> found two existing implementations for this purpose:
> * the Apache Betwixt "PluralStemmer" [1]
> * the Jersey "Inflector" [2]
> I personally find the Jersey implementation much more complete but it
> is not licensed under the Apache license. So my question is: can I
> extract part of that class to include in our software? Is that
> allowed?
> Many thanks in advance, have a nice day
> Simo
> [1]
> [2]

View raw message