Hello! I've just started our migration from home-grown persistence to JBoss CMP, and I've decided to use XDoclet. I'm very impressed and happy, and would like to congratulate everyone on a very nice piece of work!
I have a question (or three) about data-objects that I hope someone can assist me with: I am using Data Transfer Objects (DTOs) (from "Marinescu, EJB Design Patterns"). They are a data-bundle, extending java.lang.Object (usually), and completely stand-alone. Is this the same as a Value Object on this list, or is that another type of entity in XDoclet? When my DTOs are created, any Container Managed Relationships (CMRs) added to the class use the EJB Local interface in the getter/setters. Doesn't this add an EJB dependency on the DTO objects I would rather not have? Shouldn't the DTO objects be self-standing generic objects? If so, how do I convert the Local interface references to the corresponding DTO reference? [As an aside, I currently have an Ant <replace> task replace all "Local" strings with "DTO" (the suffix I chose for my data-objects) in the generated data-object directory. Seems to work fine!] Also, I would like to have a Factory class that takes a DTO object and converts it to a Local object, and vice versa, and contains methods for all DTOs in my system. Is there now a way to have this static final Factory class generated by XDoclet? Would this be a good thing? 10Q! Bill ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
