This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Urgent: Can a Ejb extend from another Ejb? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Urgent: Can a Ejb extend from another Ejb?" Watch "Urgent: Can a Ejb extend from another Ejb?" New topic
Author

Urgent: Can a Ejb extend from another Ejb?

Santhosh Kumar
Ranch Hand

Joined: Nov 07, 2000
Posts: 242
Hi All,
Can a Entity bean extends from another Entity bean? Is this standrad procedure?
Thanks,
Santhosh.
Chee
Greenhorn

Joined: Jan 23, 2001
Posts: 16
Hi
It's not at all possible. Let us assume that you have extended a bean class A into bean class b.. In bean class b you"ll be writing all the mandatory methods which means that you are overridding all the mandatory methods in class A.. Hence the reason.
This was just one ex for not extending..There are many more..
Cheers..Johnson
 
wood burning stoves
 
subject: Urgent: Can a Ejb extend from another Ejb?
 
Similar Threads
Reentrant calls on entity beans
Call Entity Beans
ejbPostCreate()
Local Interfaces in EJB
BMP and BMT