mybatis framework learning record

After studying MyBatis for a week, I have a general understanding of MyBatis. I know that MyBatis is an excellent persistence layer framework. When writing JDBC in the past, we will find a lot of code duplication, bloated and tedious. It's painstaking. Until the emergence of MyBatis, MyBatis avoided alm ...

Posted on Tue, 18 Feb 2020 07:06:30 -0500 by Naoa

Java Concurrent Programming Series -- the concurrent tool classes CountDownLatch, CyclicBarrier, Semaphore, and Exchanger in Java

1, Concurrent tool classes in Java Several very useful concurrency tool classes are provided in the concurrency package of JDK. CountDownLatch, CyclicBarrier and Semaphore tool classes provide a means of concurrent process control, while exchange tool class provides a means of exchanging data between ...

Posted on Tue, 18 Feb 2020 06:46:55 -0500 by dror_israel

Android Development: simple login function

Github address: food sharing platform, welcome star and fork thinking In addition to the design of login interface, the cooperation of database and encryption function is needed to realize simple login (account password login) function. The train of thought is Register the account in the registration ...

Posted on Tue, 18 Feb 2020 05:27:32 -0500 by goa103

The largest rectangle in a histogram (Java)

1 topic n nonnegative integers are given to represent the height of each column in the histogram. Each column is adjacent to each other and has a width of 1. Find the maximum area of the rectangle that can be outlined in the histogram. The above is an example of a histogram where the width of each col ...

Posted on Tue, 18 Feb 2020 04:24:53 -0500 by Jtech inc.

Spring boot 2. X Foundation: develop your first spring boot application

Knowledge changes fate, rolling code makes me happy, and I will continue to swim in the open source industry in 2020 < br / > Take a look at what you like and get into the habit < br / > Give me a Star, Click to learn about the implementation solution of component-based interface service based on spring boot This article is the o ...

Posted on Tue, 18 Feb 2020 03:55:11 -0500 by vino4all

Microservice inheritance and composition: how to choose

Through the learning of Java framework, we learned about the basic methods of comparing two kinds of contact classes, and then practiced debugging ClassCastExceptions in Java inheritance. Inheritance and composition are two programming techniques used by developers to establish relationships between classes and objects. Inheritance is to inher ...

Posted on Tue, 18 Feb 2020 03:19:22 -0500 by lanrat

Building REST services with Spring

This paper is from February 16, 2020 https://spring.io/guides/tutorials/rest/ Build rest services with spring. How to eat: in order to express more directly, some proper nouns have been translated into Chinese, which may reduce some content matching, but will help more people understand this thing. ...

Posted on Tue, 18 Feb 2020 01:50:17 -0500 by kcgame

Go operation Kafka --- Kafka installation, startup and use

1, Install kafka 1.kafka needs to rely on java's jdk to run. Install the jdk first. Address: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html After installation, the following environment variables need to be added (right click "my computer" - > "adva ...

Posted on Tue, 18 Feb 2020 01:38:47 -0500 by dreglo

java -- string class

java -- string class string is a reference type, which is actually a predefined class in the java library The string type object is immutable. When modifying the string value, only one new string object can be created String newstring=new String("abc"); / / create a string named newstring an ...

Posted on Tue, 18 Feb 2020 00:21:52 -0500 by exponder

5D (Pseudo 3D) site visualization first bullet

Wedge Recently, we need to do a visual presentation project for the base station. We first tried three-dimensional visualization technology to program, but the customer feedback is that their client computers are relatively poor, performance and efficiency will be poor, and even some of them are virtual machines. So we first made a 3Ddemo with ...

Posted on Mon, 17 Feb 2020 22:19:44 -0500 by sara_kovai