Archive for the 'Java' Category

TestNG Thread Control: Join the Discussion on Google Groups

There is an interesting discussion happening on the TestNG-Users group about thread control in TestNG . The author of TestNG asks us all:

I’d like to take this opportunity to see what kinds of improvements people would like to see in the thread support. In particular, have you ever needed to limit [...]

Java JVM, PermGen and String.intern(): More tips about dealing with those pesky OutOfMemory errors.

I got pingback from haakon on a great post entitled Java Permgen space, String.intern, XML parsing. I always love a good debugging session story, when you throw in a memory leak that’s an instant Nerdgasm. This post covers String.intern() , a bit more about Classloaders, and leaves you with a great tools [...]

Is Mac OS is not Java-friendly?

Mac OS is not Java-friendly. It doesn’t support any wireless toolkits, so no Java ME development is possible, and the recent decision to drop the Cocoa bindings sends the clear message that Apple doesn’t care about Java. I want to work on a Java-friendly operating system. http://beust.com/weblog/archives/000411.html

I’m still reluctant to [...]

JetBrains IDEA Blog: Switching APIs with ease.

IntelliJ IDEA provides a tool that helps you with migrating packages and classes. In case of switching between API’s you will also need to make a couple of tricks such as creation of temporary files and some refactoring. Here is the step-by-step instruction: . . . http://blogs.jetbrains.com/idea/2006/08/switching-between-api/

This is a great tip for [...]

Java JVM GC, PermGen, and Memory Options

I’m still new to Java and so, I still am reading about the nitty-gritty, so when I ran into a situation with some code where we were running out of PermGen space I had to do some reading. In the JVM, PermGen holds the metadata about classes that have been loaded/created. This information [...]