Jakub Bochenski
Jakub Bochenski

Reputation: 3271

TomEE + CXF configuration reference

So I was trying to find any reference documentation or non-trivial examples for using the three.

The 'best' I found was:

The TomEE Documentation doesn't list Jax-RS at all, and I was only able to find some examples consisting of a single endpoint class

Where can I find a comprehensive reference of configuration options?

The main problem is that I'd know how to do most of the things I want when using standalone CXF, but I have hardly any idea how the JAX-RS integration in TomEE works.

At the very least - I want some documentation-grade resource for the info contained in blog posts above.

Upvotes: 3

Views: 3498

Answers (2)

Andy Gumbrecht
Andy Gumbrecht

Reputation: 11

There are several detailed examples here: http://tomee.apache.org/examples-trunk/index.html

David added a detailed post here http://www.tomitribe.com/blog/2014/06/apache-tomee-jax-rs-and-arquillian-starter-project/

And more documented code examples here (look for modules beginning with rest): https://svn.apache.org/repos/asf/tomee/tomee/trunk/examples

And finally the reference card here: http://tomee.apache.org/refcard/refcard.html

Upvotes: 0

LightGuard
LightGuard

Reputation: 5378

JAX-RS isn't part of the base TomEE distribution because it isn't required in the web profile in Java EE 6, however, you can find it in the TomEE JAX-RS and TomEE Plus distributions (thanks David). It may not be with your specific implementations but take a look at http://www.jboss.org/jdf/quickstarts/jboss-as-quickstart/helloworld-rs/. Most of the quickstarts listed are built around the standard APIs and don't use anything proprietary so you should be able to get them to work on TomEE.

Upvotes: 1

Related Questions