A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
EJB and other Java EE Technologies
Why is SessionBean extending EnterpriseBean
Joined: Sep 21, 2003
Jul 27, 2006 00:40:00
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 ??
I agree. Here's the link:
subject: Why is SessionBean extending EnterpriseBean
why EJBs are serialized
Why all EnterpriseBean are Serializable ??
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015