You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by foolbus <jf...@att.com> on 2015/02/11 07:18:59 UTC
Re: serializeAsArray JacksonJaxbJsonProvider
hwaastad wrote
> Hi,
> typical example:
>
> @Provider
> public class CustomJacksonJaxBJsonProvider extends JacksonJaxbJsonProvider
> {
So, I am trying to incorporate this into my tomee/jax-rs application. I
don't know where to put it - from what I've read, it should go in any class
that tomee will see. I created my own class which is part of my war file.
It doesn't seem to register in tomee.
--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/serializeAsArray-JacksonJaxbJsonProvider-tp4672427p4673746.html
Sent from the TomEE Users mailing list archive at Nabble.com.
Re: serializeAsArray JacksonJaxbJsonProvider
Posted by foolbus <jf...@att.com>.
That fixed it!! THANK YOU!!!
--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/serializeAsArray-JacksonJaxbJsonProvider-tp4672427p4673796.html
Sent from the TomEE Users mailing list archive at Nabble.com.
Re: serializeAsArray JacksonJaxbJsonProvider
Posted by Marius Kruger <am...@gmail.com>.
Hi,
do you have WEB-INF/openejb-jar.xml with this in?:
<openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1">
<pojo-deployment class-name="com.example.rest.RestApp">
<properties>
cxf.jaxrs.providers = your.package.CustomJacksonJaxBJsonProvider
</properties>
</pojo-deployment>
</openejb-jar>
On 11 February 2015 at 08:18, foolbus <jf...@att.com> wrote:
> hwaastad wrote
> > Hi,
> > typical example:
> >
> > @Provider
> > public class CustomJacksonJaxBJsonProvider extends
> JacksonJaxbJsonProvider
> > {
>
> So, I am trying to incorporate this into my tomee/jax-rs application. I
> don't know where to put it - from what I've read, it should go in any class
> that tomee will see. I created my own class which is part of my war file.
> It doesn't seem to register in tomee.
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/serializeAsArray-JacksonJaxbJsonProvider-tp4672427p4673746.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>
--
✝ Marius