1 min readSep 2, 2020
In fact this is the point of this article, it relies on constructor injection instead of field injection to avoid any framework specific annotations. With constructor injection no need to use the @autowired.
In fact this is the point of this article, it relies on constructor injection instead of field injection to avoid any framework specific annotations. With constructor injection no need to use the @autowired.