The essential difference between Jackson's @ JsonFormat and @ DateTimeFormat

1. Problems Two problems are often encountered in front and back-end interaction during development: 1. When the back end returns data to the front end, the Date attribute in the moudel object needs to be formatted and displayed to the front end (for example, formatted as yyyy MM DD HH: mm: SS). 2. When the front end passes parameters to the ...

Posted by Jezza on Thu, 05 May 2022 02:25:32 +0300

Notes on Java back-end development theory Spring practice

1, Introduction to Spring 1.1 simplify Java development The most fundamental mission of Spring application development is to simplify the open source framework.   in order to reduce the complexity of Java development, Spring adopts the following four key strategies: Lightweight and minimally invasive programming based on POJO; Loos ...

Posted by rochakchauhan on Thu, 05 May 2022 00:21:45 +0300

Build SSM framework

1, Create Maven project (idea version) I'm used to creating empty maven projects and configuring them myself, so I can learn a lot 2, Import dependent coordinates Note: be sure to see the purpose of each package by yourself. Don't put everything in the project according to the mess on the Internet 2.1 pom.xml 2.1.1 jar package coordinate ...

Posted by designergav on Thu, 05 May 2022 00:19:07 +0300

spring boot -- startup configuration principle

spring boot – how the boot configuration works 1, @ SpringBootApplication annotation When we create a new project, the springboot application startup portal will appear, as shown below: @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); ...

Posted by waltonia on Wed, 04 May 2022 23:05:10 +0300

Introduction to Java architecture and dubbo

1. Evolution process of software architecture The development of software architecture has experienced the evolution process from single architecture, vertical architecture, SOA architecture to micro service architecture. Let's learn about these architectures respectively. 1.1 single structure Architecture Description: All functions are con ...

Posted by Xproterg^vi on Wed, 04 May 2022 09:36:50 +0300

Spring boot + mybatis + spring technology integration to realize CRUD operation of commodity brand module

Business description Requirement description There is a commodity subsystem in any e-commerce system, and there will be a brand information management associated with commodities. In the current business system design, we want to design and implement the management of commodity brand information Business architecture analysis In brand informati ...

Posted by wobbit on Wed, 04 May 2022 07:44:41 +0300

Spring learning notes - concepts and IOC - based on xml

I. Spring concepts and learning notes (IOC) - based on xml concept The core of lightweight java development framework is IOC (inversion of control) and AOP (aspect oriented programming) The function is to decouple, object decouple and module decouple, which can only reduce the coupling Container to place java objects tomcat is also a containe ...

Posted by simon71 on Tue, 03 May 2022 23:36:30 +0300

Are @Schedule scheduled tasks executed in parallel?

@Schedule is a common timed task annotation. It is generally used in business logic that needs to be executed regularly. It is mostly used for single-machine tasks. If it is used in distributed tasks, it is necessary to ensure data consistency through distributed locks. If there are multiple scheduled tasks defined by the @Schedule annotatio ...

Posted by ssailer on Tue, 03 May 2022 20:21:48 +0300

spring aop unified daily and exception handling

AOP is a technology that achieves unified maintenance of program functions through pre-compilation and runtime dynamic agents. AOP reduces the coupling of various parts of the business logic and improves the reusability of the program. Why use AOP? The code we write will inevitably have some running errors. Usually, we need to wrap the error ...

Posted by gplaurin on Tue, 03 May 2022 15:34:20 +0300

Spring Cloud overview and writing service provision and service consumption

1spring cloud getting started overview 1.1 what is spring cloud SpringCloud, based on SpringBoot, provides a set of microservice solutions, including service registration and discovery, configuration center, full link monitoring, service gateway, load balancing, fuse and other components. In addition to the highly abstract encapsulation of o ...

Posted by dasmon777 on Tue, 03 May 2022 08:04:33 +0300