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.

242 questions
3
votes
0 answers

STS 4.1 exception on EJB calling

I've a project under Eclipse Indigo with JBoss 4.2.2 with back end and front end (using Flash Player). Now I want to update my project using STS 4.1 for my back end and move the front end in Flash Builder IDE using Adobe AIR. The back end use the…
Joe Taras
  • 14,133
  • 7
  • 36
  • 51
3
votes
1 answer

Does EJB stub guarantee the remote EJB working for any client?

I have an EJB (EJB 2x) on a remote server. I have a stubs file which I use on my client to access the EJB methods. My client runs on another host. It used to run under exactly the same server as the EJB it calls. But now I've deployed the client to…
Alexander Kulyakhtin
  • 45,879
  • 35
  • 103
  • 155
3
votes
3 answers

EJB and Hibernate in Struts application

I have an application that has a struts 1.1 and EJB 2 combination, but now we are introducing a new piece into it with hibernate 3.2. The hibernate DAO's run in parallel with the EJB 2 session bean DAO's with pure JDBC. I am concerned about the jdbc…
Gopal
  • 71
  • 1
  • 9
3
votes
2 answers

Migrating EJB2.x BMP entity beans

We use EJB2.x entity beans with BMP (bean managed persistence). It appears BMP is not supported in EJB3. We had wanted to stay current and upgrade to EJB3. Does anyone know if there are in fact any BMP options available in 3.0? From what I can…
Marcus Leon
  • 50,921
  • 112
  • 279
  • 413
3
votes
2 answers

EJBs 2.0 on OpenEJB - Where do I put the needed jars?

We've been using WAS 6.1 so far to deploy our web apps. Now we need to migrate to an economics-savvy Tomcat + OpenEJB solution. The OpenEJB 3.1.2 container is plugged into Tomcat 6.18, no standalone OpenEJB server here. So here I am, trying to…
Julian
  • 31
  • 2
3
votes
1 answer

JBoss EJB2 Timers Service - multiple servers, single TIMERS table?

I can't find this in the JBoss documentation anywhere, so am asking here. Can multiple, non-clustered JBoss instances access and share the same TIMERS table (as used by EJB2 Timers Service) without upsetting each other, or does each one need its own…
Rich
  • 15,093
  • 14
  • 75
  • 122
3
votes
2 answers

Difference between EJB and Servlet?

We are using ejb 2.1 to expose as a webservice using apache axis2.I have read in codebranch website that both are serverside components where in ejb can be run in more than one server unlike servlets..but I didn't get clear picture of difference.
Nagappa L M
  • 1,240
  • 3
  • 16
  • 28
2
votes
1 answer

How to resolve a NamingException that's only thrown when running application

i got error: javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException:BranchProcessorLocal not bound] in my EJB-Hibernet project I am using jboss-4.0.2, NetBeans-6.8, JavaEE 5 Project is…
khushbu
  • 192
  • 2
  • 10
2
votes
1 answer

Jboss AS 6 - How to find an EJB via JNDI

I am trying out a simple EJB 2.1 HelloWorld using Jboss AS 6. I created an EJB jar file with the following structure: HelloWorldEjb |-ex1 |-ejb21 |-ejb.jar.xml |-Hello.java |-HelloBean.java …
ziggy
  • 14,901
  • 61
  • 181
  • 273
2
votes
3 answers

Migrate from EJB 2 Entity Bean to EJB3

I am having some entity beans created in EJB 2.0 and now I need to migrate to EJB 3.x, but I've studied that use of entity beans are changed in EJB 3.x and they are using JPA instead. Where can I find solution to actuate my beans to be comfortable…
lourdh
  • 329
  • 10
  • 29
2
votes
3 answers

Adding Spring Framework to existing JSP/EJB application

I had an existing application developed in JSP and EJB 2.1 years ago. Now i want to enhance the application with new features. Is there a way to use Spring and Hibernate frameworks within the same old application for adding new features or do i need…
ikvenu2000
  • 151
  • 1
  • 4
  • 10
2
votes
1 answer

Difference between Entity bean and Entity class?

What are the differences between entity beans which are in the EJB 2.0 specification and entity classes which in the 3.0 specification?
jackP
  • 31
  • 4
2
votes
1 answer

Moving from jboss 3.2.1 to jboss6

Now we have a project with java 1.4 and ejb 2.1 running on jboss 3.2.1. We are trying to update up to java 6 and ejb3.1, but we are doing it in steps. So my question is simple, can we use ejb2.1 on jboss6?
breedish
  • 5,331
  • 11
  • 36
  • 57
2
votes
1 answer

How to access remote EJB 2.1 bean on JBoss 4.x from outside container

I've got a session bean, defined in an ejb-jar.xml and jboss.xml. It's defined with an ejb-name, remote and home interface and an implementation. When I fire up JBoss and view the JNDI tree the home interface seems to be there under the JNDI name of…
rich
  • 17,280
  • 9
  • 58
  • 96
2
votes
2 answers

case-insensitive search in EJB QL

This looks really simple and I can't believe I haven't found a solution myself. I have a bean named PersonBean, which has a name. Now I want to write a finder method that takes a string and looks for people with that string in their name,…
phunehehe
  • 8,078
  • 7
  • 43
  • 77
1
2
3
16 17