Simple but good pattern for EJB

Posted by Sara on Stack Overflow See other posts from Stack Overflow or by Sara
Published on 2010-06-03T22:00:45Z Indexed on 2010/06/03 22:04 UTC
Read the original article Hit count: 292

Filed under:
|
|
|

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...

© Stack Overflow or respective owner

Related posts about java

Related posts about ejb3