• Post Reply Bookmark Topic Watch Topic
  • New Topic

Converting EJB 1.1 CMP entities to EJB 2.0.  RSS feed

Balaji Akella
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are currently migrating an application in EJB 1.1 CMP to EJB 2.0 CMP. In the application, the finder methods are returning enumerations in 1.1. However there seems to be a restriction in EJB 2.0 that only collections can be return types. This would require rewrite of lots of portions of the code, modifying the return types in interfaces, and looping conditions and methods in session beans whereever the entities are used.
Any workaround or alternative to this problem are really appreciated.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!