I'm an Agile and Lean Strategist specialised in coaching and managing the transformation of IT departments, from startups to enterprise-scale organisations, to highly efficient, productive and energised environments. I also have experience as senior development manager and architecture governance in large enterprises, especially in the finance sector. Marco is a DZone MVB and is not an employee of DZone and has posted 26 posts at DZone. You can read more from them at their website. View Full User Profile

PODAM Draft release is available now

  • submit to reddit

The first draft of PODAM is ready. Currently the framework sets the initial state of a POJO with random values. The supported types are:

  • Primitive types
  • Wrapper classes
  • String
  • arrays of objects
  • arrays of primitives
  • Any other object which either has a no-arg constructor or a static factory which takes no arguments

Known limitations:

  • PODAM does not set the state of complex object graphs (In roadmap)
  • Custom annotations as defined in my previous article are yet not supported (in roadmap)
  • If a class does not expose a public, no-arg constructor, and it does not expose a public static factory which takes no arguments the attribute value is not set

You can download PODAM code from Jemos Repository

Search for PODAM and download either the sources JAR or the jar directly. 

PODAM runs under the MIT license.

Currently PODAM can fill the full state of the attached POJO (OneDimensionalTestPojo). Download OneDimensionalTestPojo

It would be nice to hear from you of any critics, suggestions, comments, issues.

From http://tedone.typepad.com/blog/2011/04/podam-journal-first-draft-implementation-is-ready.html


Published at DZone with permission of Marco Tedone, author and DZone MVB.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)