• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Session management on the client?

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic