XML Tutorials - Herong's Tutorial Examples
This XML tutorial book is a collection of notes and sample codes written by the author while he was learning XML himself. Topics include introduction to XML, DTD (Document Type Definition), XSD (XML Schema Definition), XPath (XML Path Language), XSL (Extensible Stylesheet Language), XSLT (XSL Transf... 2021-03-07, 9571👍, 2💬
'jstat' - JVM Statistics Monitoring Tool
This chapter provides tutorial notes on JVM statistics monitoring tools. Topics include listing JVM processes with 'jps', the JVM remote monitoring server - 'jstatd', Java security policy file, connecting 'jps' and 'jstat' to a remote machine, RMI protocol and URL, getting garbage collection statist... 2017-08-10, 1207👍, 1💬
JSSE - Java Implementation of SSL and TLS
This section describes the JSSE (Java Secure Socket Extension) package, which provides a Java implementation of the SSL and TLS protocols. 2017-07-18, 595👍, 1💬
Creating Internal Frames inside the Main Frame
This chapter provides tutorial notes and example codes on internal frames. Topics include quick introduction of the javax.swing.JInternalFrame class and the javax.swing.JInternalFrameList enerinterface; examples of creating internal frames inside the main frame; examples of adding internal frame lis... 2017-04-19, 1325👍, 4💬
'jstatd' - JVM Remote Monitoring Server
This section describes the JVM remote monitoring server 'jstatd' and its options. 'jstatd' are used to allow JVM monitoring tools 'jps' and 'jstat' to access local JVM processes from a remote machine. 2017-04-01, 4172👍, 6💬
javax.net.debug - Debugging SSL Socket Communication
This section provides a tutorial example on how to use JVM property, javax.net.debug, to turn on the SSL socket communication debug option. The debug output message can help you to know what exactly happens at the SSL layer. 2017-03-02, 4738👍, 2💬
Using SO_LINGER Socket Option
A tutorial example is provided to show how to use the SO_LINGER socket option to prevent the server closing the socket too soon after writing the response to the socket. 2017-02-16, 860👍, 2💬
'jstack' - Stack Tracer to Generate Thread Dump
This section provides a tutorial example on how to use the 'jstack' tool to generate a thread dump (print all running threads and their stack traces). 2017-01-23, 152👍, 1💬
Operations on "byte" Data Type Values
This section provides a tutorial example on how 'byte' values are casted to 'int' values when they are involved in arithmetic, comparison and bitwise operations. 2017-01-21, 4082👍, 2💬
LambdaCalculator.java - Lambda Expression Example
This section provides a tutorial example on using an lambda expression to define a class anonymously implementing a single abstract method interface. An anonymous class and a local class are used as comparisons. 2016-12-17, 1571👍, 1💬
Printing Histogram of Java Object Heap
This section provides a tutorial example on how to print the histogram of Java object heap, a list of different types of objects and their counts and total sizes. 2016-12-14, 4094👍, 2💬
java.util.PropertyResourceBundle - Resource Bundles as Properties Files
This section provides a tutorial example on how to create resource bundles (localization key names with their localized text messages) as properties file for the java.util.PropertyResourceBund leconcrete class. 2016-11-25, 381👍, 1💬
SimpleStringBuffer - My Implementation of String Buffer
This section provides a tutorial example on how to implement a simple string buffer class similar to the StringBuffer class included in the java.lang package. 2016-11-15, 129👍, 1💬
Option '-d' - Specifying Output Directory
This chapter describes the Java compilation tool 'javac'. Topics include listing of 'javac' options, specifying class path with '-classpath', specifying source path with '-sourcpath', processing 'import' statements, generating debugging information with '-g'. 2016-09-18, 150👍, 1💬
java.time.Instant - Get(INSTANT_SECONDS) Error
This section provides a tutorial example showing an unexpected error, Invalid value for InstantSeconds, when trying to call the get(ChronoField.INSTANT_SECOND S)method. 2016-08-03, 1065👍, 2💬
javax.swing.event.MenuListener - Menu Listener Interface
This section provides a tutorial example on how to use javax.swing.event.MenuListener ,menu listener interface, to catch events fired by JMenu objects. 2016-08-02, 4348👍, 3💬
showInternal*Dialog() - Displaying Internal Dialog Boxes
This section provides a tutorial example on how to use the static methods, showInternal*Dialog(), to create and display internal dialog boxes inside an parent container. 2016-07-19, 4173👍, 3💬
SslSocketClient.java - SSL Client Socket Example
This section provides a tutorial example on how to write a sample program to create a SSL client socket to connect to a SSL server socket. The connection will fail if the server's certificate is self-signed. 2016-06-10, 13759👍, 3💬
This section provides a tutorial example on how to a simple Java Swing program. SwingHello.java is m...
This section provides a tutorial example on how to use the getSelection() method to know which butto...
全世界有哪些新冠疫苗？ 到2021年1月为止，全世界有5款新冠疫苗获得不 同国家批准上市。下面是全世界新冠疫苗一览表： 代号 种类 ...
Want to know when is the 2016 Chinese New Year day? Look for free Chinese calendars for 2016? Chines...
This section provides a tutorial example on how to install the 'make' utility on Windows, NMake 1.5,...