All topics

Java

57 articles tagged Java.

Generating Thread Dumps from a Sun or IBM JVM Running As A Windows Service

  • Debugging
  • JVM Internals
  • Linux

I was recently asked if there was a way to generate a Thread Dump from a JVM running as a Windows Service. It occured to me that I had a similar issue during my Masters Project when I was trying to generate a thread dump from a Cygwin xterm; Googling at the time turned up no good way of accomplishing the task. But, I knew that you could use the Java Debugger that ships with the Sun JDK, jdb, to generate a thread dump of all non-System Threads in a JVM. I posed this as a solution to generating Thread Dumps from a JVM running as a Windows Service.

Read article: Generating Thread Dumps from a Sun or IBM JVM Running As A Windows Service

Performance Tuning In Industry

  • J2EE / Jakarta EE
  • Performance Tuning
  • Operating Systems

IT Professionals face an up hill battle in the realm of performance tuning. First, management must be convinced that time needs to be set aside for it. Next, the skill sets to successfully move through the performance tuning life cycle must be present. Then, the tools to effectively identify issues…

Read article: Performance Tuning In Industry

Part 1: Creating your own SSL certificates for a custom Java client-server application

  • Key Management
  • PKI
  • TLS / SSL

If you replace the steps for creating your own CA private key & certificate and signing your own certificate (with the CA) with having certificates signed by a legitimate Certificate Authority, you've got the basic idea behind creating/ordering certs for most situations.

Read article: Part 1: Creating your own SSL certificates for a custom Java client-server application

Masters Project Defense

  • J2EE / Jakarta EE
  • JBoss
  • Performance Tuning

On November 29, 2007, I gave my Masters Project Defense before Dr. Chris Gill, Dr. Cindy Grimm, and Dr. Roger Chamberlain. This is the presentation. I’m posting it here because it involved analyzing low-level details of a Sun JVM running JBoss 3.x.

Read article: Masters Project Defense

The First 1500 Hamming Numbers

  • JVM Internals
  • Mathematics
  • Memory Management

I haven’t had a chance to post anything here since the beginning of last semester. I’m in a class at the moment where all of the programming assignments involves annoying little math algorithms. The most recent required us to generate the first N hamming numbers using an efficient algorithm that…

Read article: The First 1500 Hamming Numbers