Preface
Spring is an open source framework, and Spring is a lightweight Java development framework. It was created to solve the complexity of enterprise application development. One of the main advantages of the framework is its layered architecture, which allows users to choose which component to use, while providing an integrated framework for J2EE application development. Spring uses basic JavaBeans to accomplish things that could only be done by EJB before. However, the use of Spring is not limited to server-side development. From the perspective of simplicity, testability, and loose coupling, any Java application can benefit from Spring. The core of Spring is inversion of control (IoC) and aspect-oriented (AOP). Simply put, Spring is a hierarchical full-stack (one-stop) lightweight open source framework.
What I want to share with you today is a unique spring documentation from the Alibaba intranet. Whether you are just starting to learn or a coder who has been working for many years, I believe that as long as you want to learn, I believe this document can You gain
If you need this Alibaba's internal spring document, you can share it with you for free, as long as you give me a little support!
Part1 Spring core
In this chapter you will learn the following:
(1) Spring Bean container
(2) Explain the core modules of Spring
(3) Spring's powerful ecosystem
(4) New features of Spring
Chapter 1: Spring Journey
Chapter 2: Assembly Bean
In this chapter you will learn the following:
(1) Declare Bean
(2) Constructor injection and Setter method injection
(3) Assembly Bean
(4) Control the creation and destruction of Bean
Chapter 3: Advanced Assembly
In this chapter you will learn the following:
(1)Spring profile
(2) Conditional bean declaration
(3) Automatic configuration and ambiguity
(4) Scope of bean
(5) Spring expression language
Chapter 4: Aspect-oriented Spring
In this chapter you will learn the following:
(1) Basic principles of aspect-oriented programming
(2) Create section through POJO
(3) Use @AspectJ annotation
(4) Inject dependencies for @AspectJ aspects
Spring in Part2 Web
Chapter 5 Building Spring Web Applications
In this chapter you will learn the following:
(1) Map the request to the Spring controller
(2) Transparent binding form parameters
(3) Verification form submission
Chapter 6 Rendering Web Views
In this chapter you will learn the following:
(1) Render the model data as HTML
(2) Use JSP view
(3) Define the view layout through tiles
(4) Use Thymeleaf view
Chapter 7 Advanced Technology of Spring MVC
In this chapter you will learn the following:
(1) Alternatives to Spring MVC configuration
(2) Processing file upload
(3) Handling daily in the controller
(4) Use flash attributes
Chapter 8 Using Spring WebFlow
In this chapter you will learn the following:
(1) Create a conversational Web application
(2) Define process status and behavior
(3) Protect the Web process
Chapter 9 Securing Web Applications
In this chapter you will learn the following:
(1) Introduction to Spring Security
(2) Use Filter in the Servlet specification to protect Web applications
(3) Authentication based on database and LDAP
Part3 Spring in the backend
Chapter 10 Conquering the database with Spring and JDBC
In this chapter you will learn the following:
(1) Define Spring's support for data access
(2) Configure database resources
(3) Use Spring's JDBC module
Chapter 11 Using Object-Relational Mapping to Persist Data
In this chapter you will learn the following:
(1) Use Spring and Hibernate
(2) With the help of the context Session, write a Repository that does not depend on Spring
(3) Using JPA through Spring
(4) JPA Repository implemented with Spring Date
Chapter 12 Using NoSQL Database
In this chapter you will learn the following:
(1) Write Repository for MongoDB and Neo4j
(2) Persisting data for multiple data storage forms
(3) Combination of Spring and Redis
Chapter 13 Cached Data
In this chapter you will learn the following:
- (1) Enable declarative caching
- () Use Ehcache, Redis and GemFire to realize the caching function
- () Annotation-driven cache
Chapter 14 Protection Method Application
In this chapter you will learn the following:
(1) Protection method call
(2) Use expressions to define security rules
(3) Create a safe expression calculator
Part4 Spring integration
Chapter 15 Using Remote Services
In this chapter you will learn the following:
(1) Access and publish RMI services
(2) Use Hessian and Burlap services
(3) Use Spring's HTTP invoker
(4) Use Spring to develop Web services
Chapter 16 Creating REST API with Spring MVC
In this chapter you will learn the following:
(1) Write a controller that handles REST resources
(2) Express resources in XML, JSON and other formats
(3) Use REST resources
Chapter 17 Spring Messages
In this chapter you will learn the following:
- (1) Introduction to asynchronous messaging
- (2) Message function based on JMS
- (3) Use Spring and AMQP to send messages
- (4) Message-driven POJO
Chapter 18 Use WebSocket and STOMP to realize message function
In this chapter you will learn the following:
- (1) Send messages between the browser and the server
- (2) Processing messages in the Spring MVC controller
- (3) Send a message for the target user
Chapter 19 Using Spring to Send Email
In this chapter you will learn the following:
- (1) Configure Spring's Email abstract function
- (2) Send email messages with rich content
- (3) Use templates to build Email messages
Chapter 20 Using JMX to Manage Spring Beans
In this chapter you will learn the following:
- (1) Expose Spring bean as MBean
- (2) Remote management of Spring Bean
- (3) Processing JMX notifications
Chapter 21 Simplify Spring Development with Spring Boot
In this chapter you will learn the following:
- (1) Use Spring Boot Starter to add project dependencies
- (2) Automated bean configuration
- (3)Groovy 与Spring Boot CLI
- (4)Spring Boot Actuator
to sum up
I have to sigh that the speed of computer technology update and iteration is too fast. As a programmer, in addition to facing work, I have to learn new technologies. The author is no exception. In the past three years, I feel that I have been struggling with technology. Until now, I dare not slow down. Learning is too important for programmers, just like having to eat every day, every day must set aside a certain amount of time to learn new technologies to avoid being eliminated.
About spring, the editor has shared so much. This document can also be shared with all friends for free. You can get it with just a little support.