From: Bill Schneider <bschneider@ve...> - 2005-10-05 12:47:44
Apologies for the cross-post -- thought this would be appropriate in the
On Tue, 2005-10-04 at 23:38, Bill Schneider wrote:
> XSnapshot is a module for XDoclet similar to the @ejb.value-object tags
> but much more flexible. It creates DTOs from "snapshots" of a POJO
> domain model, so it works with Hibernate and is not coupled to EJB.
> The original purpose of XSnapshot is to make it easier to pass
> Hibernate-persisted POJOs around with a remoting framework like Hessian,
> AJAX/DWR or Axis. But it's also extremely useful for generating
> POJO-bound Struts ActionForms as well. The value over the current
> @struts.form tag is its ability to handle relationship-to-ID conversion
> and vice versa. If you want to add a new many-to-one relationship to a
> POJO data class, and a corresponding <select> widget in a JSP, you only
> have to touch those two files. You don't have to add a special case for
> "Bar b = BarManager.getBar(form.getBarId()); foo.setBar(b)" to your
> XSnapshot is available at xsnapshot.sf.net. The example application
> shows how to use XSnapshot with Hibernate and Struts. Documentation is
> very thin now but more should be coming soon. I hope you will find it
Vecna Technologies, Inc.
5004 Lehigh Road, Suite B
College Park, MD 20740
Get latest updates about Open Source Projects, Conferences and News.