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... 2023-03-09, 11946🔥, 3💬
Using java.net.HttpURLConnection to Send SOAP Messages
This section describes steps to follow if you want to use the java.net.HttpURLConnection class to send out a SOAP XML message. 2021-10-12, 49390🔥, 24💬
"keytool -export/import" - Exporting and Importing Certificates
This section provides a tutorial example on how to use the 'keytool -export' command to export certificates out of a 'keystore' file. The 'keytool -import' command can be used to import certificates into a 'keystore' file. 2022-07-08, 34740🔥, 2💬
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, 14631🔥, 3💬
HttpsHello.java - HTTPS Server Test Program
This section provides a tutorial example on how to write a HTTPS server test program, HttpsHello.java. It writes back a simple Web page using the HTTPS protocol. 2020-01-28, 14157🔥, 25💬
Archived: Downloading/Installing JDK 1.6.2 on Windows
This section provides a tutorial example on how to download and install JDK 1.6.2 (Java SE 1.6 Update 2) on a Windows XP system. A simple Java program was entered, compiled, and executed with the new JDK installation. 2018-08-11, 10547🔥, 15💬
Java Tools Tutorials - Herong's Tutorial Examples
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' Debugg... 2021-07-12, 9409🔥, 2💬
Java Tutorials - Herong's Tutorial Examples
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... 2022-07-22, 9222🔥, 9💬
java.util.Locale - Localization and Internationalization
This section provides a tutorial example on how to use java.util.Locale class to verify the default locale and list all supported locales. A locale is an identification of a combination of human language and country. 2018-08-01, 9061🔥, 4💬
"keytool" Commands and "keystore" Files
This chapter provides tutorial notes and example codes on the 'keytool' command. Topics include introduction of public key certificates, 'keystore' file, 'keytool' command; generating new keys and self-signed certificates; exporting and importing certificates; cloning certificates to share keys. 2015-11-23, 8971🔥, 3💬
"java --list-modules" - Listing Modules in JDK
This section provides a tutorial example on how to use 'java --list-modules' command to list all modules included in the JDK installation. 2019-06-01, 8501🔥, 4💬
HttpsClient.java - HTTPS Client Test Program
This section provides a tutorial example on how to write a HTTPS client test program, HttpsClient.java. It sends a simple HTTP request page using the HTTPS protocol. 2015-11-20, 7923🔥, 6💬
"javac -d" - Specifying Output Directory
This section provides a tutorial example on how to use the 'javac -d' option to specify the output directory for the 'javac' tool to store class files generated by the 'javac' compiler. 2022-11-26, 7513🔥, 4💬
Generating Client Side Stub Java Code
This section provides a tutorial example on how to run WSDL2Java to generate client side stub Java code from an existing WSDL document. The generated stub class will have a package name borrowed from the target namespace of the Web service. 2015-11-25, 6894🔥, 1💬
native2ascii - Native-to-ASCII Encoding Converter
This chapter provides tutorial notes on the native-to-ASCII encoding converter 'native2ascii'. Topics include 'native2ascii' command options, default encoding CP1252 used by 'javac', converting UTF-8 characters into \uXXXX Unicode code sequences, converting \uXXXX sequences back to native encodings. 2022-10-03, 6076🔥, 65💬
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, 5944🔥, 2💬
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, 5885🔥, 2💬
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, 5753🔥, 2💬
When is the Chinese Lantern Festival? How is it celebrated? What are the traditions? The 15th day of...
This section introduces the reciprocity of time dilation. Elapsed time of a moving clock is slower w...
This section provides a tutorial example on how to use OpenSSL to generate a RSA private key of 2048...
This section describes how numeric character references can be used in HTML documents. Numeric chara...
This section describes a tutorial on how to get summary information of a CD-ROM with 'isoinfo' tool.