• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inheritance in Entity beans

 
Pasu Jags
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is it possible to store entity beans in OODBMS?. If so how inheritance is managed with entity beans?.
Regards,
Pasu
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure that you can store the actual entity beans within an object database, since you generally have to have them extend special classes or implement specific interfaces provided by the database vendor.
You can however, using BMP, store representations of the entity beans within an object database. For example, you could extract the data into a value object type structure and insert this. Probably also means that you have to manage any relationships, etc too.
Anybody else care to comment?
Simon
 
Peter Reinhardt
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Simon Brown:
I'm not sure that you can store the actual entity beans within an object database, since you generally have to have them extend special classes or implement specific interfaces provided by the database vendor.

I don't think this is really true. An OODBMS vendor could provide a "plugin" for enabling a transparent CMP persistency to the database (like e.g. Toplink).

Peter.
[ August 06, 2002: Message edited by: Peter Reinhardt ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic