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, 5422👍, 1💬
"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, 2854👍, 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, 4308👍, 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, 217👍, 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, 379👍, 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, 252👍, 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, 2099👍, 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, 21183👍, 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, 1635👍, 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, 707👍, 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, 218👍, 0💬
This free book contains Herong's notes and tutorial examples on Chinese GB2312 character set. It pro...
This section provides a tutorial example on how to run Perl scripts on Linux systems. To make a Perl...
This chapter provides tutorial notes on sqljdbc42.jar, JDBC Driver 4.2 produced by Microsoft for SQL...
This section describes how to download and install Microsoft JDBC Driver 4.2 for SQL Server 2014.
This section provides a quick introduction of Web server log files with examples of IIS and Apache s...