Log in to follow, share, and participate in this community.
Thread WebSocket EndPoint CDI scopes
WebSocket EndPoint CDI scopesI want to use SessionScoped on WebSocketEndpoit and an observer method that should access the session. Please share if anybody used custom SessionScope on WebSocketEnd point and how it is done? Came across this projec...
Thread Weld SE application lifecycle detecting stop
Weld SE application lifecycle detecting stopI have created an app using weld se. The application provides some service and therefor it runs until stopped (ctrl-c). The documentation says much about starting and bootstrapping but nothing about shu...
Thread Wildfly and CDI Bean Manager Injection and lookup
Wildfly and CDI Bean Manager Injection and lookupI see that I cannot do a lookup of cdi BeanManager in wildfly 9.0.2. Here how I do the lookup and the injection in a simple servlet sample: import javax.enterprise.inject.spi.BeanManager; .... @Inject...
Thread CDI Tutorial: "Cloud Tutorial - CDI in a Day"
CDI Tutorial: "Cloud Tutorial - CDI in a Day"Hi everyone, we just finished our CDI tutorial called "Cloud Tutorial - CDI in a Day". You can find it for free at: http://www.turngeek.press/cdiinaday/ In our Cloud Tutorials, we make use of modern technolog...
Weld 2.2.10 efficiency vs webbeansI have recently switched from using webbeans to the weld version 2.2.10. I have an application that repeatedly pings a servlet. I have found that the overhead on the application when running weld is 24% higher than wh...
Thread WARN [localhost-startStop-2] (Validator.java:443) - WELD-001440: Scope type @javax.enterprise.context.ApplicationScoped() used on injection point
Thread Has rawType handling changed between CDI 1.0/1.2?
Has rawType handling changed between CDI 1.0/1.2?So I'm reviving an old CDI 1.0 based application that I was running using weld and javase, and I'm seeing differences with how producer method are being matched up. The one case that no longer works involves a produce...
Registering a Bean dynamicllyHi, i came across this issue , i have a system that loads jars dynamically (on run-time), once a jar appears on a specified folder i load a class which implements a pre-defined interface using classLoader, i want t...