Thursday, August 24, 2017

More on Spring Boot Annotations

This web site explains some of the key Spring Boot annotations that I came across while working on a Spring Boot application.

http://zetcode.com/articles/springbootbean/

A sample of explanation: Spring @Bean annotation tells that a method produces a bean to be managed by the Spring container. It is a method-level annotation. During Java configuration (@Configuration), the method is executed and its return value is registered as a bean within a BeanFactory.

You see, it's that simple and cool :)

No comments:

Post a Comment