JDK Tutorials - Herong's Tutorial Examples


Book Description

This book is a collection of tutorial notes and sample codes written by the author while he was learning JDK (Java Development Kit) core libraries himself. Topics include Time and Calendar, Internationalization, Unnamed Packages, Collections, Character Set and Encoding, Logging, XML related technologies: DOM, SAX, DTD, XSD, and XSL, Cryptography, Certificates, Key stores, Cipher and Encryption, Socket communication, SSL and HTTPS. Updated in 2024 (Version v6.32) with JDK 20. For latest updates and free sample chapters, visit https://www.herongyang.com/JDK.




Java GC Tutorials - Herong's Tutorial Examples


Book Description

This book is a collection of tutorial notes and sample codes written by the author while he was learning JVM GC (Garbage Collection) processes. Topics include Java Garbage Collectors, STW (Stop-The-World), Serial Collector, Parallel Collector, Concurrent Collector, G1 Collector, GC Algorithms, Generational GC, Regional GC, Heap Memory Management, Young/New Generation, Tenured/Old Generation, Object Reference, Eden Space, Survivor Spaces, Minor GC, Major GC, Full GC, Performance Tuning, Throughput/Latency Performance, Heap Footprint. Updated in 2024 (Version v1.12) with minor updates. For latest updates and free sample chapters, visit https://www.herongyang.com/Java-GC.




Java Tutorials - Herong's Tutorial Examples


Book Description

This tutorial book is a collection of notes and sample codes written by the author while he was learning Java himself. Topics covered in the book include: Java language basics; execution environment; generic classes and parameterized type; generic methods and type argument inferences; enum types and constants; lambda expressions; annotation types and invocations; Java modules; execution threads and synchronization; memory management and garbage collection. Updated in 2024 (Version v8.22) with JDK 20. For latest updates and free sample chapters, visit https://www.herongyang.com/Java.




JDBC Tutorials - Herong's Tutorial Examples


Book Description

This JDBC tutorial book is a collection of notes and sample codes written by the author while he was learning JDBC technology himself. Topics include installing JDK and Derby database server; using Derby JDBC driver; database connection URLs; introduction to Result Set; Meta Data, Prepared Statement, CLOB, and BLOB; connection pooling with DBCP and C3P0. Updated in 2024 (Version v3.13) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/JDBC.




Java Swing Tutorials - Herong's Tutorial Examples


Book Description

This tutorial book is a collection of notes and sample codes written by the author while he was learning Java Swing and AWT himself. Topics include Swing and AWT (Abstract Windows Toolkit) class library; graphical components: JButton, JCheckbox, JComboBox, JFrame, JLabel, JMenu, JRadioButton, JTextField; frame layouts; menus; dialog boxes; editor pane; Unicode and Chinese. Updated in 2024 (Version v4.32) with JDK 20. For latest updates and free sample chapters, visit https://www.herongyang.com/Swing.




Java Tools Tutorials - Herong's Tutorial Examples


Book Description

This tutorial book based on notes and sample codes collected by the author while he was learning Java tools himself. Topics includes: 'java/javaw' Launcher, 'javac' Compiler, 'javadoc' Document Generator, 'javap' Class File Disassembler, 'jar/jarsigner' Archive Tool, 'jconsole' Console, 'jdb' Debugger, 'jdeps' Dependency Analyzer, 'jdeprscan' Deprecated API Scanner, 'jhat' Heap Analysis Tool, 'jlink' JRE Linker, 'jhsdb' HotSpot Debugger, 'jmap' Memory Dumper, 'jmc' Mission Control, 'jpackage' Binary Package Builder, 'jrunscript' Script Shell, 'jstack' Stack Dumper, 'jstat' Statistics, 'jstatd' Statistics Daemon, 'jvisualvm' Visual VM, 'jwebserver' Web Server, 'keytool' Keystore Tool, 'serialver' serialVersionUID generator. Updated in 2023 (Version v6.23) with JDK 20. For latest updates and free sample chapters, visit https://www.herongyang.com/Java-Tools.




JVM Tutorials - Herong's Tutorial Examples


Book Description

This book is a collection of notes and sample codes written by the author while he was learning JVM himself. Topics include JVM (Java Virtual Machine) Architecture and Components; Oracle JVM implementation - HotSpot; Eclipse JVM implementation - Eclipse OpenJ9; java.lang.Runtime - The JVM Instance class; Loading Native Libraries; java.lang.System - Representing Operating System; java.lang.ClassLoader - Loading class files; java.lang.Class - Class reflections; Runtime data areas, heap memory and Garbage Collection; Stack, Frame and Stack overflow; Multi-threading impacts on CPU and I/O; CDS (Class Data Sharing); Micro Benchmark tests on different types of operations. Updated in 2024 (Version v5.13) with HotSpot JVM 20. For latest updates and free sample chapters, visit https://www.herongyang.com/JVM.




SOAP Web Service Tutorials - Herong's Tutorial Examples


Book Description

This book is a collection of notes and sample codes written by the author while he was learning SOAP Web service. Topics include introduction of SOAP specifications; SOAP modules, features, and message structure; SOAP Message Exchange Patterns; Perl, PHP, and Java support of SOAP Web services; WS-Security, Username Token and X.509 Token; Signing and Encrypting SOAP messages; Using SoapUI for Web service testing.




XSD Tutorials - Herong's Tutorial Examples


Book Description

This book is a collection of tutorial examples and notes written by the author while he was learning XSD (XML Schema Definition). Topics include: XSD (XML Schema Definition) specification and processors; JAXP (Java API for XML Processing) API; XSD Schema XML DOM/SAX validators; Using Xerces2 Java Parser API; XSD Built-in Datatypes: string, normalizedString, token, integer, long, int, short, byte, gYear, gMonth, gDay, gYearMonth, gMonthDay, duration, yearMonthDuration, dayTimeDuration, atomic, list, union; simpleContent and complexType; unique, key and keyref identity constraints; assert and assertion validation rules; Schema Component Reuse - include, redefine or import. Updated in 2024 (Version v5.23) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/XSD.




JVM Tutorials - Herong's Tutorial Examples


Book Description

This book is a collection of notes and sample codes written by the author while he was learning JVM himself. Topics include JVM (Java Virtual Machine) Architecture and Components; Oracle JVM implementation - HotSpot; Eclipse JVM implementation - Eclipse OpenJ9; java.lang.Runtime - The JVM Instance class; Loading Native Libraries; java.lang.System - Representing Operating System; java.lang.ClassLoader - Loading class files; java.lang.Class - Class reflections; Runtime data areas, heap memory and Garbage Collection; Stack, Frame and Stack overflow; Multi-threading impacts on CPU and I/O; CDS (Class Data Sharing); Micro Benchmark tests on different types of operations. Updated in 2024 (Version v5.13) with HotSpot JVM 20. For latest updates and free sample chapters, visit https://www.herongyang.com/JVM.