Quote: Is it necessary to convert all entity objects to value objects? I would like the option of being able to expose an entity directly through a WebService, rather than via a ValueObject.
(end of quote) If you're going to be exposing your services as webservices, I would definitely stick to value objects, for a couple of reasons: 1) When you expose webservices, you should be fairly certain the APIs won't be changing constantly and if you're exposing your value objects and not entities you can always change your entities without breaking your clients. 2) Associations between value objects can be represented as arrays (you should always expose arrays in a webservice where you'd normally expose collections..for interoperability reasons). -- Chad Brandon - [EMAIL PROTECTED] http://www.andromda.org _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1467#1467 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user