EC Cryptography Tutorials - Herong's Tutorial Examples
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 and multiplicative notations; ... 2019-07-06, 767👍, 3💬
System.setProperty() - Setting Your Own Properties
This section provides a tutorial example on how to modify system properties provided by the JVM, and set your own properties into the system property map. 2018-05-15, 206👍, 2💬
Using WSDL2Java to Generate Web Service Stub Classes
This chapter provides tutorial notes and example codes on WSDL2Java. Topics include using the WSDL2Java tool included in Axis2 1.4.1; generating client side stub classes; using stub and data type classes; testing stub classes with XML document and RPC method based Web services. 2018-04-22, 12668👍, 9💬
java.time.Duration - Time Durations
This section describes the java.time.Duration class that represents a duration of time measured in seconds with fractions in nanosecond resolution. 2018-01-03, 465👍, 1💬
SslReverseEchoer.java - SSL Server Socket Example
This section provides a tutorial example on how to write a sample program to create a SSL server socket to listen for incoming SSL socket connection requests from client machines. 2017-11-27, 1295👍, 1💬
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. 2017-09-20, 11046👍, 23💬
SwingHello.java - My First Swing Program
This section provides a tutorial example on how to a simple Java Swing program. SwingHello.java is my first Swing program that displays a blank window with 'Hello world!' in the window title bar. 2017-09-05, 12274👍, 4💬
main() Method - Java Execution Entry Point
This section describes the Java program entry point, the main() method of the starting class. Command line arguments are passed as an string array parameter to the main() method. 2017-09-04, 117👍, 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, 946👍, 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, 478👍, 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, 1131👍, 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, 4137👍, 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, 587👍, 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, 2012👍, 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, 726👍, 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, 2433👍, 2💬
This section provides a tutorial example on how to export certificates in DER and PEM format using t...
This chapter provides tutorial notes on using the JDBC-ODBC Bridge driver with MS Access database. T...
This section describes how to create a Chinese HTML document in UTF-8 encoding and publish it on the...
This free book is an excellent tutorial book for beginners. It is a collection of notes and sample c...
This section provides a tutorial example on how to download and install Apache Tomcat 7 on a Windows...