Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Entity bean failure

 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just thought of listing down points why entity beans failed. If someone disagrees or has new points please reply to the thread

1. Entity beans are complicated. They have complex lifecycle and interfaces (home ,remote, EntityBean interface)
2.Most of the datastores are RDBMS but entity bens tried to provide a generic solution.
3. There is no easy support for inheritance.
4. Difficult to test.
5. Patterns like DTO,DAO required.
6. Complicated deployment descriptor.
7. Entity beans are get/set objects with no behaviour.
8. Difficult to port.

I am sure that many here will have excllent point.Please share them here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic