Hai, Can u please clear me when would we use Entity beans? when would we use Stateless Session beans? when would we use Stateful Session beans? when would we use Message-driven beans? Regards... Vijaya.
sharp shooter, and author
posted 13 years ago
In a nutshell...
Entity beans - for representing persistent information
Stateless session beans - for representing business processing/logic
Stateful session beans - for representing business logic where state is required to be maintained over a longer period of time (longer than a single method invocation)
Message-driven beans - as an aynchronous interface (via JMS) to functionality contained within stateless session beans, or to provide a messaging interface for your app
HTH Simon [ November 06, 2002: Message edited by: Simon Brown ]