> I am using Struts with Hibernate, and I was asked to reuse the Hibernate > pojo as forms for my actions. > Is it possible ?
Possible, but not advisable... at some point you will need to have something different in the form than in the POJO. Forms are generally all String properties, POJO's should have types that make sense for the type of data stored in them. Since you can generate the code for the Form (xdoclet?) or use Dynamic forms, the amount of effort you save by trying to reuse the Value Object (your POJO) is IMO not worth the problems it's likely to cause. -- Wendy Smoak --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]