Simple but good pattern for EJB
- by Sara
What would you suggest as a good and practical but simple pattern for a soloution with:
HTML + JSP (as a view/presentation)
SERVLETS (controller, request, session-handling)
EJB (persistence, businesslogic)
MySQL DB
And is it necessary to use an own layer of DAO for persistence? I use JPA to persist objects to my DB.
Should I withdraw business logic from my EJB? Sources online all tell me different things and confuses me...