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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Why is SessionBean extending EnterpriseBean
 
Similar Threads
why EJBs are serialized
Why all EnterpriseBean are Serializable ??
Session Bean
interface doubt
Marker interface