Overview of Java Swing GUI Framework
javax.swing.* package and their class names typically start with 'J' (e.g., JFrame, JButton).website·Indexed 30 days ago
https://blog.wuzhiyong.eu.orgA collection of technical tutorials and notes focusing on Java backend development. Content includes Java core syntax, OOP, multithreading, and the Collection Framework, as well as detailed guides on distributed systems and infrastructure including Kubernetes, Kafka, Elasticsearch, Zookeeper, Nginx, and Spring Cloud. Additionally, it features a comprehensive series on software design patterns such as Singleton, Observer, Strategy, and Factory.
javax.swing.* package and their class names typically start with 'J' (e.g., JFrame, JButton).java.util package) is divided into two primary structures: the Collection structure (elements stored individually) and the Map structure (elements stored as key-value pairs). Collections store references to objects in the heap, not the objects themselves. By default, without generics, collections store any object that is a subclass of Object.Introduced in React 16.8, Hooks allow developers to use state and other React features within function components without writing a class. Hooks are functions that 'hook into' external React functionality. They solve several problems associated with class components:
this in JavaScript and the need to bind event handlers.<% %> and expressions like <%= %>) within JSP files. Its primary purpose is to retrieve data from a specific scope, convert it to a string (automatically calling toString() for Java objects), and output it to the browser, resulting in cleaner and more maintainable JSP files.The Java Reflection mechanism is a set of JDK libraries used to operate on or read class bytecode files at runtime. The core classes involved are:
java.lang.Class: Represents a class file on disk or a specific type.java.lang.reflect.Field: Represents a member variable within a class.java.lang.reflect.Method: Represents a method within a class.java.lang.reflect.Constructor: Represents a constructor within a class.ZooKeeper is an open-source, high-performance distributed coordination service designed to provide consistency for distributed applications. It is a coordination storage service with strict attribute access control, often used as a critical component in Hadoop and HBase. Its primary design goals are:
require syntax and synchronous loading would block the UI thread.RTK Query is an optional plugin included in the Redux Toolkit package designed to simplify data fetching and caching in Web applications. It eliminates the need to manually write logic for loading states, caching, and deduplicating requests. It is specifically designed for React (requiring version 17+ with Hooks support).
Key problems solved by RTK Query: