Hi, for a global config you have to provide the system property (see http://openejb.apache.org/system-properties-files.html) named ' openejb.cxf.jax-rs.providers'.
the value is a list of provider qualified names (separated by comma). Note you can use 'default' which means cxf jaxb and json providers (just a shortcut). so i guess you can use something like: -Dopenejb.cxf.jax-rs.providers= org.codehaus.jackson.jaxrs.JacksonJsonProvider, org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider Note: i don't remember if jackson is delivered with tomee, (wheck webapps/tomee/lib), if not you'll have to had it. - Romain 2012/4/18 stx_g <[email protected]> > Hi All, > > I'm new to TomEE+ and I'm trying to deploy a JAX-RS web service on it which > is working rather fine. > > As far as I understand, the default JSON provider relies on Jettison. I > prefer working with Jackson JSON provider. > > How can I configure that? Can someone help me, please? > > Thanks. > > > - Stefano > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Jackson-as-JSON-privider-tp4566950p4566950.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
