I have seen some projects using a package named "resources" and some other projects using a package named "controllers", to put RestControllers. Which is the most common convention for a package name that contains rest controllers? If I'm writing rest controller for accessing user service, should the controller be named UserController or UserResource?
Asked
Active
Viewed 1,004 times
1
-
Possible duplicate: https://stackoverflow.com/questions/12397940/spring-and-mvc-proper-project-structure – 4EACH Aug 15 '21 at 13:20
2 Answers
0
Both meaning the same, but Controller is more common. UserController is ok

Nicolas Osorio
- 1
- 1
- 1
-
Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Mar 06 '22 at 10:06