This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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
 
 
subject: Urgent: Can a Ejb extend from another Ejb?