In the QuickStart Guide it shows that j2ee.jar is needed in the classpath. Is this necessary if you're generating ActionForms from POJOs?

Thanks,

Matt

On Oct 4, 2005, at 6:38 PM, 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
bschneider at vecna.com
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
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user


















-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to