Summary of WebService learning -- using JDK to develop webservice

Summary of WebService learning (2) -- using JDK to develop webservice 1, Development means of WebService When using Java to develop web services, you can use the following two development methods 1. Development with JDK (version 1.6 and above) 2. Develop with CXF framework (in work) 2, Using JDK to develop WebService 2.1 develop WebService s ...

Added by po on Mon, 15 Jun 2020 07:24:40 +0300

Java ticket selling task_ Detailed implementation of multithreading

Java ticket selling task_ Detailed implementation of multithreading Title Review: the Ministry of Railways has issued a ticket sales task, which requires 1000 tickets to be sold and three windows to be sold. Please write a multi-threaded program to simulate this effect. i. window 001 is selling ticket 1000 ii. Window 001 is selling ticket ...

Added by JustLikeIcarus on Sun, 14 Jun 2020 11:38:42 +0300

java Basics - day09_ Byte stream, character stream

Article catalog 02_IO overview (concept & classification) 03_ Everything is byte 04_ Byte output stream_ OutputStream class & introduction to fileoutputstream class 05_ Byte output stream writes data to file 06_ The principle of file storage and notepad opening 07_ The method of writing multi ...

Added by jiggaman15dg on Sun, 14 Jun 2020 07:51:46 +0300

Introduction to the features provided by Stream`

1. Preface Stream is a very important new feature in Java8. From this article, I will introduce each of the features Stream provides and show you how to use Stream with a simple and practical example. 2. Introduction Note that first of all, we should not confuse Java 8 Stream with Java I/O, they have little to do with each other. Simply put, S ...

Added by sankaty on Sat, 13 Jun 2020 23:19:52 +0300

Kafka Java client use

Article catalog 1. Common configuration 2. kafka-clients 2.1 producers 2.2 consumers 2.3 multithreading 1. Common configuration producer to configure describe type Default bootstrap.servers It is used to establish the connection with kafka cluster and only affects the hosts used for init ...

Added by Gmans on Sat, 13 Jun 2020 07:34:03 +0300

It's multithreaded, so beginners can understand it

What is thread When it comes to threads, we should first understand what a process is. You should be familiar with this picture. The programs we see running separately are independent processes, and the processes are independent of each other. The 360 browser and Baidu cloud disk in the above figure are all independent processes. So what are th ...

Added by davidlenehan on Fri, 12 Jun 2020 09:03:54 +0300

Write an infinite list using the PlaceHolderVidew Library

Write an infinite list using the PlaceHolderVidew Library First, let's look at the picture. Here's what I want to do. Overview of the objectives of this experiment: 1. Write a json file to store the students'information. The source will simulate loading json data from the Internet and then popula ...

Added by dianaqt on Thu, 11 Jun 2020 19:15:23 +0300

It's jdk14, can't you use lambda expression?

1, Functional interface 1. Functional interface definition    before learning lambda expressions, let's look at the functional interface: Interface with only one abstract method You can use @ FunctionalInterface annotation to declare and check functional interfaces java.util.function The ...

Added by udendra on Thu, 11 Jun 2020 08:00:03 +0300

Fastdfs_5.08 + nginx_14.0 cluster deployment

Fastdfs_5.08 + nginx_14.0 cluster deployment Server planning: 1, All tracker and storage nodes should execute: 2, Configure tracker server 3, Configure storage server 4, File upload test (ip01) 5, Install fastdfs nginx module on all storage nodes 6, Verify: access files uploaded during test through ...

Added by knucklehead on Thu, 11 Jun 2020 07:13:58 +0300

SpringBoot 2.3 integrates the latest ShardingJdbc + Druid + MyBatis

Today, the project is not busy. I want to have a look at the sharding JDBC sub database and sub table. I want to achieve the following: Discard the xml configuration and use. yml or. properties file + java to configure spring. Use Druid as database connection pool, open monitoring interface at the same time, and support monitoring multiple dat ...

Added by htcilt on Thu, 11 Jun 2020 06:47:20 +0300