Spring
尘世中迷途小码农
小小码农写程序,又改bug换酒钱
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Maven pom.xml cnfigurations for Spring framework
projectxmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven原创 2014-11-04 19:18:24 · 713 阅读 · 0 评论 -
A simple RESTful template based on Spring MVC
RESTFUL的简介引用自以下两个链接,实例代码原创。https://www.cnblogs.com/loveis715/p/4669091.htmlhttps://en.wikipedia.org/wiki/Representational_state_transferREST简介Representational State Transfer (REST) is a software archi...原创 2018-06-26 14:13:42 · 192 阅读 · 0 评论 -
Spring Boot (5) Thymeleaf
Spring Boot (5) ThymeleafThis section describes how to use spring boot + Thymeleaf to setup a web page demo system, spring boot supports FreeMarker, Groovy, Thymeleaf, Velocity and Mustache template e...原创 2018-07-09 16:59:52 · 332 阅读 · 0 评论 -
Spring Boot (6) Source Code
For all sample code of Spring Boot (x) blogs, please refer to: https://github.com/wangxiaohui2015/springboot_study原创 2018-07-09 17:30:58 · 313 阅读 · 0 评论 -
Nginx + Tomcat + Redis + Spring for Loadbalance and session sharing
This blog describes how to use Nginx + Tomcat + Redis + Spring to setup a load balance and session sharing system.Setup environmentNginx Download: http://nginx.org/en/download.html Guide: http://nginx...原创 2018-07-03 15:43:35 · 336 阅读 · 0 评论 -
Spring Boot (1) Hello World
Begin at Hello WorldThis section describes how to develop a simple “Hello World!” web application that highlights some of Spring Boot’s key features. We use Maven to build this project, since most IDE...原创 2018-07-04 12:07:32 · 239 阅读 · 0 评论 -
Spring Boot (2) RESTful Service
Developing a RESTful serviceThis section describes how to develop a pure RESTful service based on Spring Boot.1. Creating the POM<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://...原创 2018-07-04 13:54:13 · 285 阅读 · 0 评论 -
Spring Boot (3) Configurations
Spring Boot (3) ConfigurationsThis section describes the configurations in Spring Boot.1. Get configuration by ConfigurableApplicationContext objectapplication.properties# Common propertiesserver.por...原创 2018-07-04 17:12:28 · 681 阅读 · 0 评论 -
Spring Boot (4) Connect MySQL by Spring Data JPA
Spring Boot (4) Connect MySQL by Spring Data JPAThis section describes how to connect MySQL by Spring Data JPA (Java Persistence API). Spring Data JPA, part of the larger Spring Data family, makes it ...原创 2018-07-05 16:16:12 · 358 阅读 · 0 评论 -
Spring事务传播机制 - Spring transaction propagation
事务传播机制Java中存在事务传播的原因是当我们在调用某个业务逻辑方法A时该方法可能会调用其它的业务逻辑方法B,而这两个方法都有可能在不同的事务中,这样我们需要确定方法A和方法B的事务关系,以便其能协调完成整体的某个业务逻辑,这种关系就是事务间的传播关系。Spring的声明试事务能很好的控制这种传播关系,不用我们手动编程实现,只需在声明事务的时候指定传播类型即可。 PROPAGA...原创 2015-04-23 16:29:47 · 1775 阅读 · 0 评论
分享