Related questions
Cannot instantiate the type List<Product>
I have the following code:
List<Product> product = new List<Product>();
The error:
Cannot instantiate the type List<Product>
Product is an Entity in my EJB project. Why I'm getting this error?
Should I use @EJB or @Inject
I have found this question: What is the difference between @Inject and @EJB but I did not get any wiser. I have not done Java EE before nor do I have experience with dependency injection so I do not understand …
Stateless and Stateful Enterprise Java Beans
I am going through the Java EE 6 tutorial and I am trying to understand the difference between stateless and stateful session beans. If stateless session beans do not retain their state in between method calls, why is my program acting …