KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm a little confused as to how this inversion of control ( IoC ) works in Spring . Say I have a service class called UserServiceImpl that implements the UserService interface. How would this be @Autowired ? And in my Controllers , how would I instantiate an instance of this service? Would I just do the following? UserService userService = new UserServiceImpl();
Tags (comma-separated)
Save Edits
Cancel