Hi Sergey,

> What is the relationship between JSR-299, JSR-330, and Guice ?
> Would having the Guice integration let CXF claim it supports JSR-330 or
> JSR-299 or both :-) ?

I think JSR-299 has very little in common with Guice, so my anwser would be no.

On the other hand you could claim to support of JSR-330, see the
comparison here: http://code.google.com/p/google-guice/wiki/JSR330 -
Guice is roughly a superset of JSR-330.
However, the way things work now you can't mix Guice and CXF
injections in constructor.
I have decided to let Guice create objects since doing this the other
way would require substantial effort (to support all Guice features in
a sensible way). So the only obstacle is that you can't use
constructor injections in your objects.
Jersey - Guice integration has the same constraints, so I expect it
would be quite hard to support this.

I'd like to ask you to take a look at the configuration possibilities
available - I've done what I needed for my project, so validating this
against other use cases or use styles would be a very good thing.
Apart from obvious things (missing JAXRSServerFactoryBean properties
like interceptors), do you think this DSL lacks something?

I would also appreciate any coments on the syntax - I think it's
pretty clear and concise now, but maybe there is a better way to name
the methods etc.

Best regards,
Jakub Bocheński


On Thu, Apr 12, 2012 at 10:50 PM, Sergey Beryozkin-5 [via CXF]
<[email protected]> wrote:
>
> Hi Jakub
>
> On 12/04/12 13:27, Jakub Bochenski wrote:
>
> > I've started a little project on google code - basically a EDSL for
> > configuring CXF Guice-style.
> >
> > The instances are created (and injected) by Guice and a custom
> > ResourceProvider is used to plug them into CXF (which let's you use all
> > injection points except constructor).
> >
> > If you are interested see the details here:
> > http://code.google.com/p/guice-cxf/
> >
> > Any suggestions will be appreciated.
> > The project has a working version although not all CXF features are
> > configurable now.
>
> Thank you for this effort
>
> >
> > I would be very happy if the CXF team would be interested in integrating it
> > into the core project - please let me know if you do.
> >
> I think the Guice integration can be a good feature to have.
> Let me ask one question:
>
> What is the relationship between JSR-299, JSR-330, and Guice ?
> Would having the Guice integration let CXF claim it supports JSR-330 or
> JSR-299 or both :-) ?
>
> Thanks, Sergey
>
> >
> > --
> > View this message in context: 
> > http://cxf.547215.n5.nabble.com/CXF-Guice-Integration-tp5635498p5635498.html
> > Sent from the cxf-user mailing list archive at Nabble.com.
>
>
> --
> Sergey Beryozkin
>
> Talend Community Coders
> http://coders.talend.com/
>
> Blog: http://sberyozkin.blogspot.com
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion 
> below:
> http://cxf.547215.n5.nabble.com/CXF-Guice-Integration-tp5635498p5636772.html
> To unsubscribe from CXF + Guice Integration, click here.
> NAML


--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-Guice-Integration-tp5635498p5637048.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to