Skip to content

Conversation

@RamiDaoud
Copy link

issue-302: Added Spring boot/Lombok Annotations to the README.md


- Basic setup:
- @Bean:
- It is a method-level annotation. It is an alternative of XML <bean> tag. It tells the method to produce a bean to be managed by Spring Container.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add a definition of "bean" here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also mention that we prefer using the stereotype annotations rather than defining beans in config classes where possible.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start, but what if we have a new joiner with no java experience? Maybe a link to https://www.baeldung.com/spring-bean would help

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, github wasn't showing me the latest changes -- looks good, but let's add the link anyway

@cbaltera
Copy link
Contributor

@GalateaMattB does this cover what you were looking for?

@RamiDaoud
Copy link
Author

@GalateaMattB does this cover what you were looking for?

Please refrence https://docs.google.com/document/d/1eNODztmE8VPgQ8sEs-QyGH5rjXgx_2esnp5cJK2YF7Q/edit#heading=h.gy2hov5n7fcf for a more verbose explanation.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introductory Spring Annotation Documentation

3 participants