U
U
UNy2019-04-10 23:29:59
Java
UNy, 2019-04-10 23:29:59

What does model do in Spring MVC?

After the data gets into the controller, I will need to somehow change it, this is done by third-party classes with business logic. What is model responsible for in Spring MVC? only for processed data??

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Kosarev, 2019-04-11
@jaxtr

Model in Spring MVC is for passing data between controller and view.

W
webmaster2, 2019-04-12
@webartisan2

Model stores business entities. For example, classes with mapping to database tables. You can use them in classes with business logic

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question