Writing
Blog
Writing on cloud architecture, AI & data pipelines, distributed systems, security, and open source.
27 MARCH 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…
1 APRIL 2008
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…
28 MARCH 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…
14 SEPTEMBER 2007
Cas-Acegi-Spring integration on JBoss
CAS and Acegi are popular open source authentication and identity solutions available for enterprise java applications. CAS is a Centralized Authentication Server used for single sign-on and to…
25 DECEMBER 2006
Loading Classes directly from JAR files
Whenever a class is referenced in a java program it is loaded using JVM’s bootstrap class loader. This often becomes a problem when two different classes with same…