Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session management on the client?

 
Hitry Mitry
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was wondering if anyone used the approach to the user session management whereby it's done on the (fat) client, as opposed to SFSB / servlet?

In the context of this assignment this approach seems to ensure (at leat in theory) the best performance and has some other useful properties...
 
Carlos Duarte
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

I also used client-side session management for Traval Agent application (and Web-Container based session management for Customer application). But lots of other people here did otherwise. In my opinion, there is an scalability advantage into not tying session management to the EJB tier, but you should weight this in contrast with the code/setup reuse and other advantages that a backend-managed session can offer.

Decisions, decisions, decisions... that's all Part II is about!
 
leevisa asinveel
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I too buy that.The idea to keep SESSION as an Sateful EJB is when the seesion needs to be mainted close to the business layer.but as you said
this approach is very suitable for the requirement. Since we can re-use
the Stateful SESSION BEAN both for application and webclient.I am also
going to follow this approach.Please suggest me if i am wrong.
 
Hitry Mitry
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi leevista,

I don't think you are "wrong", but I think one of the requirements of the assignment is to make the application client as snappy as possible, while stateful session EJBs are known to be a performance bottleneck.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic