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.

JPA dynamic persistence unit name

I need a way to dynamically specify the persistence unit in a EJB. Simplified example: I have an application using …

jakarta-ee jpa ejb-3.1
Maven 2 & Packaging ejb vs jar

If i'm working with ejb 3.1, what's the différence between <packaging>jar</packaging> and <packaging&…

java maven-2 ejb-3.1
Can the EJB 3.1 @Schedule be configured outside of the application code?

How can I configure a schedule intervals: @Schedule(persistent=true, minute="*", second="*/5", hour="*") outside of the application code? How can …

java java-ee-6 ejb-3.1 schedule
Why does CMT commit on exit of EJB method, when transaction attribute is "Required"?

I am consistently finding that my already-existing transaction is getting committed inside any method of an EJB marked @ejb.transaction …

jakarta-ee transactions ejb java-ee-6 ejb-3.1
Difference between MDB and JMS

Please let me know what is the difference between: Message Driven Beans (MDB) Java Message Service (JMS)

jakarta-ee ejb jms ejb-3.1
Why EJB is null?

I'm working on rest service and learning EJB at the same time. I just run my application with simple chain …

java ejb ejb-3.1
Java EE 6 Injection Into Abstract Class

In a Java EE 6 project I am working on, there is a lone field annotated with @EJB that is not …

jakarta-ee glassfish ejb-3.1
Using EJBContext getContextData - is this safe?

I am planning to use EJBContext to pass some properties around from the application tier (specifically, a message-driven bean) to …

java jakarta-ee java-ee-6 ejb-3.1
java.lang.NoClassDefFoundError: org/hibernate/service/ServiceRegistry

I am using hibernate-search 5.5.4.Final with hibernate-entitymanager 5.0.9 (matched with hibernate-core 5.0.9). But when i deployed the ejb maven module on glassfish 4.1. …

hibernate ejb-3.1 hibernate-search glassfish-4
How to find the JNDI look-up name of EJB programmatically?

I am using EJB 3.1 in my application. I want to send one EJB's JNDI look-up name in my application to …

jakarta-ee jboss7.x jndi ejb-3.1