File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes session data in business tier Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "session data in business tier" Watch "session data in business tier" New topic

session data in business tier

Andrew Zilahi
Ranch Hand

Joined: Oct 16, 2006
Posts: 47
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....


--------------------------<br />SCJP,SCJD,IBM XML, SCEA 1
Ram Ruk

Joined: Nov 19, 2006
Posts: 10
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?
I agree. Here's the link:
subject: session data in business tier
It's not a secret anymore!