• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB 2.x: changing remote entity beans to local entity beans

 
pranay hira
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

First of all am working on an existing application. We want to 'localize' the remote EJB 2.x used in the application.

The technology stack is:
1. BEA Weblogic 9.23
2. EJB 2.x
3. Java 1.5
4. Maven 2.0.x to build the application

The list of work is roughly:
1. extend EJBLocalObject (business interface) instead of EJBObject
2 extend the EJBLocalHome (home interface) instead of EJBHome
3. remove RemoteExceptions were necessary in the EJB
4. adjust the ejb-jar.xml
<home> tag to <local-home> tag and <remote> tag to <local> tag
5. adjust the weblogic-ejb-jar.xml
change the <jndi-name> to <local-jndi-name>

When building it builds succesfull whenever deploying I am getting this error:


I don't understand this error. When reverting and deploying all works well.

Do you have any tips indicating what might go wrong?

Thanks in advance
 
pranay hira
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I forgot to replace the extend EJBHome to EJBLocalHome :-).

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!