JSP / javabean / servlet MVC

Where should mysql code look like in terms of MVC? Obviously not kind.

+3
source share
2 answers

This is not part of MVC. It should go in the DAO class, which is (in), which is directly called by C.

See also:

+6
source

It must be in one separate layer. which your service level should call from the controller (servlet)

Also see

+4
source

Source: https://habr.com/ru/post/1792211/


All Articles