cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Louis MONTEIRO <>
Subject Re: EJB integration for JAX-RS2.0 in CXF
Date Thu, 09 Oct 2014 14:44:12 GMT

Yes absolutely. TomEE supports CDI rest endpoints but also EJB endpoints.
Both are integrated and work together out of the box in TomEE.

Happy to hack on an hello world sample for you if you want.

jean Louis

Following Sergey's e-mail, it is true,  CXF does not have support for EJB
 resource classes yet.
The work has been done to support CDI 1.1. That's being said, if the EJB
container integrates with CDI container (it should),  the CXF can be used
and is going to work as expected.

Best Regards,
    Andriy Redko

On Thu, Oct 9, 2014 at 7:37 AM, Sergey Beryozkin <>

> Hi
> On 09/10/14 10:06, Bin Zhu wrote:
>> Hi,
>> Does current CXF support EJB based JAX-RS 2.0 application? If yes, is
>> there
>> requirement for EJB container? any additional configuration needed for
>> application server? Thanks.
>> Spec for EJB support:
>> In a product that supports EJBs, an implementation MUST support the use
>> stateless and singleton session
>> beans as root resource classes, providers and Application subclasses.
>>  No, CXF does not have its own EJB integration project in place yet. CDI
> - yes, Andriy Redko did it. TomEE has it AFAIK.
> There was a GSOC project few years back dedicated to it but it was not
> completed.
> Might be worth having a light-weight CXF JAX-RS 2.0 EJB integration
> project as well, that would have CXF offering a complete integration
> support...
> Cheers, Sergey

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message