The second week of winter vacation

Learn more about css this week: Progress with learning video Learning: Three characteristics of css Characteristic Effect Inheritance Set some properties for the parent element, and the child element can also be used (only those starting with color,font-,text-,line can be inherited) Stacking ...

Added by AngelGSD on Wed, 05 Feb 2020 12:28:32 +0200

Spring MVC requests data conversion through HttpMessageConverter

Java Web people often design restful APIs( How to design a RESTful API ), interact with json data. So how can the json data passed in from the front-end be parsed into Java objects as API input parameters, and how can the API return result parse the Java objects into json format data and return them ...

Added by figuringout on Wed, 05 Feb 2020 12:19:05 +0200

Introduction to programmatic transaction usage postures for SpringBoot series tutorials

Introduction to programmatic transaction usage postures for SpringBoot series tutorials The blog posts on the aforementioned transactions mainly make use of the declarative posture of the @Transactional annotation, which has the advantages of simple use, low intrusiveness and high identifiability (you know you are using the transaction at a ...

Added by Syphon on Wed, 05 Feb 2020 03:57:57 +0200

Using Spring in common WEB projects

Spring is an object container to help us manage the objects in the project. Which objects in the web project should be managed by spring? Objects involved in the project Let's review the objects involved in the WEB project Servlet Request Response Session Service DAO POJO Analysis When we learn IOC containers, we know that Spring can help us ...

Added by theoph on Tue, 04 Feb 2020 08:17:18 +0200

Adapter model and decorator model

Theory is a powerful tool to guide practice Adapter mode Concept: adapt the interface of a class to what users expect. An adaptation allows classes that cannot work together, usually because their interfaces are not compatible, to work together by wrapping their own interfaces in an existing class.R ...

Added by hungryOrb on Mon, 03 Feb 2020 15:48:04 +0200

Search engine Solr from entry to actual combat

1.Solr installation and configuration 1.1 introduction to Solr Most search engine applications must have some kind of search function. The problem is that the search function is often a huge resource consumption and they drag down the performance of your application due to heavy database loading. Th ...

Added by banjax on Sun, 02 Feb 2020 18:06:59 +0200

spring+springmvc+mybatis (ssm) integration

layout: post author: zjhChester header-img: img/post-bg-os-metro.jpg catalog: true tags: - ssm integration spring+springmvc+mybatis (ssm) integration 1. Preliminary preparation 1. Build maven project, check skeleton construction, check web app [external link image transfer failed. The sour ...

Added by devinemke on Sat, 01 Feb 2020 10:44:45 +0200

java asynchronous call method

1, Using multithreading Direct new thread Thread t = new Thread(){ @Override public void run() { longTimeMethod(); } }; Use thread pool private ExecutorService executor = Executors.newCachedThreadPool() ; public void fun() throws Exception { executor.submit(new Runnable(){ @override public v ...

Added by mrwhale on Tue, 28 Jan 2020 16:01:00 +0200

spring source learning (1)

There are a lot of spring source code analysis tutorials and class diagrams on the Internet, but the source code of spring is very complex, one layer is nested, and it's hard to see at the beginning. The more you look, the more muddled you become. So I bought the book "spring source code deep analysis". Follow the boo ...

Added by Dumps on Mon, 27 Jan 2020 17:58:13 +0200

Introduction to Canal - server

Canal is an incremental log resolution for MySQL database provided by Ali, which provides a framework (component) for incremental data subscription and consumption. 1. Configure the MySQL configuration file (my.ini), and add the following configuration: [mysqld] log-bin=mysql-bin #Enable log monitoring binlog-format=ROW #Monitoring mode is ...

Added by madhu on Sun, 26 Jan 2020 20:03:05 +0200