Showing posts with label "Spring annotations". Show all posts
Showing posts with label "Spring annotations". Show all posts

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 :)

Wednesday, August 16, 2017

Spring Framework Annotations

Came across this web site where the basic annotations are explained in a simple way:

"Spring uses dependency injection to configure and to bring your application together. It means that you just declare the components of your system and how they interact. Then Spring wires it all together at runtime. Here are the most important annotations you should know of."

Go to https://zeroturnaround.com/rebellabs/spring-framework-annotations-cheat-sheet/