XML Tutorials - Herong's Tutorial Examples
This XML tutorial book is a collection of notes and sample codes written by the author while he was learning XML himself. Topics include introduction to XML, DTD (Document Type Definition), XSD (XML Schema Definition), XPath (XML Path Language), XSL (Extensible Stylesheet Language), XSLT (XSL Transf... 2022-05-06, 10127👍, 3💬
SslSocketClient.java - SSL Client Socket Example
This section provides a tutorial example on how to write a sample program to create a SSL client socket to connect to a SSL server socket. The connection will fail if the server's certificate is self-signed. 2016-06-10, 13759👍, 3💬
"openssl pkcs8" Converting Keys to PKCS#8 Format
This section provides a tutorial example on how to convert a private key file from the traditional format into PKCS#8 format using the 'openssl pkcs8' command. Keys can still be encoded with DER or PEM with or without DES encryption in PKCS#8 format. 2022-03-08, 13510👍, 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, 13462👍, 25💬
"base64Binary" Datatype Values and Representations
This section describes the built-in primitive datatype, 'base64Binary' that represents binary data represented in Base64 encoding. Whitespaces are allowed and removed. 2017-11-08, 13354👍, 3💬
UTF-16, UTF-16BE and UTF-16LE Encodings
This chapter provides notes and tutorial examples on UTF-16, UTF-16BE and UTF-16LE encodings. Topics including encoding and decoding logics of UTF-16, UTF-16BE and UTF-16LE encodings; introduction of surrogate pairs; explanation of the use of BOM (Byte Order Mark). 2021-10-01, 12525👍, 8💬
-Xss JVM Option for Stack Size
This section describes the -Xss option to specify JVM stack size. Changing stack size can help to estimate frame size. The frame size is 32 bytes for a simple method call. 2019-08-24, 12430👍, 1💬
JDBC-ODBC Bridge Driver - MS Access
This chapter provides tutorial notes on using the JDBC-ODBC Bridge driver with MS Access database. Topics include creating MS Access database file; creating DSN for MS Access database files; inserting rows to and retrieving rows from Access database. 2016-12-22, 11801👍, 11💬
MD5 Message Digest Algorithm Overview
This section describes the MD5 algorithm - a 5-step process of padding of '1000...', appending message length, dividing as 512-bit blocks, initializing 4 buffers, and 4-round of hashing each block. 2021-10-04, 11790👍, 7💬
SQL Server CLOB (Character Large Object) - TEXT
This chapter provides tutorial notes on CLOB (Character Large Object) data types, TEXT, with SQL Server JDBC Driver. Topics include creating tables to store CLOB values in SQL Server server; inserting CLOB values with direct SQL INSERT statements, or PreparedStatement with setString(), setCharacterS... 2016-04-07, 11717👍, 1💬
This section provides a quick description of how to save VBScript code into separate files and inclu...
This section describes the WSF (Windows Script File) XML format. Multiple script jobs with different...
This section provides a tutorial example on loading a WADL document for a REST Web service into Soap...
This section provides a tutorial example on how to set and send a cookie with the setcookie() functi...
This section describes what is SHA1 (Secure Hash Algorithm 1) - a message digest algorithm which tak...