Skip to the content

Kamran Zafar

Welcome to my blog
  • Home
  • Projects
    • Open source
    • Android Apps
  • Music
  • About
  • Contact
Search
Menu
Close search
Close
  • Home
  • Projects
    Show sub menu
    • Open source
    • Android Apps
  • Music
  • About
  • Contact

© 2025 Kamran Zafar

Open Source “Duke Nukem Forever”

One of my favorite games of all time, Duke Nukem 3D had me waiting “forever”, for DNF (Duke Nukem Forever). Then in May 2009 the wait finally ended,…

  • Post date March 29, 2010

Cyber Sanctions: “Freedom” the American way

US government has recently asked Sourceforge to deny content to certain countries, including Cuba, Iran, North Korea, Syria and Sudan. This means that users in these countries trying to…

  • Post date February 23, 2010

Log4J: Emailing specific errors only

Log4J’s SMTPAppender provides enough basic functionality to send out error messages as emails. Although emailing error messages is not always a good idea, unless something really goes wrong…

  • Post date October 14, 2009

Merging arrays in Java

I was playing around with java arrays and ran into a problem where I wanted to merge smaller arrays into a single big array. So the first thing…

  • Post date August 19, 2009

Resolving log4j.dtd error on JBoss

I recently faced an issue where the application was not able to find the log4j.dtd, when deployed on jboss. We were using our own repository selector for logging…

  • Post date May 8, 2009

Guice and JMX on JBoss

It is very easy to use Guice’s runtime injector bindings to register MBeans on any instance of mbean server. Lets look at a simple example of a HelloMBean.…

  • Post date April 24, 2009

RegEx based Spring AOP auto-proxy creator

When using Spring AOP in a medium-large application to add behavior to objects using crosscutting, it is desirable to have auto-proxy creators rather then creating a proxy for…

  • Post date April 3, 2009

Handling DWR Session timeouts

I recently had an issue in an application using Acegi and DWR, where even after the session invalidation the DWR calls could still be made. It seemed DWR…

  • Post date March 27, 2009

XML Serialization of Java Objects

Sometimes it is necessary to stream objects in a standard way like XML or JSON. There are different ways of doing so. Below I will take an example…

  • Post date April 1, 2008

Deep cloning of Serializable objects

The following code snippet shows how to use Object I/O streams to deep clone Serializable objects. The object bytes once written on an ObjectOutputStream can be read back…

  • Post date March 28, 2008

Nothing left to load.

← Previous page Next page →

© 2025 Kamran Zafar

Theme by Anders Norén