aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Session management on the client? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Session management on the client?" Watch "Session management on the client?" New topic
Author

Session management on the client?

Hitry Mitry
Ranch Hand

Joined: Jun 16, 2005
Posts: 32
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

Joined: Jun 24, 2005
Posts: 16
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

Joined: Jul 01, 2005
Posts: 35
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

Joined: Jun 16, 2005
Posts: 32
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session management on the client?
 
Similar Threads
How to maintain a session in Client/Server Environment in java
JSP
Doubt regarding session management
matter in class verses component diagram
Session management