XML Tutorials - Herong's Tutorial Examples
This free XML tutorial book is a collection of notes and sample codes written by the author while he was learning XML himself, an ideal tutorial guide for beginners. Topics include DOM, DTD, J2SDK, Java, SAX, Syntax, Templates, XML, XPath, XSD, XSL, XSLT, XSL-FO. 2017-08-05, 3683👍, 2💬
'jar' - The JAR File Tool
This chapter provides notes and tutorials on JAR file tool, 'jar'. Topics include Java Archive (JAR) file forma, 'jar' command options, creating JAR files, managing JAR files with WinZIP, using manifest file, creating executable JAR files. 2016-02-27, 769👍, 3💬
Managing Bit Strings in Byte Arrays
This chapter provides tutorial notes and tutorial examples on managing bit strings in byte arrays. Topics include setting a bit value into a byte array; getting a bit value back from a byte array; rotating all bits in a byte array. 2016-02-27, 756👍, 4💬
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, 709👍, 2💬
SocketRequestResponseServer.java - Socket Server Testing Program
This section provides a tutorial example on how to write a socket level server side testing program to receive and record request received from a client program. 2015-08-01, 674👍, 2💬
Bits, Bytes, Bitwise and Shift Operations
This chapter provides tutorial notes and tutorial examples on bits, bytes and bitwise operations. Topics include bits and bytes as storage units; 'byte' data type and (byte) casting; bitwise operations; shift operations. 2016-02-20, 631👍, 1💬
Digital Signature Algorithm and Sample Program
This chapter provides tutorial notes and example codes on digital signature. Topics include algorithm and steps of signing a document; algorithm and steps of verifying a signature; digital signature generation and verification sample programs; sample signatures of SHA1withRSA and SHA1withDSA algorit... 2017-07-17, 544👍, 2💬
'native2ascii' - Encoding Converter Command and Options
This section describes the native-to-ASCII encoding converter 'native2ascii' and its options. Non-ASCII characters in a Java source file must be converted into \udddd Unicode sequences before giving it to the Java compiler. 2017-03-21, 461👍, 2💬
SSL Client Authentication Test Result
This section provides the test result of running the SSL server program and the SSL client program. The result shows that the server and the client authenticated each other's identity correctly. 2016-05-11, 443👍, 2💬
setMnemonic() - Setting Keyboard Mnemonics on Menu Items
This section provides a tutorial example on how to use setMnemonic() method to associate mnemonics to menu items. Mnemonics allows user to interact with menu items using keys on keyboard. 2015-11-10, 375👍, 1💬
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, 347👍, 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, 315👍, 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, 264👍, 2💬
Option Dialog Boxes
This chapter provides tutorial notes and example codes on option dialog box. Topics include creating and displaying message, confirmation, input and option dialog boxes; receiving input values from option dialog boxes; creating and display internal dialog boxes; creating option dialog box directly. 2015-11-02, 245👍, 1💬
Literal Formats for Floating-Point
This section describes 2 literal formats for floating-point values: decimal and hex floating-point literals. The default floating-point literal data type is 'double'. 2016-02-19, 222👍, 1💬
'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, 221👍, 1💬
Table of Contents
This free book is a collection of tutorial notes and sample codes written by the author while he was learning JDK (Java Development Kit) himself. Topics include Blowfish, Calendar, certificate, character set, cipher, client authentication, collections, datagram, Date, decryption, DES, digital signat... 2015-07-18, 217👍, 0💬
Synchronization Technique and Synchronized Code Blocks
This chapter provides tutorial notes and tutorial examples on synchronization technique and synchronized code blocks. Topics include what is the synchronization technique; synchronized class methods, instance methods, statement blocks; synchronized banking application sample. 2015-11-13, 215👍, 1💬
This section provides a tutorial example on how to write a sample program to create a SSL client soc...
This section provides a tutorial example on how to run Perl scripts on Linux systems. To make a Perl...
Want to know when is the 2017 Chinese New Year day? Looking for Chinese calendars for 2017? Chinese ...
This section provides a tutorial example on how to use the getSelection() method to know which butto...
Want to know when is the 2016 Chinese New Year day? Looking for Chinese calendars for 2016? Chinese ...