about mapping to service methods directly, this is not possible (as Guillaume already indicated)
there are good reasons of course: 1. in UML you can only assign one class to an activity graph, so your activity would be able to only call operation on a single service, that's hardly a realistic scenario 2. it's a better practice to have a layer of presentation logic in between the Struts actions and the services, for example, suppose you have fetched data from a service, but need to sort it in a specific way, sometimes this sorting is UI specific so you don't want to have this in the back-end (of course sometimes you do) 3. by using a controller layer you decouple presentation from application, which makes your application easier to understand and maintain in order to easily have access from a controller to a service you would just need to draw a dependency from the controller class to the service class(es), that way you will be able to do getMyService() in your code. -- Wouter Zoons - [EMAIL PROTECTED] http://www.andromda.org/ _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1797#1797 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