You are the chief architect of ABCD consulting Inc. and got a client green hound inc. to design an online bus ticket booking application. Currently your plan to have a controller to maintain user sessions, a customer component to hold personal details, a credit card validation component, a set of GUI screens and a Bus component with details of all routes and seating capacities. Which of the following should be used for each component?
I am not clear what the Controller should be? Should it be a Servlet or Stateful Session Bean?