The Artima Developer Community
Sponsored Link

Legacy Design Forum
Composition Versus Inheritance



This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


when to use session bean when to use entity bean

Posted by swapnareddy on January 31, 2002 at 1:43 AM

> > How to go about deciding whether to use session beans and entity bean?
> > How to distrubute the responsibilties?

session beans are used only for single client applications.
They are only used for short term time.they are used mainly for order entry processing techniques.
on the other hand entity beans are used for multiple clients,whey maintain long term run of the program,moreover they are persistent in nature as they obey the property of shared capacity with the help of primary key concept


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us