Questions tagged [ejb-2.x]

This tag is used for question related to the session bean and message-driven bean component types of the EJB 2.x programming model. For questions about the persistent entities defined in the document "Java Persistence API" of the EJB 2.x specification, use the [JPA] tag.

This tag is used for question related to the session bean and message-driven bean component types of the EJB 2.x programming model. For questions about the persistent entities defined in the document "Java Persistence API" of the EJB 2.x specification, use the [JPA] tag.

240 questions
1
vote
0 answers

Migration of EJB 2.1 from WebSphere to JBoss

We have a application with EJB 2.1 running on WebSphere. Now we are migrating from WebSphere to Jboss 5.1. Could you anybody help how to migrate my EJB 2.1 stuff from Websphere to JBoss? I have ejb-jar.xml and I am not sure where to keep it. Do I…
chaatna
  • 61
  • 3
  • 9
1
vote
1 answer

How can I reflect as an annotation in EJB 3

I try migrate an EJB2.1 projetk into EJB3.1. I did not find any annotation for . How can i reflect this tag. The ejb-jar.xml part looks like: admin
Kayser
  • 6,544
  • 19
  • 53
  • 86
1
vote
2 answers

Porting EJB3 to EJB2

This is a weird situation. Let me explain it as best as I can. I have an interface Client which has methods which throw a Custom Exception. My EJB3 Remote extends this interface Client and was annotated @Remote. My EJB3 Bean used to extend the…
Ajay George
  • 11,759
  • 1
  • 40
  • 48
1
vote
0 answers

GitHub Actions: Generate Deployment sources for EJBs 2.0 for IBM Websphere Application from pipeline

We have a legacy Maven application which is being deployed to IBM Websphere 8.5. Is a multi module application, and some of the modules contain Ejbs (Session, message driven, and entity) 2.0 Application modules Until now, we are generating the EAR…
1
vote
2 answers

jboss 5 ejb2.1 lookup from struts action class causes ClassCastException

I have ejb 2.1 deployed in JBOSS 5 server . The jndi name is ejb/DemoEJB and it matches the jmx-console tree in jboss . While i try to lookup in struts action class as follows , it throws the ClassCastException . kindly let me know, if there is any…
Dead Programmer
  • 12,427
  • 23
  • 80
  • 112
1
vote
2 answers

difference bewteen and in Jboss.xml?

I am new to EJB and trying to run some EJB (2.0) examples in Jboss 5. The execution is ok, but I found in the jboss.xml these lines: MyStatelessBean
ipkiss
  • 13,311
  • 33
  • 88
  • 123
1
vote
1 answer

EJB method processing hangs somewhere during execution

I have a strange problem, here is a quick snapshot of the system: I have a web application which calls local EJB bean, lets call the local EJB 'LocalEJB', this EJB calls remote EJB - 'RemoteEJB' method which does some processing on the external…
Kris
  • 5,714
  • 2
  • 27
  • 47
1
vote
1 answer

How to deploy EJB 2.0,JARs and EARs in Tomcat-OpenEJB?

Is there any way to deploy EJBs,JARs or EARs in Tomcat-OpenEJB ? If I donot want to use collapsed EAR concept or JEE6 . Please reply..!! Thanks in Advance.
Faraz
  • 11
  • 1
1
vote
1 answer

(MockEJB) Get a mocked entity bean from in-container test

I'm using mockejb framework to mock entity beans in memory, I make a lookup, mockejb brings me a proxy for the real entity. That's working. But I needed to get a Session Bean from the container JNDI to "understand" that. I mean, when the Session…
Jon Cardoso-Silva
  • 991
  • 11
  • 25
1
vote
0 answers

What is the EJB 2.x Support End Date?

Does anyone know what the Java Support End date for EJB2.X is? All I could find is this roadmap, which doesn't answer my question.
reverse
  • 29
  • 2
1
vote
0 answers

EJB2.1 lookup issue in JBoss EAP 7.2.8

We have migrated our application from Weblogic to JBoss EAP 7.2.8 and now we are facing issue in JNDI lookup of remote interface. Configuration in ejb-jar.xml: BeanSL
1
vote
1 answer

can't deploy EAR on JBOSS EAP6

I have following error message JBAS014187: N'a pas pu charger la vue EmployeeFacadeLocalHome when i deploy my EAR on JBOSS EAP6 My EAR contains an War and an EJB Module where class EmployeeFacadeLocalHome exist My Jboss is launched with…
depoyim217
  • 11
  • 3
1
vote
0 answers

Migration from JBoss 4.2.3 to Wildfly 8. Is it worth the effort?

We have an old client application that is deployed on JBoss 4.2.3 and written in JAVA EJB2. It has classes that depend on JBoss's security libraries, an Oracle DataSource and ANT as build method. Now there is a need of upgrading the application…
Eren E.
  • 61
  • 9
1
vote
0 answers

Migration of EJB 2.1 from Weblogic to JBoss EAP 7.2

I have been trying to migrate EJB 2 which runs on top of the WebLogic server which should run on JBoss 7.2 server. My application was developed using XDoclet tools. I came to know that the tool is no longer in use. In my old build.xml, there were…
Raju
  • 19
  • 2
1
vote
1 answer

ejbCreate() method of MDB not called at the application startup on Websphere Application Server

I try to deploy an EJB 2.1 based application on a Websphere Application Server v7.0.0.23 with some Spring initialization code into the onEjbCreate method of the MDB: @Override protected void onEjbCreate() { …
Julien
  • 13
  • 2