Use of RMI in Java

RMI introduction RMI (Remote Method Invocation) model is a distributed object application. Using RMI technology, objects in one JVM can call object methods in another JVM and obtain the call results. The other JVM here can be on the same computer or a remote computer. Therefore, RMI means a Server side and a Client side. The Server side usu ...

Posted by Mgccl on Fri, 11 Feb 2022 17:52:06 +0100

[Spring] book reading notes -- the birth of ORM and the integration of Spring

preface Review the established development rules and DAO mode—— Development standards introduced on Oracle official website (browse)What is JDBCDefects of JDBCBirth of ORMORM integration efforts 1. JDBC 1.1 what is JDBC The following contents are sorted to Baidu JDBC (Java Database Connectivity) is an application program int ...

Posted by GarroteYou on Fri, 11 Feb 2022 17:23:45 +0100

A detailed explanation of Kafka API

Absrtact: Kafka's APIs include Producer API, Consumer API, user-defined Interceptor (user-defined Interceptor), Streams API for processing streams and Kafka Connect API for building connectors. This article is shared from Huawei cloud community< [Kafka notes] Kafka API analyzes the Java version in detail (Producer API, Consumer API, inter ...

Posted by Sianide on Fri, 11 Feb 2022 17:21:16 +0100

What you should know about Java parallel stream

parallelStream action Multithreading can speed up the processing of collection operations. The underlying principle is to use the thread pool forkjoinpool (we look forward to your sharing) Must parallel streams be faster than streams? When the amount of data processed is not large, the code of "parallelStream()" is sometimes slower ...

Posted by burnside on Fri, 11 Feb 2022 16:21:38 +0100

Java time processing

Java time processing 1, Calendar (1) Introduction to Calender The Chinese translation of calendar is calendar. In fact, there are many methods of timing in history. Therefore, in order to unify timing, you must specify a calendar selection. Now the most popular and universal calendar is "Gregorian Calendar". That is, we often us ...

Posted by loudrake on Fri, 11 Feb 2022 16:14:07 +0100

Sorting - the most complete knowledge summary of seven sorting algorithms

concept Sorting: a series of records arranged in ascending or descending order according to the size of one or some keywords. Generally, sorting refers to sorting in place. What is sort stability Sorting stability: for two equal data, if the sorting algorithm can ensure that its relative position does not change after sorting, then the a ...

Posted by NikLP on Fri, 11 Feb 2022 16:01:40 +0100

Learn JdbcTemplate from Spring framework

JdbcTemplate JdbcTemplate is Spring's encapsulation of JDBC to make JDBC easier to use. The JdbcTemplate is part of Spring. The JdbcTemplate handles the creation and release of resources. It helps us avoid some common mistakes, such as forgetting to always close the connection. It runs the core JDBC workflow, such as the establishment and exec ...

Posted by Anzeo on Fri, 11 Feb 2022 15:36:38 +0100

Entering the world of Java Web technology 9: the birth and development of Java log system

How is a famous log system designed Reprinted from: Manon turned over 1 Preface At the beginning of its birth, the Java Empire provided common functions such as collection, thread, IO and network, which attracted a large number of programmers from C and C + + territory, but intentionally or unintentionally ignored an important function: outp ...

Posted by subalan on Fri, 11 Feb 2022 15:29:35 +0100

Recursive traversal and iterative traversal of binary tree

Binary tree The so-called traversal refers to one and only one visit to each node in the tree along a search route. The operation of the access node depends on the specific application problem (for example, print the node content and add 1 to the node content). Traversal is one of the most important operations on a binary tree. It is a bin ...

Posted by mikegzarejoyce on Fri, 11 Feb 2022 14:49:31 +0100

Notes on the 18th learning of java

Notes on the 18th learning of java preface I feel de 1, What is a Collection? 1.Collection overview ● the top-level interface of a singleton Collection, which represents - group objects, which are also called Collection elements ● JDK does not provide any direct implementation of this interface. It provides more specific implementa ...

Posted by karlovac on Fri, 11 Feb 2022 14:47:41 +0100