I don't want to hijack the thread, but feel like I need to mention
Apache TomEE.
The 1.7.x version has this set-up out of the box, and provides a
lightweight app-server that includes OpenEJB (EJB 3.1) and CXF (2.6.14)
The trunk version (2.0.0-SNAPSHOT) has been upgraded to use CXF 3.x
May save you some work.
Andy.
On 09/10/2014 13:51, Andrey Redko wrote:
Hi,
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.
Thanks.
Best Regards,
Andriy Redko
On Thu, Oct 9, 2014 at 7:37 AM, Sergey Beryozkin <[email protected]>
wrote:
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 of
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
--
Andy Gumbrecht
https://twitter.com/AndyGeeDe
http://www.tomitribe.com