Difference between revisions of "Java: Spring"

From RHS Wiki
Jump to navigation Jump to search
Tag: visualeditor
m
Tag: visualeditor
 
Line 47: Line 47:
  
 
Spring Security: Secure web application or REST API or microservice
 
Spring Security: Secure web application or REST API or microservice
 +
[[Category:Java]]

Latest revision as of 13:01, 30 April 2022

Spring Initializr

Spring default port 8080

Code example

application.properties[edit]

logging.level.org.springframework=DEBUG

pom.xml (Dependencies)[edit]

....
    <dependencies>
        ....
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>
        ....
    </dependencies>
....

Spring Modules[edit]

Core: IoC Container etc.

Testing: Mock Objects, Spring MVC Test, etc

Data Access: Transactions, JDBC, JPA etc

Web Servlet: Spring MVC etc

Web Reactive: Spring WebFlux etc

Integration: JMS etc

Spring Projects[edit]

Spring Boot: Microservices framework

Spring Cloud: Cloud native applications

Spring Data: Integrate the same way with different types of databases: NoSQL and Relational

Spring Integration: Integrate with other applications

Spring Security: Secure web application or REST API or microservice