Spring is one of the most widely used Java EE frameworks. I have written a lot on Spring Tutorial and this is a summary post that will work as an index to go through with all of them in order.

Spring是使用最广泛的Java EE框架之一 。 我已经在Spring Tutorial上写了很多文章,这是一个摘要文章,它将作为索引来按顺序进行介绍。

Spring教程 (Spring Tutorial)

All of the spring tutorials come with example projects that you can download from the tutorial pages.

所有Spring教程均附带示例项目,您可以从教程页面下载这些示例项目。

Spring核心教程 (Spring Core Tutorials)

Spring Framework is based on two design principles – Dependency Injection and Aspect Oriented Programming. Please go through the below tutorials to learn about the core spring concepts with implementation examples.

Spring框架基于两个设计原则- 依赖注入面向方面的编程 。 请仔细阅读以下教程,以了解带有实施示例的核心Spring概念。

  1. Spring Framework

    A brief look at the evolution of the Spring Framework, its architecture, core components, and principles that guides the development of this amazing framework.

    Spring框架

    简要查看Spring框架的演变,其体系结构,核心组件和指导该惊人框架开发的原理。

  2. Dependency Injection Java Example

    This post provides the basics of Dependency Injection and how we can implement DI pattern in simple java applications. It’s a good point to start with and then move to Spring Dependency Injection.

    依赖注入Java示例

    这篇文章提供了依赖注入的基础知识,以及如何在简单的Java应用程序中实现DI模式。 首先是一个好点,然后再转到Spring Dependency Injection。

  3. Spring Dependency Injection

    This tutorial is aimed to provide dependency injection example in Spring framework with both annotation based configuration and XML based configuration. The tutorial also include JUnit test program to validate the implementation.

    Spring依赖注入

    本教程旨在为Spring框架中的依赖项注入示例提供基于注释的配置和基于XML的配置。 该教程还包括用于验证实现的JUnit测试程序。

  4. Spring AOP Example

    This tutorial explains core concepts of Aspect-Oriented Programming such as Aspect, Advice, Pointcut, Joinpoint, AOP Proxy and Weaving. The tutorial explains about different types of Advice with simple program.

    Spring AOP示例

    本教程介绍了面向方面的编程的核心概念,例如方面,建议,切入点,连接点,AOP代理和编织。 本教程通过简单的程序介绍了不同类型的建议。

  5. Spring AOP Method Profiling
    Spring AOP方法分析
  6. Spring IoC Container and Spring Bean Example Tutorial

    This tutorial is aimed to explain the core concepts of Spring IoC container and Spring Bean with example programs. The tutorial explains about IoC Container and it’s core classes and different ways to create ApplicationContext.

    The tutorial also explains about Spring Bean, Spring Bean scopes, different ways to configure spring bean – XML, annotation, java-based through an example project.

    Spring IoC容器和Spring Bean示例教程

    本教程旨在通过示例程序来说明Spring IoC容器和Spring Bean的核心概念。 本教程介绍了有关IoC容器及其核心类以及创建ApplicationContext不同方法。

    本教程还通过示例项目介绍了有关Spring Bean,Spring Bean范围,配置Spring Bean的不同方法-XML,注释,基于Java的内容。

  7. Spring Bean Scopes

    Spring Bean Scopes allows us to have more granular control of the bean instances creation.

    Spring Bean范围

    Spring Bean Scopes使我们可以更精细地控制Bean实例的创建。

  8. Spring Bean Autowiring Example

    Spring IoC container is smart to figure out the bean for injecting dependencies through “spring autowire” attribute. This tutorial explains about different types of auto wiring with an example project.

    Spring Bean自动装配示例

    Spring IoC容器很聪明,可以通过“ spring autowire”属性找出用于注入依赖项的bean。 本教程通过示例项目介绍了不同类型的自动接线。

  9. Spring Bean Life Cycle

    Spring Beans are the most important part of any Spring application. Spring ApplicationContext is responsible to initialize the Spring Beans defined in spring bean configuration file. This tutorial explains about different ways through which we can provide post-initialization and pre-destroy methods in a spring bean – InitializingBean/DisposableBean interfaces or init-method/destroy-method attributes.

    Spring framework also support @PostConstruct and @PreDestroy annotations for defining post-init and pre-destroy methods. These annotations are part of javax.annotation package.

    You will also learn about Spring Aware interfaces that you can use to inject Servlet API objects into the spring bean.

    Spring Bean生命周期

    Spring Bean是任何Spring应用程序中最重要的部分。 Spring ApplicationContext负责初始化spring bean配置文件中定义的Spring Bean。 本教程说明了我们可以在Spring Bean中提供初始化后销毁前方法的不同方法-InitializingBean / DisposableBean接口或init-method / destroy-method属性。

    Spring框架还支持@PostConstruct@PreDestroy批注,用于定义后初始化和破坏前的方法。 这些注释是javax.annotation包的一部分。

    您还将了解有关Spring Aware接口的信息,这些接口可用于将Servlet API对象注入spring bean。

  10. Spring 5

    Spring 5 was released in late 2017. Spring 5 brings a massive update to the Spring framework.

    春天5

    Spring 5于2017年底发布。Spring5对Spring框架进行了大规模更新。

  11. Spring WebFlux

    Spring WebFlux is the new module introduced in Spring 5. Spring WebFlux is the first step towards the reactive programming model in spring framework.

    SpringWebFlux

    Spring WebFlux是Spring 5中引入的新模块。SpringWebFlux是向Spring框架中的React式编程模型迈出的第一步。

  12. Spring Data JPA

    Spring Data JPA is part of the Spring Data family. Spring Data makes it easier to create Spring driven applications that use new ways to access data, such as non-relational databases, map-reduction frameworks, cloud services, as well as well-advanced relational database support.

    Spring Data JPA

    Spring Data JPA是Spring Data系列的一部分。 Spring Data使使用新方法访问数据的Spring驱动的应用程序变得更容易,例如非关系数据库,地图缩减框架,云服务以及先进的关系数据库支持。

Spring注释 (Spring Annotations)

  1. Spring Annotations

    A brief look at the most important annotations in spring framework.

    Spring注释

    简要查看spring框架中最重要的注释。

  2. Spring @Bean
    Spring @Bean Annotation is applied on a method to specify that it returns a bean to be managed by Spring context. Spring Bean annotation is usually declared in Configuration classes methods.
    春天@Bean
    Spring @Bean Annotation应用于方法,以指定它返回要由Spring上下文管理的bean。 Spring Bean批注通常在Configuration类方法中声明。
  3. Spring @Service

    Spring @Service annotation is a specialization of @Component annotation. Spring Service annotation can be applied only to classes. It is used to mark the class as a service provider.

    春天@服务

    Spring @Service注释是@Component注释的一种特殊形式。 Spring Service批注只能应用于类。 它用于将类标记为服务提供者。

  4. Spring @Component

    Spring Component annotation is used to denote a class as Component. It means that the Spring framework will autodetect these classes for dependency injection when annotation-based configuration and classpath scanning is used.

    春天@Component

    Spring Component注释用于将一个类表示为Component。 这意味着当使用基于注释的配置和类路径扫描时,Spring框架将自动检测这些类以进行依赖项注入。

  5. Spring @RestController

    Spring RestController annotation is a convenience annotation that is itself annotated with @Controller and @ResponseBody. This annotation is applied to a class to mark it as a request handler.

    春天@RestController

    Spring RestController注释是一个方便注释,它本身使用@Controller和@ResponseBody进行注释。 该注释将应用于一个类,以将其标记为请求处理程序。

  6. Spring @Controller

    Spring Controller annotation is a specialization of @Component annotation. Spring Controller annotation is typically used in combination with annotated handler methods based on the RequestMapping annotation.

    春天@Controller

    Spring Controller注释是@Component注释的特化。 Spring Controller注释通常与基于RequestMapping注释的注释处理程序方法结合使用。

  7. Spring @Repository

    Spring @Repository annotation is used to indicate that the class provides the mechanism for storage, retrieval, search, update and delete operation on objects.

    春天@仓库

    Spring @Repository批注用于指示该类提供了对对象进行存储,检索,搜索,更新和删除操作的机制。

  8. Spring @Configuration

    Spring @Configuration annotation is part of the spring core framework. Spring Configuration annotation indicates that the class has @Bean definition methods. So Spring container can process the class and generate Spring Beans to be used in the application.

    Spring @Configuration

    Spring @Configuration注释是Spring核心框架的一部分。 Spring Configuration批注指示该类具有@Bean定义方法。 因此,Spring容器可以处理该类并生成要在应用程序中使用的Spring Bean。

  9. Spring @Value

    Spring @Value annotation is used to assign default values to variables and method arguments. We can read spring environment variables as well as system variables using @Value annotation.

    春天@Value

    Spring @Value批注用于将默认值分配给变量和方法参数。 我们可以使用@Value批注读取spring环境变量以及系统变量。

  10. Spring @PropertySource

    Spring @PropertySource annotation is used to provide properties file to Spring Environment. This annotation is used with @Configuration classes.

    春天@PropertySource

    Spring @PropertySource批注用于向Spring Environment提供属性文件。 此批注与@Configuration类一起使用。

  11. Spring @PostConstruct and @PreDestroy

    When we annotate a method in Spring Bean with @PostConstruct annotation, it gets executed after the spring bean is initialized.

    When we annotate a Spring Bean method with PreDestroy annotation, it gets called when bean instance is getting removed from the context.

    春天@PostConstruct和@PreDestroy

    当我们在Spring Bean中使用@PostConstruct注释对方法进行注释时,它会在初始化Spring Bean之后执行。

    当我们使用PreDestroy注释对Spring Bean方法进行注释时,当从上下文中删除Bean实例时,将调用该方法。

  12. Spring @Async

    Spring @Async annotation allows us to create asynchronous methods in spring. Let’s explore @Async in this tutorial on spring framework.

    Spring@Async

    Spring @Async批注允许我们在spring中创建异步方法。 让我们在有关Spring框架的本教程中探索@Async。

Spring启动教程 (Spring Boot Tutorials)

  1. Spring Boot Tutorial
    Spring启动教程
  2. Spring Boot Components
    Spring Boot组件
  3. Spring Boot @SpringBootApplication, SpringApplication Class

    Spring Boot @SpringBootApplication annotation is used to mark a configuration class that declares one or more @Bean methods and also triggers auto-configuration and component scanning.

    Spring Boot SpringApplication class is used to bootstrap and launch a Spring application from a Java main method.

    Spring Boot @ SpringBootApplication,SpringApplication类

    Spring Boot @SpringBootApplication批注用于标记一个配置类,该配置类声明一个或多个@Bean方法,并触发自动配置和组件扫描。

    Spring Boot SpringApplication类用于从Java main方法引导和启动Spring应用程序。

  4. Spring Boot REST

    This tutorial explains how to create REST web services using the Spring Boot module.

    Spring Boot REST

    本教程说明了如何使用Spring Boot模块创建REST Web服务。

  5. Spring Boot MongoDB

    Learn how to use MongoDB in a Spring Boot application.

    Spring Boot MongoDB

    了解如何在Spring Boot应用程序中使用MongoDB。

  6. Spring Boot Redis Cache

    This article explains how to integrate Redis Cache into a spring boot application.

    Spring Boot Redis缓存

    本文介绍了如何将Redis Cache集成到Spring Boot应用程序中。

  7. Spring Boot Elasticsearch

    This article explains how to integrate Elasticsearch with a spring boot application.

    Spring Boot Elasticsearch

    本文介绍了如何将Elasticsearch与Spring Boot应用程序集成。

  8. Spring Boot Actuator Endpoints

    Spring Boot Actuator Endpoints lets us monitor and interact with our application. Spring Actuator is a Spring Boot sub-module and provides built-in endpoints that we can enable and disable for our application.

    弹簧启动执行器端点

    通过Spring Boot Actuator端点,我们可以监控应用程序并与之交互。 Spring Actuator是一个Spring Boot子模块,提供了内置端点,我们可以为应用程序启用和禁用这些端点。

  9. Spring Boot Initializr Web Interface
    Spring Boot Initializr Web界面
  10. Spring Boot CLI Example
    Spring Boot CLI示例
  11. Spring Boot – Cannot determine embedded database driver class for database type NONE
    Spring Boot –无法确定数据库类型NONE的嵌入式数据库驱动程序类
  12. Spring Boot Interview Questions
    Spring Boot面试问题

Spring MVC教程 (Spring MVC Tutorial)

  1. Spring MVC Tutorial for Beginners with Spring Tool Suite

    Spring MVC modules help us in creating java based web applications. This is the first post in the spring MVC series and you will learn how to use Spring Tool Suite (STS) and create a simple Web application using Spring MVC framework.

    使用Spring Tool Suite的初学者Spring MVC教程

    Spring MVC模块可帮助我们创建基于Java的Web应用程序。 这是Spring MVC系列的第一篇文章,您将学习如何使用Spring Tool Suite(STS)并使用Spring MVC框架创建一个简单的Web应用程序。

  2. Spring MVC Example

    This tutorial explains how to create a Spring MVC application using maven and Eclipse IDE, without using the Spring Tool Suite.

    Spring MVC示例

    本教程介绍了如何在不使用Spring Tool Suite的情况下使用maven和Eclipse IDE创建Spring MVC应用程序。

  3. Spring Restful Web Service Example with JSON

    Spring Framework provides built-in support for Jackson JSON API and we can utilize it to create a restful web service that will return JSON response. This tutorial explains all the different parts of the application that are required to configure our application to return JSON response and implement Rest API.

    Spring Restful Web Service示例与JSON

    Spring Framework为Jackson JSON API提供了内置支持,我们可以利用它来创建一个宁静的Web服务,该服务将返回JSON响应。 本教程介绍了配置应用程序以返回JSON响应并实现Rest API所需的应用程序的所有不同部分。

  4. Spring REST XML and JSON

    Spring REST supports both XML and JSON based request-response messages. This tutorial explains how easily we can support both of them using simple configurations.

    Spring REST XML和JSON

    Spring REST支持基于XML和JSON的请求-响应消息。 本教程说明了如何使用简单的配置轻松地支持它们。

  5. Spring RestTemplate

    Spring RestTemplate provides a convenient way to test RESTful web services. We can use RestTemplate to test HTTP based restful web services, it doesn’t support the HTTPS protocol.

    春天RestTemplate

    Spring RestTemplate提供了一种方便的方法来测试RESTful Web服务。 我们可以使用RestTemplate测试基于HTTP的静态Web服务,它不支持HTTPS协议。

  6. Spring MVC File Upload Example

    File uploading is one of the common tasks of a web application, that’s why Spring provides built-in support for file uploading by integrating Apache Commons FileUpload API. This tutorial is aimed to provide an understanding of how different components are configured with an example of upload single and multiple files.

    Spring MVC文件上传示例

    文件上传是Web应用程序的常见任务之一,因此Spring通过集成Apache Commons FileUpload API为文件上传提供了内置支持。 本教程旨在通过上传单个和多个文件的示例来提供对如何配置不同组件的理解。

  7. Spring MVC Internationalization and Localization Example

    Any web application with users all around the world, internationalization (i18n) or localization (L10n) is very important for better user interaction.

    Most of the web application frameworks provide easy ways to localize the application based on user locale settings. Spring also follows the pattern and provides extensive support for internationalization (i18n) through the use of Spring interceptors, Locale Resolvers and Resource Bundles for different locales.

    This tutorial explains the i18n and l10n process in a spring web application through an example project.

    Spring MVC国际化和本地化示例

    任何具有世界各地用户,国际化(i18n)或本地化(L10n)的Web应用程序对于实现更好的用户交互都是非常重要的。

    大多数Web应用程序框架都提供了基于用户区域设置来对应用程序进行本地化的简便方法。 Spring也遵循这种模式,并通过使用Spring拦截器,语言环境解析器和用于不同语言环境的资源包为国际化(i18n)提供广泛的支持。

    本教程通过一个示例项目介绍了Spring Web应用程序中的i18n和l10n流程。

  8. Spring MVC Form Validation Example

    When we accept user inputs in any web application, it becomes necessary to validate them. We can validate the user input at the client-side using JavaScript but it’s also necessary to validate them at server side to make sure we are processing valid data in case the user has javascript disabled.

    Spring MVC Framework supports JSR-303 specs by default and all we need is to add JSR-303 and it’s implementation dependencies in Spring MVC application. Spring also provides @Validator annotation and BindingResult class through which we can get the errors raised by Validator implementation in the controller request handler method. The tutorial provides a form validation example using annotations and also explains the process to create our own custom validator.

    Spring MVC表单验证示例

    当我们在任何Web应用程序中接受用户输入时,有必要对其进行验证。 我们可以使用JavaScript在客户端验证用户输入,但也有必要在服务器端验证用户输入,以确保在用户禁用JavaScript的情况下我们正在处理有效数据。

    Spring MVC框架默认情况下支持JSR-303规范,而我们所需要的只是添加JSR-303及其在Spring MVC应用程序中的实现依赖性。 Spring还提供了@Validator批注和BindingResult类,通过它们我们可以在控制器请求处理程序方法中获取Validator实现引发的错误。 本教程提供了一个使用批注的表单验证示例,并说明了创建我们自己的自定义验证器的过程。

  9. Spring MVC Exception Handling

    Any web application requires a good design for exception handling because we don’t want to serve container generated page when any unhandled exception is thrown by our application.

    Spring MVC Framework provides an approach for robust exception handling in Controller classes, Global Exception Handler and through HandlerExceptionResolver implementation. Check out the example project in the tutorial to learn more about spring MVC exception handling.

    Spring MVC异常处理

    任何Web应用程序都需要对异常处理进行良好的设计,因为当我们的应用程序抛出任何未处理的异常时,我们不想为容器生成的页面提供服务。

    Spring MVC Framework提供了一种在Controller类,全局异常处理程序中以及通过HandlerExceptionResolver实现进行健壮异常处理的方法。 查看教程中的示例项目,以了解有关Spring MVC异常处理的更多信息。

  10. Spring MVC Interceptors Example

    Sometimes we want to intercept the HTTP Request and do some processing before handing it over to the controller handler methods. That’s where Spring MVC Interceptors come handy.

    We can create our own interceptors in Spring by either implementing org.springframework.web.servlet.HandlerInterceptor interface or by overriding abstract class org.springframework.web.servlet.handler.HandlerInterceptorAdapter that provides the base implementation of this interface. Check out the example project in the tutorial to learn more about Spring MVC interceptors.

    Spring MVC拦截器示例

    有时我们想要截取HTTP请求并进行一些处理,然后再将其移交给控制器处理程序方法。 这就是Spring MVC拦截器派上用场的地方。

    我们可以通过实现org.springframework.web.servlet.HandlerInterceptor接口或覆盖提供该接口基本实现的抽象类org.springframework.web.servlet.handler.HandlerInterceptorAdapter来在Spring中创建自己的拦截器。 查看教程中的示例项目,以了解有关Spring MVC拦截器的更多信息。

  11. Spring MVC RequestMapping Example

    @RequestMapping is one of the most widely used Spring MVC annotation. org.springframework.web.bind.annotation.RequestMapping annotation is used to map web requests onto specific handler classes and/or handler methods.

    @RequestMapping can be applied to the controller class as well as methods. This tutorial explains about different usage with examples and test program.

    Spring MVC RequestMapping示例

    @RequestMapping是使用最广泛的Spring MVC注释之一。 org.springframework.web.bind.annotation.RequestMapping注释用于将Web请求映射到特定的处理程序类和/或处理程序方法。

    @RequestMapping可以应用于控制器类以及方法。 本教程通过示例和测试程序说明了不同的用法。

  12. Spring Session Management

    Spring Session Module provides APIs and implementation for managing user session in a web application. Spring Session decouples session management logic from the application, making it more fault-tolerant.

    Spring Session consists of the following modules: Spring Session Core, Spring Session JDBC, Spring Session Data Redis, and Spring Session Hazelcast.

    Spring会议管理

    Spring Session Module提供用于管理Web应用程序中用户会话的API和实现。 Spring Session将会话管理逻辑与应用程序分离开来,使其更具容错能力。

    Spring Session由以下模块组成:Spring Session Core,Spring Session JDBC,Spring Session Data Redis和Spring Session Hazelcast。

  13. Spring MVC Gradle Example
    Spring MVC Gradle示例

Spring Batch教程 (Spring Batch Tutorials)

  1. Spring Batch

    Spring Batch allows us to easily process a large number of records by creating batches. This article explains what is spring batch, its architecture and when to use spring batch application.

    Spring批

    Spring Batch使我们可以通过创建批处理轻松地处理大量记录。 本文介绍什么是Spring Batch,其体系结构以及何时使用Spring Batch应用程序。

  2. Spring Batch Example

    This tutorial explains how to create spring batch project to process large CSV files.

    Spring批处理示例

    本教程说明了如何创建spring batch项目来处理大型CSV文件。

Spring JDBC教程 (Spring JDBC Tutorial)

Most of the enterprise application deals with relational databases. That’s why Spring provides extensive support for JDBC API and it also provides wrappers to perform Database CRUD operations.

大多数企业应用程序都处理关系数据库。 因此,Spring为JDBC API提供了广泛的支持,并且还提供了用于执行数据库CRUD操作的包装器。

  1. Spring JDBC and JdbcTemplate CRUD with DataSource Example

    Spring Framework provides excellent integration with JDBC API and provides JdbcTemplate utility class that we can use to avoid boiler-plate code from our database operations logic such as Opening/Closing Connection, ResultSet, PreparedStatement, etc.

    This tutorial provides an example of CRUD operations using Spring JDBC integration.

    带数据源示例的Spring JDBC和JdbcTemplate CRUD

    Spring Framework提供了与JDBC API的出色集成,并提供了JdbcTemplate实用程序类,我们可以使用它来避免数据库操作逻辑(如打开/关闭连接,ResultSet,PreparedStatement等)中的样板代码。

    本教程提供了一个使用Spring JDBC集成进行CRUD操作的示例。

  2. Spring DataSource JNDI with Tomcat Example

    We also know that DataSource with JNDI is the preferred way to achieve connection pooling and get benefits of container implementations. This tutorial explains how we can use DataSource defined in tomcat container as a JNDI resource to get database connection and perform different operations. This is the preferred way for getting database connections in a spring web application because the container takes care of managing database resources.

    Spring DataSource JNDI与Tomcat示例

    我们还知道,带有JNDI的DataSource是实现连接池并从容器实现中受益的首选方法。 本教程说明了如何使用tomcat容器中定义的DataSource作为JNDI资源来获取数据库连接并执行不同的操作。 这是在Spring Web应用程序中获取数据库连接的首选方法,因为容器负责管理数据库资源。

  3. Spring Transaction Management Example with JDBC

    Transaction Management is a trivial task in any enterprise application. Spring provides extensive support for transaction management and helps developers to focus more on business logic rather than worrying about data integrity. Spring declarative transaction management is the preferred approach for transaction management because it’s very easy to use and there is no direct dependency, it uses AOP and Dependency injection.

    带有JDBC的Spring事务管理示例

    在任何企业应用程序中,事务管理都是一项琐碎的任务。 Spring为事务管理提供了广泛的支持,并帮助开发人员将更多的精力放在业务逻辑上,而不用担心数据完整性。 Spring声明式事务管理是事务管理的首选方法,因为它非常易于使用且没有直接依赖关系,它使用AOP和依赖注入。

  4. Spring JdbcTemplate

    Spring JdbcTemplate class is the core of Spring JDBC module. It provides various methods to execute SQL queries, read result set data, etc.

    SpringJdbcTemplate

    Spring JdbcTemplate类是Spring JDBC模块的核心。 它提供了各种方法来执行SQL查询,读取结果集数据等。

Spring Hibernate教程 (Spring Hibernate Tutorial)

Spring is one of the most widely used Java EE frameworks and Hibernate is the best ORM framework in the market. That’s why Spring provides built-in support for Hibernate in Spring ORM module.

Spring是使用最广泛的Java EE框架之一,而Hibernate是市场上最好的ORM框架。 这就是为什么Spring在Spring ORM模块中为Hibernate提供内置支持的原因。

  1. Spring Hibernate Integration Example

    This tutorial provides complete details with an example to integrate hibernate with Spring standalone application. The example shows the integration between Spring 4 + Hibernate 4 as well as Spring 4 + Hibernate 3.

    Spring Hibernate集成示例

    本教程提供了完整的详细信息,并提供了一个示例,以将hibernate与Spring独立应用程序集成在一起。 该示例显示了Spring 4 + Hibernate 4以及Spring 4 + Hibernate 3之间的集成。

  2. Spring MVC Hibernate CRUD Example

    Spring MVC can be easily integrated with Hibernate framework. Also, we can utilize Spring Declarative transaction management, that makes our application free with boiler-plate code.

    Spring MVC Hibernate CRUD示例

    Spring MVC可以轻松地与Hibernate框架集成。 另外,我们可以利用Spring声明式事务管理,使我们的应用程序不带有样板代码。

  3. Spring ORM Example
    Spring ORM示例
  4. Spring ORM with AOP Transaction Management
    具有AOP事务管理的Spring ORM

Spring安全教程 (Spring Security Tutorial)

Spring Security can be applied to any Java web application, it works as a separate part of the application and provides different ways for authentication and authorization.

Spring Security可以应用于任何Java Web应用程序,它可以作为应用程序的独立部分工作,并提供不同的身份验证和授权方式。

  1. Spring Security in Servlet Web Application

    This tutorial explains the basics of the spring security module. It also provides an example for in-memory, DAO, and JDBC based authentication with an example project.

    Servlet Web应用程序中的Spring Security

    本教程介绍了Spring Security模块的基础知识。 它还提供了一个带有示例项目的基于内存,DAO和JDBC身份验证的示例。

  2. Spring MVC Security Example

    If we are using the Spring MVC framework, applying spring security very easy because we already have spring-based configurations. All we need is to plug in the security-related configurations.

    Spring MVC安全性示例

    如果我们使用的是Spring MVC框架,则应用弹簧安全性非常容易,因为我们已经有基于Spring的配置。 我们所需要做的就是插入与安全性相关的配置。

  3. Spring 4 Security

    This article explains about the Spring Security module introduced in Spring 4.

    Spring4安全

    本文介绍了Spring 4中引入的Spring Security模块。

  4. Spring Security MVC

    This article explains how to use spring security into a Spring MVC application.

    Spring Security MVC

    本文介绍了如何在Spring MVC应用程序中使用Spring Security。

  5. Spring Security Role Based Access Authorization
    Spring Security基于角色的访问授权

Spring集成教程 (Spring Integration Tutorials)

  1. Spring JSF Integration Example Tutorial

    JSF is a component-based framework with great emphasis on user interfaces whereas Spring core principle is dependency injection. This tutorial explains how to get the best out of these by integration JSF with Spring Framework.

    Spring JSF集成示例教程

    JSF是一个基于组件的框架,非常注重用户界面,而Spring的核心原理是依赖注入。 本教程说明了如何通过将JSF与Spring Framework集成来充分利用这些优势。

  2. Primefaces Spring & Hibernate Integration Example Tutorial

    This is one of the integration examples where we have explained how to integrate PrimeFaces with Spring and Hibernate framework. This is a very commonly used combination to get the most out of each of the frameworks.

    Primefaces Spring和Hibernate集成示例教程

    这是集成示例之一,我们在其中解释了如何将PrimeFaces与Spring和Hibernate框架集成。 这是一种非常常用的组合,可以充分利用每个框架。

  3. PrimeFaces Hibernate SpringRoo Integration Example

    SpringRoo is an open-source software tool that uses the convention-over-configuration concept to facilitate producing Java-Based enterprise software application in a driven command-line way.

    This tutorial explains about integration between SpringRoo, PrimeFaces and Hibernate frameworks.

    PrimeFaces Hibernate SpringRoo集成示例

    SpringRoo是一种开源软件工具,它使用基于约定的约定概念来促进以驱动命令行方式生成基于Java的企业软件应用程序。

    本教程介绍了SpringRoo,PrimeFaces和Hibernate框架之间的集成。

Spring消息 (Spring Messaging)

  1. Spring AMQP
    SpringAMQP
  2. Spring RabbitMQ
    春天兔子MQ
  3. Spring RabbitMQ Example
    Spring RabbitMQ示例
  4. Spring ActiveMQ Part 1
    Spring ActiveMQ第1部分
  5. Spring ActiveMQ Part 2
    Spring ActiveMQ第2部分

Spring面试问题 (Spring Interview Questions)

If you are going for Java EE interview where Spring is a requirement, I hope this post will help you in refreshing your knowledge in quick time.

如果您打算在需要Spring的情况下参加Java EE面试,我希望这篇文章能帮助您快速地更新知识。

That’s all for Spring tutorials for now. Spring Framework has a lot of modules and I will be posting about them in the future and keep including them here. So I would suggest you bookmark this post for future references.

到目前为止, Spring教程就这些了。 Spring Framework有很多模块,将来我会发布有关它们的信息,并继续在此处包含它们。 因此,我建议您将此帖子添加为书签,以备将来参考。

翻译自: https://www.journaldev.com/2888/spring-tutorial-spring-core-tutorial

Spring教程– Spring Core Framework教程相关推荐

  1. primefaces教程_Primefaces Spring和Hibernate集成示例教程

    primefaces教程 Welcome to the Spring Primefaces and Hibernate Integration example. Integration between ...

  2. Spring Boot 2.0 WebFlux 教程 (一) | 入门篇

    目录 一.什么是 Spring WebFlux 二.WebFlux 的优势&性能 三.WebFlux 应用场景 四.适用性 五.快速入门 5.1 添加 webflux 依赖 5.2 定义接口 ...

  3. java mvc 小程序_[Java教程]Spring MVC 的环境搭建和入门小程序

    [Java教程]Spring MVC 的环境搭建和入门小程序 0 2017-02-17 00:00:16 1.1.下载spring框架包. 1.1.1百度搜索Spring Framework. 进入s ...

  4. Spring Boot 2.x基础教程:使用Elastic Job的分片配置

    上一篇,我们介绍了如何使用Elastic Job实现定时任务(https://blog.didispace.com/spring-boot-learning-2-7-2/).解决了使用@Schedul ...

  5. Spring Boot 2.x基础教程:使用Elastic Job实现定时任务

    上一篇,我们介绍了如何使用Spring Boot自带的@Scheduled注解实现定时任务(https://blog.didispace.com/spring-boot-learning-2-7-1/ ...

  6. Spring Boot 2.x基础教程:使用集中式缓存Redis

    点击上方蓝色"程序猿DD",选择"设为星标" 回复"资源"获取独家整理的学习资料! 之前我们介绍了两种进程内缓存的用法,包括Spring B ...

  7. Spring Boot 2.X系列教程:七天从无到有掌握Spring Boot-持续更新

    文章目录 简介 Spring Boot的基本操作 Spring Boot的构建和部署 Spring Boot工具 Spring Boot的测试 Spring Boot中使用JPA Spring Boo ...

  8. Spring Boot 2.x基础教程:找回启动日志中的请求路径列表

    如果您看过之前的Spring Boot 1.x教程,或者自己原本就对Spring Boot有一些经验,或者对Spring MVC很熟悉.那么对于Spring构建的Web应用在启动的时候,都会输出当前应 ...

  9. mongodb java spring_[Java教程]Spring 与 mongoDB 整合

    [Java教程]Spring 与 mongoDB 整合 0 2017-02-07 00:00:39 首先需要引入jar包 1 2 org.mongodb 3 mongodb-driver 4 3.3. ...

最新文章

  1. python pymysql
  2. mysql存储过程queue_mysql – 在Sequelize中调用输入/输出类型存储过程
  3. python io流a+_Python基础——文件操作及IO流
  4. python 自动化-Python 接口自动化测试
  5. linux find 命令详解
  6. java属性编辑器,即PropertyEditor
  7. C#之switch多分支语句
  8. 使用PhantomJS实现网页截图服务
  9. linux 修改ssh banner
  10. 苹果系统更新服务器繁忙,如何解决升级MacOS 10.13时的常见问题
  11. Angular开发遇到的一个错误消息 - Expected linebreak to be LF(和本地文件的换行设置有关)
  12. 深入剖析C++中的string类
  13. 02024_自定义异常的练习
  14. springcloud工作笔记105---springboot2.x实现优雅的关闭服务
  15. 面向对象编程——实战1
  16. 【CF870F】Paths 分类讨论+数学
  17. linux的守护进程init.d和xinetd.d
  18. 1 Kubernetes快速入门
  19. nginx配置实现代理多个内网地址
  20. 文献解读-物理信息深度学习(PINN)

热门文章

  1. Python 的几种推导式
  2. MySQL 8.0复制性能的提升(翻译)
  3. sql 的 DATE_FORMATE()函数
  4. 【Java每日一题】20161228
  5. 探寻 JavaScript 逻辑运算符(与、或)的真谛
  6. [BZOJ2733] [HNOI2012] 永无乡 (splay启发式合并)
  7. 浅析foreach原理
  8. Xorg可以使用hot-plug了,不过配置很麻烦
  9. Memcached在大型网站中应用[php 转载]
  10. [转载] 如何使用Python 实现秒表功能?