Steve
Steve

Reputation: 61

JSP/javabean/servlet MVC

Where should mysql code go in terms of MVC? Obviously not the view.

Upvotes: 3

Views: 1232

Answers (2)

Jigar Joshi
Jigar Joshi

Reputation: 240956

It should be in one separate layer. which your service layer should be calling from Controller(Servlet)

Also See

Upvotes: 4

BalusC
BalusC

Reputation: 1109532

It's not part of MVC. It should go in a DAO class which is (in)directly called by C.

See also:

Upvotes: 6

Related Questions