I am assuming that when ever customer clicks on change itineray use case he should be forced to login where log in use case will be executed. Is this assumption correct ?
If the above is correct then My question here is can i call from customer delegate direcly the customer entity ejb for authntciating user credentials without using a facade in between and similarly when authentication is successfull the customercontroller-->ItineraryDelegate-->ItineraryEJB without using facade to fetch the results back.
Any feed back is highly appreciated.
posted 9 years ago
I think that this will be handled in the Front Controller / Application Controller components, in the presentation layer.
The user can change flight if he (or her) has logged on the web site. The Controller should not invoke any business components otherwise.