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.




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.




Android 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 Android system. Topics include Installing of Android SDK on Windows, Creating and running Android emulators, Developing First Android Application - HelloAndroid, Creating Android Project with 'android' Command, Building, Installing and Running the Debug Binary Package, Inspecting Android Application Package (APK) Files, Using Android Debug Bridge (adb) Tool, Copying files from and to Android device, Understanding Android File Systems, Using Android Java class libraries, Using 'adb logcat' Command for Debugging. Updated in 2023 (Version v3.05) with ADB tutorials. For latest updates and free sample chapters, visit https://www.herongyang.com/Android.




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.




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.




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.




EC Cryptography Tutorials - Herong's Tutorial Examples


Book Description

This EC (Elliptic Curve) cryptography tutorial book is a collection of notes and sample codes written by the author while he was learning cryptography technologies himself. Topics include rule of chord and point addition on elliptic curves; Abelian groups with additive/multiplicative notations; EC as Abelian groups; DLP (Discrete Logarithm Problem) and trapdoor function; Galois fields or finite fields with Additive/Multiplicative Abelian Group; Prime fields, binary fields, and polynomial fields; EC fields reduced with modular arithmetic; EC subgroup and base points; EC private key and public key pairs; ECDH (Elliptic Curve Diffie-Hellman) protocol; ECDSA (Elliptic Curve Digital Signature Algorithm); ECES (Elliptic Curve Encryption Scheme) protocol; Java tool/program to generate EC keys. Updated in 2024 (Version v1.03) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/EC-Cryptography.




Unicode Tutorials - Herong's Tutorial Examples


Book Description

This Unicode tutorial book is a collection of notes and sample codes written by the author while he was learning Unicode himself. Topics include Character Sets and Encodings; GB2312/GB18030 Character Set and Encodings; JIS X0208 Character Set and Encodings; Unicode Character Set; Basic Multilingual Plane (BMP); Unicode Transformation Formats (UTF); Surrogates and Supplementary Characters; Unicode Character Blocks; Python Support of Unicode Characters; Java Character Set and Encoding; Java Encoding Maps, Counts and Conversion. Updated in 2024 (Version v5.32) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/Unicode.




Swing: A Beginner's Guide


Book Description

From the world’s bestselling programming author Using the practical pedagogy that has made his other Beginner’s Guides so successful, Herb Schildt provides new Swing programmers with a completely integrated learning package. Perfect for the classroom or self-study, Swing: A Beginner’s Guide delivers the appropriate mix of theory and practical coding. You will be programming as early as Chapter 1.