Top "Ejb-3.1" questions

This tag is used for question related to the session bean and message-driven bean component types of the EJB 3.1 programming model.

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 …

java jakarta-ee ejb ejb-3.1 stateful-session-bean
What is an EJB, and what does it do?

Been trying to learn what EJB beans are, what does it mean their instances are managed in a pool, blah …

jakarta-ee ejb ejb-3.1
EJB 3.1 or Spring 3.. When to choose which one?

EJB achieved many improvements in 3.x versions, Spring is also commonly used and version 3 is a good alternative. There are …

comparison ejb-3.0 ejb-3.1 spring-3
EJB @Schedule wait until method completed

I want to write a back-ground job (EJB 3.1), which executes every minute. For this I use the following annotation: @Schedule(…

java jakarta-ee schedule ejb-3.1 job-scheduling
Difference between @Stateless and @Singleton

I'm following this tutorial which also uses an EJB: package exercise1; import java.util.Random; import javax.ejb.Stateless; import …

ejb ejb-3.1
What is the difference between @Inject and @EJB

I'm currently learning the new Java EE 6 component models and am confused with the latest dependency injection mechanism. So here …

jpa-2.0 java-ee-6 ejb-3.1
Fixing "Could not resolve a persistence unit..." errors when PU is specified, found

I'm running Glassfish 3.1-SNAPSHOT as of today (2010-11-12). I'm using the embedded EJBContainer. On the classpath, as reported by …

jpa glassfish jpa-2.0 ejb-3.1
Packaging EJB in JavaEE 6 WAR vs EAR

Starting a new project and would like to know the pros and cons of packaging EJB in a WAR vs …

jakarta-ee java-ee-6 ejb-3.1
Spring vs EJB (advantage and disadvantage)

I am currently preparing my final project study. I have to develop a distributed application for the management of human …

spring jakarta-ee ejb-3.1
EJB 3.1 @EJB Injection into POJO

With the new EJB 3.1 spec is it possible to inject an EJB into a pojo? I know in EJB 3.0 the @…

java ejb java-ee-6 ejb-3.1