Skip to main content

How to use Weld from glassfish-embedded-all in JavaSE aplication

No replies
Joined: 2007-01-31
Points: 0

I use weld as di container to build JavaSE application. Now, I would like to integrate that application with EJB container working in embedded mode.
Is it possible to inject EJB components from that container into weld-se managed components? I mean inject, not to use InitialContext to do that.

Additionaly, there is a conflict between weld-se library and glassfish-embedded-all (glassfish contains weld). Can I use weld container from glassfish-embedded-all library to manage my components in JavaSE application? I did not manage to do that.