Monthly Archives: February 2012

I made a GPS Locator for Myself

Multiple Instances of the Same Embedded JPA Entity

EclipseLink JPA has this neat feature of @Embedded objects, which allow you to pull out attributes of an entity into another entity, and embed that second entity back into the first object. The result is a Java object that might look a little more logical, but doesn’t actually change the database structure since the embedded […]

Chained Struts Actions Accessible Only by Forward

So I just stumbled into doing this little trick. It may go against some pattern, or best practice, but I’m sure there’s a use for it somewhere. In Struts 1.3 (and probably any Struts 1.x), it is sometimes useful to have a request chain across multiple Action classes, maybe to break them up into more […]