This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Urgent: Can a Ejb extend from another Ejb?
 
Similar Threads
BMP and BMT
ejbPostCreate()
Local Interfaces in EJB
Reentrant calls on entity beans
Call Entity Beans