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.

Default EJB transaction mode for asynchronous methods?

When I have an @Asynchronous method in an EJB, and I don't specify the @TransactionAttribute, then how exactly does the …

java jakarta-ee glassfish ejb ejb-3.1
Inject Spring beans into EJB3

I'm trying to inject Spring beans into an EJB using @Interceptors(SpringBeanAutowiringInterceptor.class) but I cannot get it working with …

spring dependency-injection ejb-3.1
Call Methods Asynchronous in EJB

I try to save the result of a login process for statistics to the database asynchronously to save time during …

jakarta-ee asynchronous ejb-3.0 glassfish-3 ejb-3.1
Make EJB call with timeout

I have an EJB A that invokes EJB B. The UI should not wait for more than 30 seconds for a …

jakarta-ee timeout glassfish-3 ejb-3.1
Set/configure the EJB Timer Service’s DataSource

I'm trying to use the Timer Service in EJB 3.1 in my app. @Stateless @LocalBean public class StatelessTimerSessionBean { @Schedule(minute = "*", second = "0", …

java jakarta-ee glassfish ejb-3.1
Is it possible to @Inject a @RequestScoped bean into a @Stateless EJB?

Is it possible to inject a request-scoped CDI bean into a Stateless session bean? I had asked a related question …

jakarta-ee java-ee-6 cdi ejb-3.1 stateless-session-bean
Why merging is not cascaded on a one to many relationship

My question here is almost similar to my other question Explicit delete on JPA relationships but I thought of simplifying …

java jpa eclipselink ejb-3.1
EJB 3.1 application deployed as WAR-only: What about ejb-jar.xml?

I have a JavaEE6 application, consisting of Web stuff and EJBs and which is deployed as WAR-only (using EJB3.1). The …

java jakarta-ee java-ee-6 ejb-3.1
How to inject a Session Bean into a Message Driven Bean?

I'm reasonably new to Java EE, so this might be stupid.. bear with me pls :D I would like to …

glassfish cdi java-ee-6 ejb-3.1 glassfish-3
CDI: Using Interceptors across different modules / bean archives

My Java EE 6 application consists of a war and an ejb module packaged in ear file. I'm using CDI for …

jakarta-ee interceptor cdi ejb-3.1