SCJP, SCEA
SCJP,SCJD,SCEA
Originally posted by Newman Huang:
it seems redundant putting SFSB reference in httpsession and passing back to the SLSB facade, right? my suggestion is to take a look at the code of petstore.
another question is whether it is appropriate to reuse the BD? i think the web BD and swing BD are different.
SCJP, SCEA
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Can you point me to the concrete PetStore classes that do that? I found the PetStore ShoppingCart component but nothing that references or instantiates that component.
Why do you think we will need different BDs per client? Isn't that the whole point that we have a business-oriented BD that is there to use by any kind of client? What does a swing BD do different from a web BD?
SCJP,SCJD,SCEA
Originally posted by Dan Drillich:
Do we want to store references to this state information outside the business tier? I would say � No. My conclusion is therefore to implement the Fa�ade as SFSB and then everything falls into place.
SCJP, SCEA
SCJP, SCEA
I don't understand when you say that you don't want to store the reference to this state information outside of the business tier. Do you mean the shopping cart state itself or the reference to the cart? I guess you must store the reference or handle to the SFSB shopping cart outside of the business tier (e.g. HttpSession) otherwise you will lose the handle to the SFSB.
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Nobody would accept three SFSB for the implementation of a rather simple shopping cart.
Waht is your thought?
SCJP,SCJD,SCEA
Consider Paul's rocket mass heater. |