Bean scopes in Spring Framework

Spring Bean scopesSet up the scopeThe @Scope annotation can be used@Scope("singleton")There are 6 scopes are available in the application contextsingleton This is the default scope.The same object is...
Home » Posts filed under spring
June 26, 2021 Ravi Yasas
Spring Bean scopesSet up the scopeThe @Scope annotation can be used@Scope("singleton")There are 6 scopes are available in the application contextsingleton This is the default scope.The same object is...
bean scope / beans / beginners / learning / prototype / request / scope / singleton / spring / spring boot / spring framework / tutorials
June 26, 2021 Ravi Yasas
Dependency injection What is Dependency injection?Dependency injection is a form of the IoC containerIt is just passing dependencies to other objects or frameworks.Dependency injection allows you to...
@Autowired / beginners / constructor / dependency injection / di / injection / ioc / ioc container / learning / setter / spring / spring boot / spring framework / tutorials
@OneToOne The best approach to bidirectional @OneToOne is to use @MapsId Student entity @Entity @Data @Table(name = "students") pu...