Component, ComponentScan, Service, Autowired, Transactional, Repository and Controller — Spring is a framework that simplifies the development of enterprise Java applications. The framework makes working with transactions, persistence, event handling, web, and other applications/components easier. By using Spring, the developer can focus more on the application logic. There are several annotations you can use when working with Spring. In…