Questions tagged [ejb-3.1]

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

JSR 318: Enterprise JavaBeans, Version 3.1

Enterprise JavaBeans is an architecture for the development and deployment of component-based business applications. Applications written using the Enterprise JavaBeans architecture are scalable, transactional, and multi-user secure.

The Enterprise JavaBeans 3.0 specification focused on bringing ease-of-use to the EJB API. The purpose of the Enterprise JavaBeans 3.1 specification is to further simplify the EJB architecture by reducing its complexity from the developer's point of view, while also adding new functionality in response to the needs of the community.

The focus will be on the core session bean and message-driven bean component models and their client API. Although the Java Persistence API was developed within EJB 3.0, it will evolve under a separate JSR rather than within EJB 3.1.

1103 questions
-1
votes
1 answer

Inject Spring config file into Ejb using Annotation

Am trying to migrate project from ejb2.1 to ejb3.1. In my current project's ejb-jar.xml, i am using for loading the spring configuration xml file{which initializes the beans which going to be called in ejbbean class in onEjbCreate() method using…
A K M
  • 11
  • 9
-1
votes
2 answers

OPenJPA persist

am using JPA 2 and EJB 3.1 Have the following Entity: @Entity public class SVPDiscovery implements Serializable { private static final long serialVersionUID = 1L; public SVPDiscovery() { } @Id @GeneratedValue(strategy=GenerationType.AUTO) private…
User
  • 573
  • 3
  • 15
  • 28
-1
votes
2 answers

JBoss 6: i can't deploy a ejb (jar) project on my server

i have tow projects : 1=> MyApplication (WAR) where i use some EJB by Injecting them (@EJB) 2=> MyEJBProject where i have all my Interfaces and Implimentations annoted by @Statless and @local I work with jboss EAP6. When i try to clean and install…
Sorinzo
  • 17
  • 2
  • 9
-1
votes
1 answer

How to call managed bean inside of stateless EJB bean?

I wanted to know, is there any option to call a managed bean inside of EJB bean. Imagine, we have the code: @ManagedBean @SessionScoped public class MyManagedBean implements Serializable { public String getUrl() { return…
Exterminator13
  • 2,152
  • 1
  • 23
  • 28
-2
votes
1 answer

javax.ejb.EJBTransactionRolledbackException at com.sun.ejb.containers.BaseContainer.mapLocal3xException(BaseContainer.java:2342)

Getting issue while accessing local beans EJB3, Hibernate 5, JPA2, Glassfish Searched on internet but didn't found any solution. I recetly moved code from jpa2.0, hibernate4 to jpa 2.1 and hibernate5. Also changed glassfish 3.0 to 4.1.2. Earlier it…
-2
votes
1 answer

EJB Pool and EJB defined in 2 EAR

I'm totaly newbie in EJB and i need to understand how "ejb pool" works and how it is shared between EARS. We have an EAR (named "ear1") deployed on WebSphere 8.5. This EAR contains some Stateless EJB3 (test.Ejb1, test.Ejb2, test.Ejb3) used by…
Bart
  • 1
  • 1
-2
votes
1 answer

what goes where in EJB, Spring application

I am new to EJB and worked a bit on spring, while creating the application what I do is I use the previous structure of my application and configuration as it is. When I get into trouble I saw no of solution each with different style of…
Bilbo Baggins
  • 2,899
  • 10
  • 52
  • 77
-2
votes
3 answers

What should i do to use EJB 3.1 in Apache Tomcat 5.0 web server

Possible Duplicate: How to EJB 3.1 Deployment in Tomcat 5.5.x Blockquote Any buddy please help me i have an web space with apache tomcat 5.0 jsp 2.0 and jvm 1.6 and i want to use ejb in my project so please tell me what should i do that i can…
1 2 3
73
74