Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why is SessionBean extending EnterpriseBean

 
sreenath reddy
Ranch Hand
Posts: 415
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic