JDBC Tutorials - Herong's Tutorial Examples
This JDBC tutorial book is a collection of notes and sample codes written by the author while he was learning JDBC technology himself. It can be used as a tutorial guide for beginners. Topics include Java, Database, JDBC, Driver, ODBC, Connection, DataSource, SQL, ResultSet, Metadata, Derby, MySQL, ... 2020-03-07, 6797👍, 10💬
setAccelerator() - Setting Keyboard Accelerators on Menu Items
This section provides a tutorial example on how to use setAccelerator() method to associate accelerators to menu items. Accelerators allows user to interact with menu items using keys on keyboard. 2020-02-25, 124👍, 1💬
"regedit.exe" - Changing Registry Values
This section provides a tutorial example on how to change registry values for the FreeCell game program, like increase the total number of games won. 2020-02-25, 984👍, 4💬
List of Supported Character Encodings in Java
This section provides a list of supported character encodings supported in Java. The list is generated using the availableCharsets() static method in the java.nio.charset.Charset class. 2020-02-25, 15576👍, 3💬
Illustration of DSA Algorithm: p,q=23,11
This section provides a tutorial example to illustrate how DSA digital signature algorithm works with small prime modulus p=23 and prime divisor q=11. 2020-02-24, 247👍, 3💬
'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. 2020-02-24, 2265👍, 20💬
Examples of CP1252 and ISO-8859-1 Encodings
This section provides examples of encoded byte sequences of the JVM default encoding, CP1252 encoding, on a Windows system. The ISO-8859-1 encoding is slightly different that the CP1252 encoding. 2020-02-24, 221👍, 2💬
Certificate in PEM Format
This section describes what is certificate PEM (Privacy Enhanced Mail) format - A format uses PEM idea to convert a certificate in DER format to a message of printable characters. The conversion uses the Base64 encoding. 2020-02-23, 4949👍, 4💬
Using HttpURLConnection to Call GetSpeech SOAP 1.1
This section provides a tutorial example on how to use the java.net.HttpURLConnection class to call the GetSpeech SOAP 1.1 Web service provided by xmlme.com. 2020-02-23, 314👍, 2💬
GB18030 Character Set and Encoding
This chapter provides notes and tutorial examples on GB18030 character set and encoding. Topics including history of GB character sets: GB2312, GB1300.1 (GBK) and GB18030; GB18030 encoding schema. 2020-02-20, 1010👍, 2💬
Decrypting Encrypted SOAP Message
This section describes how the message receiver should decrypt an encrypted SOAP message in 2 steps: decrypt the encrypted secret key with receiver's private key and decrypt the encrypted message with the secret key. 2020-02-19, 237👍, 1💬
Using "adb logcat" Command for Debugging
This chapter provides tutorial notes on the 'adb logcat' command. Topics include using 'adb logcat' command options and arguments; viewing log buffers: main, events, and radio; creating rotated log files; control log format as 'brief' or 'long'; filtering out log entries by priority and process tag;... 2020-02-14, 4375👍, 2💬
DESSubkeysTest.java - DES Key Schedule Algorithm Illustration
This section provides a tutorial Java program, DESSubkeysTest.java, to illustrate how DES key schedule algorithm works. 2020-02-10, 873👍, 3💬
Two Types of "import" Statements
This section describes two types of 'import' statements: Single Type Import and On-Demand Type Import. 4 sample Java source files are provided to test 'import' statements. 2020-02-06, 272👍, 2💬
XMLPad Crash When Validating Non-Conforming XML Documents
This section describes a failed test of validating a non-conforming XML document with the assigned XML Schema file (XSD), XMLPad Crashed. 2020-01-28, 139👍, 2💬
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, 11523👍, 25💬
This section describes DES (Data Encryption Standard) algorithm - A 16-round Feistel cipher with blo...
Information on how to obtain the PDF version of this book for printing.
This section describes the SHA1 algorithm - a 6-step process of padding of '1000...', appending mess...
This PKI (Public Key Infrastructure) tutorial book is a collection of notes and sample codes written...
This section describes how to download and install Java DB (Derby database server) 10.11 - free for ...