home
This question already has an answer here: @ViewScoped calls...
I have a web application (jee7, war, running on Wildfly 10). The application depends on a jar...
I ran 2 examples in weblogic ( I used a bean with dependent scope): 1)the bean has not any...
QUESTION: What CDI annotations, tomee.xml configuration [,etc.] will allow successful deployment...
I have an utility class : @RequestScoped public class StatsServicesDataImpl { @Qualifier ...
What happens if in the same session I instantiate more than one SessionScoped Bean or EJB (first...
I want to run a job automatically when my application deploy on the server, so that i will not use...
I have upgraded Weblogic version in linux server by changing the wl_home path in the...
I have a String value that I should get it in the second time page reload(same page). As I have one...
If an @ApplicationScoped bean is obtained through Instance<T>#get(), does subsequent calls to...
I've defined two Bean: @Named("mysql") public MySqlLogService extends AbstractLogService { ......
I have a class that is instantiated by 3rd party code (it uses reflection to create the object.) I...
Say I have an abstract class: public abstract class MyAbstractClass { @Inject private...
I spent a plenty of time for finding any answers, but I think I have to ask. I'm using Weld-SE for...
I have the necessity to provide the correct Bean implementation at runtime. The common...
I know that EntityManager instantiated by myself is not thread-safe. I know that EntityManager...
On WebSphere 9, I'm trying to do a JNDI lookup from a CDI extension and I get this...
I was looking at this project https://github.com/MSzturc/cdi-async-events-extension/, which...
Say I have an @ApplicationScoped service class. @ApplicationScoped class MyCustomerService { ...
I have a CDI Bean which is injected to another CDI bean, Bean1Controller: @ViewScoped public...
I have a question about the best implementation to have a system in java EE that is as uncoupled as...
Tech stack: JBeret (core, se) 1.3.0.Final Hibernate Search (orm, jsr352-core, jsr352-jberet)...
I know I can inject as an instance all the beans that match the interface and then choose between...
Server: Payara 5.183. When the converter is used, a NullPointerException is raised because the...
I have an application on TomCat V9 that is working without any problem... I'm trying use the...
A JAX-RS root resource is defined by a @Path annotation and might use managed components for doing...
The following test-class uses Weld-Se to start a container. This container should normally run 3...
I have CDI Conversation scoped bean which has field of type StreamedContent (this content should be...
I will introduce a little bit wider context to clarify my use case... I would like to implement...
I'm trying to learn CDI with a simple example in IntelliJ: @Named @ViewScoped public class Player...