Top "Jboss-weld" questions

Weld is the reference implementation (RI) for JSR-299: Java Contexts and Dependency Injection for the Java EE platform (CDI)

What is the default scope of a Named CDI bean?

Is there any default scope for a @Named CDI bean without additional @...Scoped annotations? I have not found any relevant …

java dependency-injection cdi jboss-weld named
Inject a stateless EJB with @Inject into CDI Weld ManagedBean (JSF 1.2 EJB Application on jboss 6 AS)

Currently I am trying to inject a stateless EJB into a CDI managed controller on Jboss 6 AS Final. The controller …

dependency-injection cdi ejb-3.1 jboss-weld
Injecting a bean from a different Jar in Weld

I have two Jars A and B where A depends on B. Jar B has a single class: @ApplicationScoped public …

jar cdi ear jboss-weld
Using CDI (Weld) in Tomcat with simple POJO classes

After 2 days of debugging and trying I have no other idea than asking you for a solution. I want to …

tomcat jakarta-ee cdi jboss-weld
CDI - what is the correct bean.xml format?

I have a question about the correct format and usage of the bean.xml file. In my projects I typically …

java glassfish cdi jboss-weld
Understanding cdi Instance<> and .get() vs @Inject

I'm a little confused about which to use in the following situation: Suppose the servlet creates an Application that handles …

jakarta-ee java-ee-6 cdi jboss-weld
Injecting a Spring bean using CDI @Inject

I'm trying to inject a bean defined in a Spring context into a CDI managed component but I'm not successful. …

java spring jsf cdi jboss-weld
How to create and destroy CDI (Weld) Managed Beans via the BeanManager?

I'm trying to create instances of CDI managed beans using the BeanManager rather than Instance .select().get(). This was suggested …

java garbage-collection cdi managed-bean jboss-weld
Inject list of objects in CDI (Weld)

Let's say I have an interface called SocialNetworkService, and three implementations - TwitterService, FacebookService and FriendFeedService. Now I want, whenever …

java cdi jboss-weld
How to create a modular JSF 2.0 application?

I have an application with a well defined interface. It uses CDI for resolution of the modules, (Specifically it uses …

java jsf-2 cdi jboss-weld modular