1.
Don't Use System.out.println!
Describes usage of Apache Jakarta Log4j software to log messages from Java code in a file or console.
2.
Caching Java Objects
An implementation of a generic, expiring, in-memory cache for Java objects. Cache is purged if maximum number of objects or time-to-live or maximum idle ...
3.
XML and XPATH Usage
Now, you have apache's XML parser in xerces.jar, XPath API in xalan.jar, your Java program in XPathDemo.class and a sample XML file example.xml. ...
4.
Implementing equals() and hashCode()
All Java classes are subclasses of one class, called java.lang.Object . This class has default implementation of equals() and hashCode() methods which all ...
5.
Implementing equals() and hashCode()
This class has default implementation of equals() and hashCode() methods which all Java classes inherit. Sometimes in your class, you need to override the ...
6.
Caching Java Objects
An implementation of a generic, expiring, in-memory cache for Java objects. Cache is purged if maximum number of objects or time-to-live or maximum idle ...
7.
E-Mailing Through Java
Condenses the JavaMail Specification and API to explain how to send and receive mail from within Java code.
8.
Bitwise AND, OR, XOR and NOT Operators and Bit Masks
Bit flags and bit masks use bitwise operators. A Java integer has 32 bits out of which 31 bits can be turned off or on to act as flag bits. ...
9.
Caching Java Objects
An implementation of a generic, expiring, in-memory cache for Java objects. Cache is purged if maximum number of objects or time-to-live or maximum idle ...
10.
Caching Java Objects
Sometimes, you feel the need to cache some Java objects, mainly data which takes too long to recreate when it doesn't even change that often. ...