Given:
Question:
I really need some j2ee clarifications now, I know that MVC is the same across languages but I just need to be sure :) If I am doing this in .net I would have undoubtedly put this in service.
This really depends on what processList
is doing exactly. There is no golden rule. Some rules I try to follow are:
ManagementServiceImpl
should never call NotificationServiceImpl
.UserUpdateHandler
or NotificationDispatcher
(these are still owned by the service layer -> noone else is allowed to call them)...Some examples for processList
:
Hibernate#initialize
FetchHandler
class (owned by service layer). In newer projects we leave this completely to DAOs.Side note: