"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, 2753👍, 3💬
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, 4204👍, 6💬
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💬
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, 377👍, 1💬
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, 249👍, 1💬
Cipher - Secret Key Encryption and Decryption
This chapter provides tutorial notes and example codes on the cipher process. Topics include the cipher process - data encryption and decryption; the cipher class, javax.crypto.Cipher; the cipher sample program and test results with Blowfish and DES encryption algorithms. 2015-10-13, 176👍, 1💬
"Unexpected subelement ..." Error from the Stub Class
This section provides a tutorial example on how to troubleshoot and resolve the 'Unexpected subelement ...' error occurred in the stub class. The root cause of the error is the namespace on sub elements of the response SOAP Body does not match what defined in the WSDL document. 2015-10-10, 2031👍, 5💬
Message Digest Algorithm Implementations in JDK
This chapter provides tutorial notes and example codes on message digest algorithm implementation. Topics include JCA (Java Cryptography Architecture) package; java.security.MessageDigest class; MD5 and SHA message digest program; message digest output comparison. 2015-10-06, 155👍, 2💬
"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. 2015-08-15, 20563👍, 1💬
SocketRequestResponse.java - Socket Client Testing Program
This section provides a tutorial example on how to write a Java program using socket interface to send a request and receive a response in binary mode. 2015-08-01, 1592👍, 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, 689👍, 2💬
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💬
This chapter provides tutorial examples and notes about DES algorithm implementation in Java languag...
This section provides a tutorial example on how to create a JAR file with the 'jar' command.
This chapter provides tutorial notes on using the JDBC-ODBC Bridge driver with MS Access database. T...
This section provides a tutorial example on how to turn on Windows Defender for real-time protection...
This chapter provides tutorial notes on the JDBC-ODBC Bridge driver produced by Sun and DataDirect. ...