This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Why use stateful bean. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Why use stateful bean." Watch "Why use stateful bean." New topic
Author

Why use stateful bean.

amitpallavi patel
Greenhorn

Joined: Mar 09, 2005
Posts: 2
Why we use Stateful bean instead of there is facilites for cookies and HttpSession in servlet.

Both stateful,cookies and HttpSession are maintain state.so what is the use of stateful bean
Gustavo Dutra
Greenhorn

Joined: Jan 26, 2005
Posts: 22
Hi,

look at this site:

http://www.precisejava.com/javaperf/j2ee/EJB.htm#EJB114
Mark Wassermann
Greenhorn

Joined: Feb 20, 2005
Posts: 8
don't forget that HttpSessions are for web clients only, while a SFSB can be used with other clients, i.e. rich clients.

Mark
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1372
Hi mark, rich clients means mobile client / Black berry client / PDA Client (or) AWT / Swing Client. Is it correct?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Why use stateful bean.
 
Similar Threads
Diff between HttpSession and Stateful Session bean
State of Stateful Session Beans
Stateful entity beans in design
SCEA part 2 - class diagrams and carts
http session object,ejb session bean