https://github.com/priyansusahoo/spring_hibernate_mastery
Learning SpringBoot - By ChadDarby
https://github.com/priyansusahoo/spring_hibernate_mastery
hibernate jpa spring-core springboot3
Last synced: about 1 month ago
JSON representation
Learning SpringBoot - By ChadDarby
- Host: GitHub
- URL: https://github.com/priyansusahoo/spring_hibernate_mastery
- Owner: Priyansusahoo
- Created: 2024-04-05T08:51:57.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-23T18:34:06.000Z (3 months ago)
- Last Synced: 2025-01-23T19:31:07.963Z (3 months ago)
- Topics: hibernate, jpa, spring-core, springboot3
- Language: Java
- Homepage:
- Size: 80.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Learning SpringBoot (Chad Darby)
## - Spring Starter
## - Maven
## - @Controller Vs @RestController
## - @GetMapping
## - @Value
## - application.properties.
## - [Actuator Endpoint - (e.g. health, info)](https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#actuator.endpoints)
e.g. of endpoint - (/actuator/info)
Go to this section => (13.1. Enabling Production-ready Features -> 13.2. Endpoints)
## - [SpringBean scope](https://docs.spring.io/spring-framework/reference/core/beans/factory-scopes.html) :
### - singleton :
(Default) Scopes a single bean definition to a single object instance for each Spring IoC container.
### - prototype :
Scopes a single bean definition to any number of object instances.
### - request :
Scopes a single bean definition to the lifecycle of a single HTTP request. That is, each HTTP request has its own instance of a bean created off the back of a single bean definition. Only valid in the context of a web-aware Spring ApplicationContext.
### - session :
Scopes a single bean definition to the lifecycle of an HTTP Session. Only valid in the context of a web-aware Spring ApplicationContext.
### - globalSession :
This creates a single bean instance per global HTTP session. It is valid only in the context of a portal application.
### - application :
Scopes a single bean definition to the lifecycle of a ServletContext. Only valid in the context of a web-aware Spring ApplicationContext.
### - websocket :
Scopes a single bean definition to the lifecycle of a WebSocket. Only valid in the context of a web-aware Spring ApplicationContext.