Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Joined: Nov 02, 2002
Nov 04, 2002 22:43:00
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?
sharp shooter, and author
Joined: May 10, 2000
Nov 06, 2002 03:57:00
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
[ November 06, 2002: Message edited by: Simon Brown ]
It is sorta covered in the
JavaRanch Style Guide
a few questions
DAO with statefull session bean
HttpSession vs Session Beans
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013