File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Why is SessionBean extending EnterpriseBean 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 "Why is SessionBean extending EnterpriseBean" Watch "Why is SessionBean extending EnterpriseBean" New topic
Author

Why is SessionBean extending EnterpriseBean

sreenath reddy
Ranch Hand

Joined: Sep 21, 2003
Posts: 415
Hi

I am curious to know why SessionBean is extending EnterpriseBean interface(Which inturn extends Serializable) thus being a Marker interface.

Instead the SessionBean could have directly extended the Serializable interface .. Why is this done ??

I would appreciate if someone could throw light on this design aspect ??

Regards
Sreenath
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why is SessionBean extending EnterpriseBean
 
Similar Threads
interface doubt
Session Bean
Why all EnterpriseBean are Serializable ??
Marker interface
why EJBs are serialized