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.

TransactionRolledbackLocalException Client's transaction aborted when accessing @Singleton

NOTE: Adding this question in short form with an answer after spending far more time than I'd like to admit …

java jpa transactions ejb-3.1
Possible to change ejb parameter at runtime for @Schedule annotation?

Probably a silly question for someone with ejb experience... I want to read and change the minute parameter dynamically for …

java timer glassfish ejb-3.1 schedule
Why session bean method throw EjbTransactionRolledbackException when RuntimeException was thrown

I am trying to persist the entity with constraint validation, when invoke persist - there is constraint that thrown and …

java java-ee-6 jpa-2.0 ejb-3.1 bean-validation
Unit Testing EJB 3.1

I am doing a small research on Unit Testing of EJB 3.1. At the end my goal is to produce a …

unit-testing ejb-3.0 mockito ejb-3.1 openejb
Can @Resource be used to inject primitives in EJB3.0?

Using Glassfish, I can setup a string jndi entry: JNDI name: "com/xyzcompany/echo/EchoServiceBean/viewName" Factory Class: org.glassfish.…

java glassfish ejb-3.0 java-ee-6 ejb-3.1
How to resolve - JBAS014516: Failed to acquire a permit within 5 MINUTES

I am currently facing 'JBAS014516: Failed to acquire a permit within 5 MINUTES' issue with my EJB-JBOSS configuration.Below is my …

ejb threadpool ejb-3.1 jboss6.x
Jetty 8 + EJB 3.1 + JTA + CDI + JPA 2 stack?

Can anyone tell me if it is currently possible to "glue together" a partial Java EE 6 Web Profile over Jetty? …

java jetty java-ee-6 ejb-3.1 openejb
CDI Injection of an EJB leads to NullPointerException

I am new to Java EE 6 and CDI. I have read a couple of tutorials and the weld documentation. However …

java java-ee-6 glassfish-3 cdi ejb-3.1
Transaction management and CDI

I would like to develop an application with CDI (I use Spring usually) to discover this technology. I have read …

jakarta-ee cdi ejb-3.1
Startup bean not called

I created a Java Web Application Project in NetBeans, and created a startup bean in it: package malibu.util; import …

jakarta-ee ejb java-ee-6 ejb-3.1