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.

sun.reflect.annotation.TypeNotPresentExceptionProxy error when deploy web-ear

When I try to deploy ejd-ear, web-ear on to glassfish server. I added an ejb client dependency in web project. …

deployment maven glassfish ejb-3.0
In @Table(name = "tableName") - make "tableName" a variable in JPA

I am using JPA and I need to make the "tableName" a variable. In a database, I have many tables, …

java jpa ejb-3.0
Difference between a "jta-datasource" and a " resource-local " datasource?

The terms "jta-datasource" and "resource-local datasource" are a little vague to me. I'm putting down what I am understanding ( or …

java jpa jakarta-ee ejb-3.0 jta
No EJB receiver available for handling

I'm using EJB 3.0 with JBoss AS 7.1.1 Final. I am getting this error when I try to connect my client to …

jboss ejb ejb-3.0 jboss7.x
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
EJB3 transaction rollback

I'm using CMT in EJB3 state-less session beans. Also I've created my own Exception having the annotation "@ApplicationException (rollback=true)". …

java jakarta-ee transactions ejb-3.0 rollback
Why should we use EJB?

What is EJB, and why we should use it? Please explain in simple language. Thank you.

java ejb-3.0
JPA entity has no primary key?

I have an Entity class: @Entity @Table(name="CMC_MAP_SERVER_INFO") @NamedQuery(name="CmcMapServerInfo.getMapServer", query="SELECT c FROM …

java database jpa entity ejb-3.0
Where to use EJB 3.1 and CDI?

I am making a Java EE based product in which I'm using GlassFish 3 and EJB 3.1. My application has session beans, …

ejb-3.0 glassfish-3 cdi apache-tomee
A JTA EntityManager cannot use getTransaction()

How do I have the following code in my non-ejb application. The code works. @Override public void saveItems(Collection<…

java persistence ejb-3.0