Hi

2015-01-16 16:31 GMT+01:00 Lars-Fredrik Smedberg <[email protected]>:
> Hi
>
> Was reading the tests on JAX-RS resources on the TomEE examples page
>
> http://tomee.apache.org/examples-trunk/simple-rest/README.html
>
> Questions:
>
> 1. I see that CXF is used to call the JAX-RS resource... is CXF also used
> for the resource as well or how does that work? I see it uses
> ApplicationComposer in OpenEJB

CXF is the only server impl we support ATM

> 2. Can I also test CXF JAX-RS filters this way?

Not sure I fully got it but AppComposer supports filters as well

> 3. Can I somehow test WINK based JAX-RS resources and WINK handlers the
> same way?
>

sure but you'll not get the full integration (EJB at least)

> Is the above the recommended way of unit testing JAX-RS resources or are
> there any other better/recommended way? Arquillian? If so does anyhow have
> any good pages to look at?
>
> Regards
> LF
>
> --
> Med vänlig hälsning / Best regards
>
> Lars-Fredrik Smedberg
>
> STATEMENT OF CONFIDENTIALITY:
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> address(es) and may contain confidential or privileged information. If
> you are not the intended recipient, please notify Lars-Fredrik Smedberg
> immediately at [email protected], and destroy all copies of this
> message and any attachments.

Reply via email to