November 19, 1998

Reflecting on a Classy String

Java’s reflection API allows the instantiation of an object using only its String description. A Java application can determine the class of an object from the associated string and then

Putting out the Trash Using the gc() Call

The gc() call on the Java Virtual Machine’s garbage collector is often misunderstood. One of the reasons Java is such an easy language to program in is that it takes

Efficient Use of the Vector Class

The Vector class in java.util is one of the most frequently used classes in Java development. It almost makes the problem of memory management non-existent, unlike a fixed-size array. However,

Add a MIME Type to IIS 4

When you want to serve up a new type of file that Microsoft’s Internet Information Server (IIS) does not recognize, you need to add a MIME type. With older versions

Make Your Cookies Live Longer

When using ASP to create browser cookies, by default the cookie is alive only as long as the browser is running. You can make cookies last longer by defining an