File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why use stateful bean.

 
amitpallavi patel
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

look at this site:

http://www.precisejava.com/javaperf/j2ee/EJB.htm#EJB114
 
Mark Wassermann
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1453
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic