devxlogo

January 19, 2005

Monitor a Java Application in 1.5 JVM

Simply start your application with: -Dcom.sun.management.jmxremote This allows you to monitor the GC, thread, and memory status of the application throughout: [jdk_home]/bin/jconsole

Accessing Individual Bits of a Value

Ever needed to access individual bits of a value? It can be done with bitshifting and a sequence of logical &s quickly and easily. When finished, you will have a

OOP Is Much Better in Theory Than in Practice

ike many ideas that sound good in theory but are clumsy in practice, object-oriented programming (OOP) offers benefits only in a specialized context—namely, group programming. And even in that circumstance