Core Java Technology Section Index | Page 116
If a newer version of a serialized object has to be compatible with an older version, it is important that the newer version abides by the rules for compatible and incompatible changes. A compa...more
Because internationalization is too long to write all the time. There are 20 characters in internationalization. The number of characters between the first and last character is 18. So, if you wri...more
How do you create a Message Digest with the Java Security API? (Message Digest code example)
There are essentially four aspects of computer security: Aspect Generally achieved by Explanation Effect Confidentiality Encryption Protects message c...more
What is "private key"/"symmetric"/"secret key" cryptography?
What is "public key"/"asymmetric" cryptography?
Digital Signatures are used to ensure the identity of a sender. In conjunction with Message Digests, Digital Signatures prevents someone from altering a message and falsely claimin...more
A Message Digest is a digitally created hash (fingerprint) created from a plaintext block. All the information of the message is used to construct the Message Digest hash, but the ...more
Combination of public and private key cryptography, where the exchange of an encrypted session key is done using public key cryptography. The following encrypted session is then pursued with pri...more
The default ClassLoader is sun.misc.Launcher$AppClassLoader (which is fairly irrelevant in itself) which extends java.net.URLClassLoader. The reverse (superclasses below subclasses) inheritance ...more
The GZIPInputStream and GZIPOutputStream classes found in the java.util.zip package compress data with the GZIP file format, as defined by RFC 1952 (ftp://ftp.uu.net/graphics/png/documents/zlib/zd...more
How do I get the list of system properties that tell me things like which version of Java a user is running and their platform-specific line separator?
The System.getProperties() method will return the standard property set. However, in untrusted applets, you can only ask for specific properties, as in System.getProperty("java.version").more
The 1.1 java runtime command takes a -nojit option to disable the JIT compiler. The Java 2 platform java runtime command takes requires -Djava.compiler=NONE instead.more
Get the message content as a byte. If coming from a file, read bytes from FileInputStream into ByteArrayOutputStream. Other sources would use similar methods, but remember to not treat content ...more
Sun provides information on Java's Y2K readiness at http://www.sun.com/y2000/jumppage-temp/jdk.html. As long as you are using a compliant version, you are okay.more