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.

How to inject persistence context to different data source programmatically

In standard EJB 3, when injecting entity manager, persistence unit (which refers to datasource) is hardcoded into annotation: (or alternatively xml …

jpa persistence ejb-3.0 entitymanager
JavaEE 6: javax.naming.NameAlreadyBoundException: Use rebind to override

I have a business interface being implemented by two EJBs. UserManagementService @Remote public interface UserManagementService { // ... } UserManagementServiceJpaImpl @Stateless(name="userManagementServiceJpaImpl") public …

ejb-3.0 glassfish-3
weblogic.transaction.internal.TimedOutException: Transaction timed out after 32 seconds

I have following configuration OS Sparc 11 OCSG 5.1 Environment : Cluster (Admin+MS), (MS) Weblogic : 11g Problem: I have deployed existing running …

java ejb-3.0 weblogic11g
EJB3 Local and Remote interfaces

I understood that Local interface is designed for clients in the same container's JVM instance and remote interface is designed …

java jvm ejb-3.0
Middleware & SOA by Example

I am an inexperienced Java developer trying to wrap my head around some fundamental middleware/SOA concepts and technologies, specifically: …

java jms ejb-3.0 soa message-queue
How does EJB and JPA relate?

I am reading the EJB 3 in Action book and I have the following question : Is the POJO's you write and …

java jakarta-ee jpa ejb-3.0
jndi binding for local and remote stateless bean

I'm trying to implements an EJB3 stateless with a remote and local interfaces the problem is the local one is …

java jakarta-ee ejb-3.0 jndi stateless-session-bean
How to stop endless EJB 3 timer?

I am new to EJB 3 . I use the following code to start endless EJB 3 timer then deploying it on JBOSS 4.2.3 @…

java timer jboss ejb-3.0
How do you unit test Java EE code?

I want to ask for your prefered way to test Java EE code? I found only three project, that are …

java unit-testing junit ejb-3.0 java-ee-5
Entity Table is not creating using JPA 2.1

I am using JPA 2.1 in Netbeans to create my entity. If my database has no table then it should create …

java jpa netbeans ejb-3.0 jpa-2.1