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