SpringIDE

If you are developing with the Spring Framework and you use the Eclipse IDE, then you should definitely check out the SpringIDE Eclipse plug-in. This plug-in is a Spring Framework subproject that aims to assist developers with the development of Spring applications. The main features of SpringIDE are: Spring bean definition editor (with auto-complete support) […]

continue reading SpringIDE

Young vs Old Generation GC

Dr. Heinz M. Kabutz has written a very good article, in his “The Java Specialists” newsletter, about garbage collection. The article discuses the generational garbage collection in the Hotspot JVM and compares the speed of garbage collection in young and old objects. Garbage collection in young objects is very fast in modern JVMs. I believe […]

continue reading Young vs Old Generation GC

Dynamic Delegate

Dynamic Delegate is my new pet project. Dynamic Delegate is a small library that allows you to create objects that implement the Business Delegate design pattern on the fly. You don’t have to code a Business Delegate. All you need to do, is make your EJBs implement the Business Interface design pattern and use DynamicDelegateFactory […]

continue reading Dynamic Delegate

Serialize an object to a String

In Core J2EE Design Patterns 2nd edition, I saw a small hack that I wasn’t aware of. You can serialize/deserialize any Serializable object to/from a String. I saw this in the Service Locator design pattern where it is used to serialize/deserialize javax.ejb.Handle objects (pages 332-333). The above serialization is very easy to implement. All you […]

continue reading Serialize an object to a String