Top "Ejb-3.0" questions

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

EJB3 - using 2 persistence units within a transaction (Exception: Local transaction already has 1 non-XA Resource)

I am trying to use 2 persistence units within the same transaction in a Java EE application deployed on Glassfish. The 2 …

transactions glassfish ejb-3.0 multiple-databases persistence-unit
Transaction is alternating Timeouts

I am using jboss 5.1.x, EJB3.0 I have MDB which listens to JMS queue. when the MDB taking a message, …

java transactions jakarta-ee ejb-3.0 jboss5.x
JSF request scoped bean keeps recreating new Stateful session beans on every request?

I'm building my first Java EE application using JSF, PrimeFaces, Glassfish and Netbeans. Because I'm new, it's possible I'm approaching …

jakarta-ee jsf-2 ejb-3.0
How to access the file system from an EJB 3?

I would like to know how can I access the file system from an EJB 3 bean? I searched the Internet …

java file-io ejb-3.0
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
EJB - Lookup failed for 'ejb/BookRequestBean'

I am new to EJB, and was trying "Hello World" type of EJB Java program. Here is my EJB: package …

java jakarta-ee ejb ejb-3.0 glassfish-3
Examples or Uses Cases to explain EJB Transaction Attributes

There are some good explanations of EJB Transaction Attributes (and annotations) out there, for example, OpenEJB's. But sometimes when I …

java transactions jakarta-ee ejb-3.0
Inject a EJB into a JSF converter with JEE6

I have a stateless EJB that acceses my database. I need this bean in a JSF 2 converter to retreive an …

jsf dependency-injection jakarta-ee glassfish ejb-3.0
Configurable values to MDB annotations

I'm trying to use this method for receiving mail in our EJB3 app. In short, that means creating an MDB …

java annotations ejb-3.0 jboss-mdb
Multithreading in a stateless session bean?

The EJB 3.0 specification does not allow a business method of a stateless session bean to create new threads. Why is …

java multithreading jakarta-ee ejb-3.0 ejb