File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Why use stateful bean." Watch "Why use stateful bean." New topic

Why use stateful bean.

amitpallavi patel

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 what is the use of stateful bean
Gustavo Dutra

Joined: Jan 26, 2005
Posts: 22

look at this site:
Mark Wassermann

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.

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1404
Hi mark, rich clients means mobile client / Black berry client / PDA Client (or) AWT / Swing Client. Is it correct?
I agree. Here's the link:
subject: Why use stateful bean.
It's not a secret anymore!