Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Moving from EJB2 to EJB3  RSS feed

daphna deutsch
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

My current application is using EJB 2 (with Jboss), and i would like to upgrade to EJB3.
However, i don't want to rewrite the old code... only new code will be written in EJB3.

my question is how to deploy both ejb2 and ejb3 in the same application?

When i tried to change the ejb-jar.xml to work with ejb3

i'm getting warning when starting the server for all the old beans and the new one:

In additional, some of the beans are also getting RuntimeException

Thanks for the help...
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!