Difference between revisions of "Java: Spring"
Jump to navigation
Jump to search
Rafahsolis (talk | contribs) m Tag: visualeditor |
Rafahsolis (talk | contribs) m Tag: visualeditor |
||
| Line 5: | Line 5: | ||
[https://github.com/in28minutes/java-a-course-for-beginners/blob/master/51-learn-spring-framework/5.md#srcmainjavacomin28minuteslearnspringframeworksampleenterpriseflowwebcontrollerjava Code example] | [https://github.com/in28minutes/java-a-course-for-beginners/blob/master/51-learn-spring-framework/5.md#srcmainjavacomin28minuteslearnspringframeworksampleenterpriseflowwebcontrollerjava Code example] | ||
| − | === application.properties === | + | ===application.properties=== |
<syntaxhighlight lang="java"> | <syntaxhighlight lang="java"> | ||
logging.level.org.springframework=DEBUG | logging.level.org.springframework=DEBUG | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| − | === pom.xml (Dependencies) === | + | ===pom.xml (Dependencies)=== |
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
.... | .... | ||
| Line 22: | Line 22: | ||
</dependencies> | </dependencies> | ||
.... | .... | ||
| − | </syntaxhighlight><br /> | + | </syntaxhighlight> |
| + | |||
| + | === Spring Modules === | ||
| + | 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<br /> | ||
Revision as of 12:53, 30 April 2022
Spring default port 8080
application.properties
logging.level.org.springframework=DEBUG
pom.xml (Dependencies)
....
<dependencies>
....
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
....
</dependencies>
....
Spring Modules
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