Skip to content

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Learning SpringBoot (Chad Darby)

- Spring Starter

- Maven

- @Controller Vs @RestController

- @GetMapping

- @Value

- application.properties.

        e.g. of endpoint - (/actuator/info)
        Go to this section => (13.1. Enabling Production-ready Features -> 13.2. Endpoints)

- 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.

About

Learning SpringBoot - By ChadDarby

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages