Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session data in business tier

 
Andrew Zilahi
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In an older post the following has been recommended: BD->SFSB->SLSB, i.e. stateful session facade. My question is how to pass on the session data? Would you just <b>pass session data as argument to all SLSB calls that need it?</b> In my case, I just need to pass on the Customer and Itinerary primary keys to the payment processor, etc.
BTW, some people suggested BD->SLSB->SFSB and SLSB would get the handle to the SFSB from web tier. This is clearly not something I would want to do....

thanks,
Andrew
 
Ram Ruk
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I agree with your earlier approach. I have no idea how SLSB could get data from the web tier. I think it is much more direct for SFSB to call SLSB. BTW, I had raised this question earlier in my post. Is everyone in agreement about this kind of usage i.e. BD->SLSB for Travel agent and BD->SFSB->SLSB for customers seems to be an ideal approach. Comments?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic