• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session management...

 
sergej bogdanoff
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I wondered if I had to store data in the my SFSB Session or pass back to the client all the information that will be sent back in the next request.

e.g.:

The client selects the departure and return flight.

Should I put the selected flights in the Session and add the seats selection when he will have chosen them?

Or should I send back the flights he chose to the client?

From my point of view I would prefer keeping the info in the SFSB.

Thank you in advance for you advice.

Sergej.
 
Vinay Singh
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sergej
You cannot use HttpSession as this solution has to cater for Swing client also. Hence SFSB would be used for storing the session data.
But in some cases there would be some data required specifically by web client, for that HttpSession can be used.
Hope this helps
 
Dominik Smith
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using HTTP Session vs. SFSB has its advantages and disadvantages very relevant to the assignment's requirements. It's up to the architect to advise one or the other and to explain their decision. You _can_ use HTTP Session for this assignemnt.
 
sankha subhra das
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sergej,
see me earlier post of this topic...Hope that helps.

http://www.coderanch.com/t/152841/java-Architect-SCEA/certification/Hardware-inputs-architects

Thanks
Sankha Das
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic