Log in to follow, share, and participate in this community.
Thread ConversationScoped - cid from http header instead of query parameters
ConversationScoped - cid from http header instead of query parametersHi. I want to use conversation scope in application where JS client call rest services. Each of service must be called with proper cid value. For transfer cid I want to use http header instead of query paramet...
Integration Testing and WeldAre there other test frameworks to use for Integration Testing with Weld other than Arquillian? Some people find that Arquillian can be quite resource intensive and time consuming.
Thread Handling limited number of bean instance copies by CDI
Handling limited number of bean instance copies by CDIHi guys, I've been hammering my brain for two days now with the following problem, so any help or pointing in the right direction is highly appreciated. What I'd like is to use CDI for instantiation an...
Thread Failure to get bean with BeanManager when using EAR archive
Failure to get bean with BeanManager when using EAR archiveHello, we have been informed recently by one of our users on Narayana forum about an issue with our Compensations framework when the application using it is deployed as an EAR archive. When transactions is bei...
Thread How do I invoke an injected method with Weld SE?
How do I invoke an injected method with Weld SE?Hello, I'm trying to understand how to use method injection, but I cannot find a way to use it properly. I was wondering: Is it even possible with Weld SE or is this a feature that depends on a Java EE server?...
Thread access modifier of InternalEjbDescriptor is removed?
access modifier of InternalEjbDescriptor is removed?is there any specific reason about removing the public access modifier on class InternalEjbDescriptor while moving it to the EJB module? This class is being accessed via glassfish code base so removing the modifier ma...
How does weld manage custom scope/context?When we create a custom scope and its associated context, we can register them in weld via an Extension. For example: public classMyExtension implements Extension { void addScope(@Observes ...
Thread Are transient dependencies re-injected after it awakes from passivation?
Are transient dependencies re-injected after it awakes from passivation?I am using Weld in GlassFish and, like everyone else, am running into the error "Managed bean declaring a passivating scope must be passivation capable." Section 6.6.1 of the CDI spec says "A managed bean is passivati...
CDI-enabled module in WFI'm trying to make Seam 3 a module in WF10 (yesyes, I know it's deprecated but we're in the progress of migrating). I've created the module but end up with a deployment error of Caused by: org.jbo...
Thread Recommended ways to use WELD in JUnit (SE), Tomcat (Servlet) and JBoss
Recommended ways to use WELD in JUnit (SE), Tomcat (Servlet) and JBossI have project relying on CDI in two places. The target environment of the project is EAP 6.2 but we're also targeting a "lighter" tomcat 7 environment. In addition each maven module has its bunch of associated JUni...
Thread In which order does Weld destroy @ApplicationScoped beans?
In which order does Weld destroy @ApplicationScoped beans?Hi, I have a WELD 2.3.4/Tomcat 8 application that runs in AWS; AWS "auto-scaling" means that my instances of my application will be started and stopped quite aggressively. I have therefore been examining how m...
Thread Memory leak - WELD's optimisation is not being applied.
Memory leak - WELD's optimisation is not being applied.Hi, I've recently discovered a memory leak in my application (sample project is attached). Now I am aware that when Instance<>.get() creates a @Dependent scoped bean, the CDI spec states that the bean "b...