This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sateful vs. Stateless

 
Luay Abdulraheem
Ranch Hand
Posts: 65
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I believe this is the question to ask in order to choose between Stateful or Stateless Session Beans.

True or False !

In an EJB centric application:
If it has both Application Client & Web Client then use Stateful Session Beans to maintain state, but if there is only Web Client, use Stateless Session Beans and HTTP session to maintain state.

Am I right or wrong ?
Thanks All
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33696
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Luay,
Yes. That is a good rule of thumb.
 
Krzysztof Koziol
Ranch Hand
Posts: 133
Eclipse IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my solution I decided to go with SFSB to maintain state even if my application has only a Web Client. What's wrong with that approach?
 
Luay Abdulraheem
Ranch Hand
Posts: 65
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WoooooooooooooooooooooooHoooooooooooooooooooooo... Finally mystery solved !

P.S.: of course in my assignment I can assume anything that is not given or mentioned ..
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic