Hey all, I'm trying to implement a DAO pattern in my enitities (first time) and I understand them, but what I'm not understanding is how to do them w/ XDoclet. I think basically I just need to create an interface for my DAO, and then the DAO implementation class. But I have no clue on how to use the few dao attribs I found in the docs. I did put the following in the top of my entity bean along w/ the proper build.xml <dataobject/> tag. But havn't noticed anything from it.
* @ejb.dao * class="com.blah.blah.DeviceDAO" * I especially got lost in how to define the body of my DAO methods when it hasn't been generated yet. If it's any help as to what I'm doing, almost exactly the following ... http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html Also, is the *Data.java file that xdoclet generates (I think because of the <dataobject/> tag and writes "Data object for ..." in the top of the file content ... does data object also mean "Transfer Object" in a DAO pattern sense? Same thing? Is that what got generated? Looks like it to me. Any help much appreciated. Will __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user