Hello CasMeiron ,
Yes, it should.
Can you post the source and archive for the sample?
-roger
On 7/26/10 8:33 AM, CasMeiron wrote:
> Hello guys,
>
> Does the CDI works as expected inside bundles deployed on OSGI?
>
> I've tried couple of simple examples and couldn't get it to inject the
> dependencies.
>
> Example (WAB):
>
> Simple POJO with @SessionScoped annotation.
> One Servlet with @WebServlet annotation and with a property @Inject to
> get the described POJO (NullPointer when try to access it).
>
> Thanks in advance.
>
> -------------------------------
> Paulo Reis
>
--
roger.kitain_at_oracle.com
https://twitter.com/rogerk09
http://www.java.net/blogs/rogerk