Yes, it sounds like a very good programming practice.
Quote: this is a good practice because: 1. you model MyEntity 2. the interface is called MyEntity 3. only the factory 'knows' the implementation for MyEntity 4. you will never need to worry about the implementation of MyEntity when using it (end of quote) When I look at what is genrated I only find MyEntity as a class but I do not have an equivalent interface also called Myentity. I have two method in MyEntity but androMDA does not generate an interface for it. The only interface I have is MyEntitiyDao. Is there a specifc way to tell androMDA to generate it? [EMAIL PROTECTED] wrote: --> you use what you have modeled, not what has been generated 'extra' (end of quote) I guess that is why MyEntityImpl is generated into target. But what if I want to add code to it? I have to tell androMDA to genreate it outside of target. How do I tell androMDA that I want this? I read the book on Spring from Manning and in their examples they set the dao's to the corresponding MyEntityImpl. So I was wondering why are the dao's for entities assigned to service classes? I was expecting it to be set into the entity abstract class with androMDA. I thought every dao should be set to its corresponding entity class. Is it a way of hiding a little more implementation details? I have to thanks you guys again for the great support you are giving us. We always get quick and clear answers to our questions. _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3745#3745 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user