jQuery in Action, 2nd edition*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 1371
Hi mark, rich clients means mobile client / Black berry client / PDA Client (or) AWT / Swing Client. Is it correct?
 
Don't get me started about those stupid light bulbs.
 
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