hmm,

can you give a simple try with the bean manager please? using deltaspike
with BeanProvider can be enough for such a test

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*




2012/11/14 Luca Merolla <luca.mero...@gmail.com>

> Hi Romain,
>
> I'm trying to understand what is the problem, at first it seems related to
> jackson ObjectMapper injection...
> However even creating a dummy class like
>
> public class Dummy{
> private ObjectMapper mapper = new ObjectMapper();
> }
>
> Then I place the Dummy class in a jar library and from the WAR I try to
> inject Dummy, it fails.
>
> @Inject
> private Dummy dummy;
>
> I need to understand if it's due to Jackson or something else. If I can
> I'll try to share an example to replicate the issue.
>
> Luca
>
>
>
>
> On Wed, Nov 14, 2012 at 2:07 PM, Romain Manni-Bucau
> <rmannibu...@gmail.com>wrote:
>
> > Hi,
> >
> > if you have specific issues please share them,
> >
> > if you think of the objectmapper of jackson it is maybe jackson is
> excluded
> > (in scanning)
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > *Blog: **http://rmannibucau.wordpress.com/*<
> > http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://github.com/rmannibucau*
> >
> >
> >
> >
> > 2012/11/14 Luca Merolla <luca.mero...@gmail.com>
> >
> > > Hi everyone,
> > >
> > > recently I have been busy with other stuff but I have started to use
> > > 1.5.1-SNAPSHOTS and with it the CDI seems to work within the EAR.
> > >
> > > My question is, what is the current status? Is there still something
> > > missing in the implementation or it has been fixed?
> > >
> > > I'm asking because I'm having some minor problems to Inject some
> classes
> > > from 3rd party libraries in a WAR application (deployed in a EAR
> folder)
> > >
> > > For example,
> > > @Inject
> > > private ObjectMapper mapper;
> > >
> > > Doesn't work, while the following is working
> > > private ObjectMapper mapper = new ObjectMapper();
> > >
> > > For example with 1.5.0, the following was not working with the EAR:
> > >
> > >
> >
> http://rmannibucau.wordpress.com/2012/05/15/tomee-or-how-to-use-websocket-with-cdi/
> > >
> > > While now with the 1.5.1-SNAPSHOT works. It seems to me that there
> might
> > be
> > > still some small issues when Injecting classes from other jar
> libraries.
> > >
> > > Luca
> > >
> > > --
> > >   *Luca Merolla*
> > > Management, Business & Technology Consultant
> > >
> > >
> > >  <http://maps.google.com/maps?q=&hl=en>  *Mobile:* +393774569974
> > > *Email:* l...@merollaconsulting.com
> > >  *www.linkedin.com/in/lucamerolla*
> > > *Website <http://www.merollaconsulting.com>*
> > >
> > >
> > > Merolla Consulting Limited
> > >
> >
>
>
>
> --
>   *Luca Merolla*
> Management, Business & Technology Consultant
>
>
>  <http://maps.google.com/maps?q=&hl=en>  *Mobile:* +393774569974
> *Email:* l...@merollaconsulting.com
>  *www.linkedin.com/in/lucamerolla*
> *Website <http://www.merollaconsulting.com>*
>
>
> Merolla Consulting Limited
>

Reply via email to