Hi All:
I am working on class diagram and stuck in presentation tier design.
In business and persistence tier, I have design couple of Services and DAOs.
All of them are
EJB Stateless Session Beans and I assume DI is used.
So in presentation tier, I have to call the service in
Servlet otherwise DI won't work (I don't use
JSF cuz I am not familiar with JSF).
It turns out I need to create one servlet for each use case
and a front controller servlet to handle all requests from clients then dispatch to each action servlet to call service EJB.
Is this a good design or bad?
Thanks for your opinion,
Chris
SCEA, SCJD, SCDJWS, SCWCD, SCJP