Reputation: 61
Where should mysql code go in terms of MVC? Obviously not the view.
Upvotes: 3
Views: 1232
Reputation: 240956
It should be in one separate layer. which your service layer should be calling from Controller(Servlet)
Also See
Upvotes: 4
Reputation: 1109532
It's not part of MVC. It should go in a DAO class which is (in)directly called by C.
Upvotes: 6