the ejb 3.2 api belongs to the java enterprise edition 7.0 standard. It brings non-persistent timer service and asynchronous beans into the EJB-lite profile and transactional lifecycle callbacks for stateful session beans. It also makes a number of pre EJB 2.1 standards optional such as CMP/BMP beans and the EJBQL, rpc webservice endpoints are also made optional.
Questions tagged [ejb-3.2]
92 questions
0
votes
1 answer
@DependsOn for subclasses
@DependsOn can be used to ensure that one EJB is initialized before another EJB:
@Startup @Singleton
public class SchemaMigration {
// ...
}
@DependsOn("SchemaMigration")
public class Crud {
// ...
}
I'm wondering…

Jens Piegsa
- 7,399
- 5
- 58
- 106
0
votes
1 answer
NetBeans 8.2 and Glassfish 5.0 ghost EJBs
I created a little Web app with some EJBs in NetBeans 8.2 and GlassFish 5.0. A little later I delete it. Not just by the IDE but from the hard drive as well. (The project not deployed on the server as well). When I try to ceate a project with a name…

SOLID Developper
- 672
- 4
- 12
0
votes
1 answer
@Inject a @Remote EJB in Web Application
Is it possibile to @Inject a @Remote EJB in a Web Application?
I'm running on Glassfish 5 and I'm deploying an EAR (EJB + WAR).
When I annotate the EJB interface with @Local CDI works, with @Remote not.
What might be the cause?
By the way, using…

LppEdd
- 20,274
- 11
- 84
- 139
0
votes
0 answers
Loading Classes From the Client of a Remote EJB
I am trying to develop a standalone client for a remote enterprise bean that is deployed on an Oracle cloud that uses the WebLogic application container. The EJB method expects parameters of a specific interface called "Task". The EJB class looks…

Mostafa Man
- 39
- 4
0
votes
0 answers
EJB3.1 remote client code is not working with Jboss-eap-6.1.0
i am using below list of software:
JDK1.7
Jboss-eap-6.1.0
EJB3.1
I am trying to invoke EJB3 session bean method but getting an exception:
20:36:38,249 ERROR [org.jboss.remoting.remote.connection] (Remoting "d-441003044" read-1) JBREM000200:…

Sarwar Ghulam
- 1
- 2
0
votes
1 answer
Can I CDI-1.0 or -2.0-inject multiple interfaces implemented by one Stateless EJB?
Like in the following example:
public interface CommandLineDieselEngineExhaustManipulatorService{
// command line services
}
public interface ClientDieselEngineExhaustManipulatorFacade{
// ui-client services
}
@Stateless
public class…

ChristianKoelle
- 31
- 1
- 5
0
votes
3 answers
WebSphere Liberty starts multiple singleton EJB instances
I am developing an Enterprise application which is packaged in an ear. The ear consists of one Enterprise Bean application (in a jar), one JAX-RS application (in a war) and one web application (also in a war).
The ear descriptor (application.xml)…

danishrulez
- 53
- 4
0
votes
0 answers
java.lang.NoClassDefFoundError at Runtime on internal Maven module
I am creatig maven multi-module project with followig modules
TestEE(Parent)
TestEjb
TestWeb
TestEar
TestPojo
I want to access Model classes in TestPojo module in TestEjb and TestWeb modules.I have added dependency on Testpojo module in TestEjb's…

Amit Patil
- 710
- 9
- 14
0
votes
1 answer
Lookup Ejb 3.0 deployed on Jboss Eap 6.3 from remote client
I don't see any issues when I run the server and client on the local worksapce(via eclipse). However there are issues if the client is executed from a different machine than on server or executed from exported client product(i.e. Eclipse rcp).
I…

G dangi
- 188
- 7
- 19
0
votes
0 answers
EJB invocations from a remote client using JNDI
I am running Eclipse RCP, EJB3 and Jboss EAP 6.3
Working - When I run my RCP application from Eclipse launch option with remote JBoss configuration and EJB lookup.
Requirement - When I do export RCP product and launch it is not able to lookup …

G dangi
- 188
- 7
- 19
0
votes
1 answer
Java EE 7 EJB 3.2 Payara 4.1.1.154
I migrate a project from Java EE 6 to Java EE 7.
As dependencies I have javaee 7.0, payara-embedded-all4.1.1.154
I migrate beans.xml to:

Mihai Catan
- 106
- 9
0
votes
1 answer
Error in deploying a Ear file in WildFly 9
I have an EAR Application which contains a EJB App, WebApp and a Client jar.
I have created the datasources in WildFly with names as below:
java:jboss/datasources/NersTspDS
java:jboss/datasources/NersDS
java:jboss/datasources/NersMgtDS
While…

Dipuraj
- 51
- 1
- 6
0
votes
1 answer
How do I to use Dynamic Project with springframework and EJB Project
I am trying to create in eclipse a Dynamic Project (version 3.1) with springframework 4.1.6 and a EJB Project (version EJB 3.2).
But when I try to integrate the projects some errors ocurrs.
Let me show you what I am trying to do, maybe you can help…

Denis Jr
- 346
- 2
- 11
0
votes
1 answer
Exception when trying to persist and EJB
I am newbee with EJB3.
I have create a dao User.
@Entity
@Table(name = "t_user")
public class User implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(strategy =…

cool
- 19
- 1
- 5
0
votes
2 answers
@Stateless NullPointerException
I am newbee with EJB3.
I have create a dao User.
@Entity
@Table(name = "t_user")
public class User implements Serializable {
@Column(name = "name")
private String name;
private String street;
private int houseNumber;
…

cool
- 19
- 1
- 5