Spring series entry to mastery

The Spring framework was created because of the complexity of software development. Spring uses basic JavaBeans to do things that were previously only possible with EJBs. However, Spring’s use is not limited to server-side development. The vast majority of Java applications can benefit from Spring in terms of simplicity, testability, and loose coupling.

  1. Purpose: To address the complexity of enterprise application development
  2. Features: Replace EJBs with basic JavaBeans and provide more enterprise application functionality
  3. Scope: Any Java application

The Spring Framework has been popular with developers since its inception, and today we share a collection of Spring buckets. It includes Spring, SpringBoot, SpringCloud, SpringMVC four practical documents, as well as Spring interview documents, are selected through the BAT practical key content.

As a reading benefit, Xiaobian has also organized all the Spring knowledge points + interview questions into PDF documents. If you need a complete document to learn, you can [Click here to】 get!

The first part analyzes the Spring architecture

  • Chapter 1 Spring starts
  • Chapter 2. Install and build Spring
  • Chapter 3 Inversion of Control (Spring IOC)
  • Chapter 4 Aspect Oriented Programming (Spring AOP)
  • Chapter 5 dives into the Spring architecture

The second part of Spring application development

  • Chapter 6: Naming Services — JNDI
  • Chapter 7 Transaction Services — JTA
  • Chapter 8. Message services — JMS
  • Chapter 9. Mail Services — JavaMail
  • Chapter 10 Enterprise Bean Services — EJBs
  • Chapter 11: Persistence Services — DAO, JDBC, ORM
  • Chapter 12: Task Scheduling Services — Quartz and Timer
  • Chapter 13 Remote Service

Part 3 Spring Advanced Topics

  • Chapter 14. View Technology Integration
  • Chapter 15. Tapestry integration
  • Chapter 16. JSF integration
  • Chapter 17. Acegi security framework for Spring
  • Appendix A sample code installation
  • Appendix to the content model of bspring-beans.dtd

Those who need complete documentation canClick here to】 get!

Inside Spring Boot technology

What is Spring Boot?

The Spring Boot application is essentially an application based on the Spring Framework, and Spring Boot is a new framework from the Pivotal team designed to simplify the initial setup and development of new Spring applications. The framework uses a specific way to configure, eliminating the need for developers to define boilerplate configurations. In this way, Spring Boot aims to be a leader in the burgeoning field of rapid application development.

What is the core of Spring Boot?

  • Automatic configuration
  • Start relying on
  • Actuator
  • Command Line Interface (CLI)

The first part is basic application development

  • Chapter 1 Getting Started with Spring Boot
  • Chapter 2 uses the database in Spring Boot
  • Chapter 3 Spring Boot interface design
  • Chapter 4 improves database access performance
  • Chapter 5 Spring Boot Security Design

The second part is distributed application development

  • Chapter 6 Spring Boot SSO
  • Chapter 7 uses distributed file systems
  • Chapter 8 Cloud Application Development
  • Chapter 9: Building a high-performance service platform

The third part of the core technology source code analysis

  • Chapter 10 Spring Boot automatic configuration implementation principle
  • Chapter 11 Spring Boot data access implementation principle
  • Chapter 12 is the realization principle of the core technology of micro-service
  • Appendix A Install NEO4J
  • Appendix B Install MongoDB
  • Appendix C Install Redis
  • Appendix D Install RabbitMQ

Those who need complete documentation canClick here to】 get!

Spring MVC study guide

Spring MVC is a successor to the Spring Framework and has been integrated into Spring Web Flow. The Spring framework provides a full-featured MVC module for building Web applications. Using the Spring pluggable MVC architecture, you can choose to use the built-in Spring Web framework or a Web framework such as Struts.

  • Chapter 1 The Spring Framework
  • Chapter 2 Model 2 and the MVC pattern
  • Chapter 3 introduces Spring MVC
  • Chapter 4: Annotation-based Controller
  • Chapter 5 Data Binding and the Form tag library
  • Chapter 6 Converter and Formatter
  • Chapter 7 Verifier
  • Chapter 8 The Expression Language (EL)
  • Chapter 9 JSTL
  • Chapter X Internationalization
  • Chapter 11 Uploading Files
  • Chapter 12 Downloading Files
  • Chapter 13 Application Testing
  • The appendix ATomcat
  • Appendix B Spring Tool Suite Maven and Maven
  • The appendix Cservlet
  • Appendix D JavaServer Pages
  • Appendix E Deployment Descriptor

SpringCloud micro service

Spring Cloud is a complete set of microservice solutions, based on the Spring Boot framework. To be precise, it is not a framework, but a large container, it integrates the best microservice framework in the market, thus simplifying the amount of code for developers. Starting from the simple to the deep, I will lead you to conquer the major modules of Spring Cloud step by step. Then, I will lead you to understand the construction process of large-scale distributed micro-service architecture through an example. Finally, I will deepen my understanding of it through in-depth source code.

directory

  • Chapter 1 Basic knowledge
  • Chapter 2: Building Microservices: Spring Boot
  • Chapter 3 Service Governance: Spring Cloud Eureka
  • Chapter 4: Client Load Balancing: Spring Cloud Ribbon
  • Chapter 5 Service Fault Tolerance Protection: Spring Cloud Hystrix
  • Chapter 6. Declarative service invocations: Spring Cloud Feign
  • Chapter 7 API Gateway Services: Spring Cloud Zuul
  • Chapter 8 Distributed Configuration Center: Spring Cloud Config
  • Chapter 9 Message Bus: Spring Cloud Bus
  • Chapter 10. Message-Driven Microservices: Spring Cloud Stream
  • Chapter 11 Distributed Service Tracking: Spring Cloud Sleuth
  • The appendix AStarter POMs just

Compared to a few years ago, interviews are much more difficult now. You say that now so many programmers, your delivery company and you may deliver together with 300 people, but they only hire 5 people, how to do? You PASS out a lot of resumes, and you PASS out a lot of interviews. In this light, there is a lot of truth to the popular saying that interviews build rockets and work screws, and that the only way to make interviews harder is to get the people you need out of the crowd.

Those who need complete documentation canClick here to】 get!

Here are some of Spring’s most common interview questions:

  • What is the Spring Framework? What are the main modules of the Spring Framework
  • What are the benefits of using the Spring framework
  • What is Inversion of Control (IOC)? What is Dependency Injection
  • Please explain IOC in the Spring Framework
  • What’s the difference between BeanFactory and ApplicationContext
  • Spring can be configured in several ways
  • How do I configure Spring based on XML configuration
  • How do I configure Spring based on Java configuration
  • How do I configure Spring with annotations
  • Explain the Spring Bean life cycle
  • What is the difference between the scopes of Spring beans
  • What are Spring Inner Beans
  • Are singleton Beans in the Spring framework thread-safe
  • Can you give an example of how to inject a Java Collection into Spring
  • How do I inject a java.util.properties into a Spring Bean
  • Explain the autowiring of Spring beans
  • Explain the difference between auto-assembly modes
  • How do I turn on annotation-based autowiring
  • Please illustrate the @Required annotation with an example
  • For example, explain the @Autowired annotation
  • Please illustrate the @Qualifier annotation
  • What is the difference between constructor injection and set injection
  • What are the different types of events in the Spring framework
  • What is the difference between FileSystemResource and ClassPathResource
  • What design patterns are used in the Spring Framework

SpringBoot Interview Feature

  • Spring Boot has several advantages
  • What is a JavaConfig
  • How do I reload changes on Spring Boot without restarting the server
  • What is a monitor in Spring Boot
  • How to disable the end point security in Spring Boot
  • How do I run the Spring Boot application on a custom port
  • What is a YAML
  • How do I implement security for Spring Boot applications
  • How to integrate Spring Boot and ActiveMQ
  • How to implement paging and sorting using Spring Boot
  • What is Swagger? Did you implement it with Spring Boot
  • What are Spring Profiles
  • What is Spring Batch
  • What is a Freemarker template
  • How to implement exception handling using Spring Boot
  • Which Starter Maven dependencies do you use
  • What is a CSRF attack
  • What is web sockets
  • What is the AOP
  • What is Apache Kafka
  • How do we monitor all Spring Boot microservices

SpringCloud Interview feature

  • What are the advantages of using Spring Cloud
  • What does service registration and discovery mean? How is Spring Cloud implemented
  • What is the meaning of load balancing
  • What is Hystrix? How does it achieve fault tolerance
  • What is a Hystrix Circuit Breaker? Do we need it
  • What is Netflix Feign? What are its advantages
  • What is Spring Cloud Bus? Do we need it

SpringMVC Interview Feature

  • What are the benefits of Spring MVCSpring MVC
  • How SpringMVC works
  • For SpringMVC process
  • Spring MVC controller is not singleton mode, if so, what is the problem, how to solve
  • If you’ve used Struts2, here’s a quick overview of the differences between Spring MVC and Struts2
  • SpingMVC controller annotations usually use that, is there any other annotations can replace
  • What does the @RequestMapping annotation do with a class
  • How do you map a request to a particular method
  • If, in an intercept request, I want to intercept a method submitted as GET, how do I configure this
  • How do you get a Request, or a Session, inside a method
  • I want to get the parameters passed in from the foreground in the intercepted method, how do I get them
  • If there are many parameters passed in the foreground, and these parameters are all of the same object, how to get the object quickly
  • What is the return value of a function in Spring MVC
  • How does SpringMVC configure redirects and forwards
  • What objects does SpringMVC use to pass data from the background to the front desk
  • There is a class in SpringMVC that merges views and data together. What is it called
  • How to put data from ModelMap into Session
  • How does Spring MVC interact with Ajax
  • What happens when a method returns a special Object, such as Object,List, etc., to Ajax
  • How do SpringMVC interceptors write
  • Let’s talk about the execution flow of Spring MVC

Because the copy of this article is too long, Xiaobian put the Spring family bucket series of actual combat books documents organized interested programmers (daughters) can [Click here to】 get!