[Fwd: Re: [Xdoclet-user] announcement: XSnapshot (XDoclet module) 1.1 beta released]
Bill Schneider <[email protected]> Wed, 05 Oct 2005 08:48:05 -0400
| Newsgroups | gmane.comp.java.xdoclet.announce |
|---|---|
| Message-ID | <[email protected]> |
Apologies for the cross-post -- thought this would be appropriate in the XDoclet-announce list. 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 > Action. > > 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 > useful! > > Cheers, > Bill -- Bill Schneider Chief Architect Vecna Technologies, Inc. 5004 Lehigh Road, Suite B College Park, MD 20740 [email protected] t: 301-864-7594 f: 301-699-3180 ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl