aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes EJB inheritance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB inheritance" Watch "EJB inheritance" New topic
Author

EJB inheritance

partha
Greenhorn

Joined: Sep 17, 2002
Posts: 5
I would like to know the support for EJB inheritance provided by various application servers available in the market today.
I have a little bit knowledge about websphere, and it provides support for EJB inheritance. It also gives us options for mapping parent, child EJBs using root/leaf or single table mapping. I can deploy two CMP beans with inheritance very easily on Websphere.
I would like to know whether any other application servers provide these kind of options for EJB inheritance.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
"partha",
Please take a couple of minutes for reading our naming policy and edit your display name accordingly.
Thank you!


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Roshan Lal
Ranch Hand

Joined: Nov 13, 2001
Posts: 64
Originally posted by partha:
I would like to know the support for EJB inheritance provided by various application servers available in the market today.
I have a little bit knowledge about websphere, and it provides support for EJB inheritance. It also gives us options for mapping parent, child EJBs using root/leaf or single table mapping. I can deploy two CMP beans with inheritance very easily on Websphere.
I would like to know whether any other application servers provide these kind of options for EJB inheritance.

We are currently using CMP EJB Inheritance with Websphere 5.1. The inheritance seems to be working, except the generated DLL does not have
integrity constraints between parent child beans. We added our constraints
and it breaks ie the websphere tries to delete the root ejb first and the go deleting towards leaf which results in constraints violation. We have submitted this bug to IBM support. Meanwhile, we have removed the constraints and it works fine.

HTH
Roshan
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: EJB inheritance