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 Shopping/Booking Cart, SFSB 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 "Shopping/Booking Cart, SFSB" Watch "Shopping/Booking Cart, SFSB" New topic

Shopping/Booking Cart, SFSB

Francesco Bianchi

Joined: May 06, 2007
Posts: 5
Big Hi to everyone! This is my first post here. I have been a silent observer of this forum for the last three months and I find it great.

I have cleared SCEA part 1 with 79% five days ago. And now well � I am starting to prepare the part 2. I am quite confused about the discussions on shopping cart (or booking) cart. I have discovered that the issue of the shopping cart is one of the most vividly discussed in this forum and really mystified because I cannot find any connection to the requirements.

According to the requirements the booking and payment can be separated in time. A customer can have many unpayed bookings and can pay for these bookings in a separate session. How can a storing of the state (Itinerary/Flights/Seats) in a SFSB without storing it in a database be helpful in this situation?

I would like to emphasize that I am not speaking of Transfer Object (TO/DTO/VO) or Stateful Session Beans for storing user / customer /login data. These are separate problems and it wouldn�t help if you call a DTO or a Business Service �Shopping Cart�. I think �Shopping cart� is a well-established term and it is misleading to use the term for something else.

Can somebody explain how can a Stateful Session Bean (like in PetStore) for the Shopping/Booking cart help in the booking process?

I just hope that my question is not especially stupid.
Anyway, many thanks in advance.
I agree. Here's the link:
subject: Shopping/Booking Cart, SFSB
jQuery in Action, 3rd edition