File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why is SessionBean extending EnterpriseBean

 
sreenath reddy
Ranch Hand
Posts: 415
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic