Category:Java

  • Java Dry Cargo Knowledge Deeply Understanding Internal Classes

    Time:2019-8-24

    Preface When it comes to internal classes, you are not unfamiliar with them, and they are often used when instantiating containers. However, the specific details of the internal class grammar, principles and implementation of what can be quite strange to many people, here is a summary, I hope to improve the understanding of the internal […]

  • Spring – Developing with Annotations (12)

    Time:2019-8-24

    1. Using annotations to develop a series of packages that need to be imported into spring; 2. Need to add a constraint in the configuration file: context; xmlns:context=”http://www.springframework.org/schema/context” http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd 3. Configuring Scanning Components <! – Annotations under automatic scanning packages – > <context:component-scan base-package=”org.west.pojo”/> 4. Coding package org.west.pojo; import org.springframework.stereotype.Controller; @Controller(“stu”) public class Student […]

  • Docker’s other two topics: DockerHub and Container Networks

    Time:2019-8-23

    Pay attention to the public number, you can reply to the “blog park” in the background of the public number, and get the author’s Java knowledge system / interview materials for free. Hello, everyone, I’m Ziyou. As the editor of this week, I introduced myself to you yesterday. Today, let’s continue to learn the Docker […]

  • What is the meaning of introducing internal classes in Java?

    Time:2019-8-23

    Preface This is a good question, because it reminds me of the “impulse to use” when I first learned internal classes. As a result, my code is full of layers of nested inner classes. Not only do static domain errors often occur (internal classes are not allowed to have static member fields), but for some […]

  • Java Synchronization Container and Concurrent Container Details

    Time:2019-8-22

    Synchronization container In Java, synchronization containers consist of two main categories: Classes created by static factory methods provided in Vector, Stack, HashTableCollections classes (methods such as Collections. synchronized Xxxx, etc.) Classes created by static factory methods provided in Collections classes Vector implements the List interface. Vector is actually an array, similar to Array List, but […]

  • JavaFX integrates Sqlite and Hibernate to develop crawler applications

    Time:2019-8-22

    Catalogue[Hide] 0.1 Preface: 0.2 Interface 0.3 Maven environment 0.4 Project structure 0.5 Integration of Hibernate 0.5.1 SQLiteDialect. Java database dialect code 0.5.2 Hibernate.cfg.xml Hibernate configuration file 0.6 Project Initialization Connection Database Automatically Creates Tables: 0.6.1 Create databases and tables for the first run of the program 0.7 JFoenix Interface Development 1. JFoenix table TreeTable 1.0.1 […]

  • Understand your ambiguous array from the Java interview questions

    Time:2019-8-21

    Preface Array, the most basic data structure. Although it seems very simple and basic, interviews often fail to escape it. Characteristic Subscripts start at 0 Linear Table Data Structure A contiguous set of memory spaces to store a set of data of the same type How to Realize Random Access Several key words can be […]

  • One micro-signal supports multi-environment web authorization at the same time

    Time:2019-8-21

    The project carries out the development of Wechat and authenticates a Wechat service number for internal testing, but there may be many different environments (dev, sit, pre-release uat) inside. Because Wechat restricts a service number to configure only one web authorized domain name, and it is impossible to assign a service number to each environment […]

  • How to access data and related information in JVM in Java

    Time:2019-8-20

    Preface: We write, compile and execute Java code every day. Many people already know that Java source code files (. Java suffix) are compiled into bytecode files (. class suffix) by the Java compiler, and then loaded by the class loader in JVM. After loading, the bytecode files of each class are executed by the […]

  • Broker’s Brush Disk Source Code Analysis in RocketMQ

    Time:2019-8-20

    At the end of the last blog, I briefly mentioned CommitLog’s Brush Disk (Broker’s Message Storage Source Analysis in RocketMQ). (This blog has a lot to do with the last one.) Broker’s CommitLog brushes start a thread that constantly writes the contents of the buffer to disk (CommitLog file), which is mainly divided into asynchronous […]

  • An article summarizes the memory area model of the Java virtual machine

    Time:2019-8-19

    First, let’s look at the data area of the Java runtime. During the execution of Java programs, the Java virtual machine divides the memory it manages into several different data areas, each of which has its own purpose, its own creation and destruction time. Some regions exist with the start of the virtual machine process, […]

  • Container operations in data volumes are, as a whole, very simple

    Time:2019-8-19

    Pay attention to the public number, you can reply to the “blog park” in the background of the public number, and get the author’s Java knowledge system / interview materials for free. This is the sixth article in this series. Reading the previous article will help us understand this article better. Docker Introduction and Installation […]