Quote:
1) I assume I need to model something like an OrderService with <<Service>> and 
<<WebService>> stereotypes. Is this correct? 
(end of quote)




Correct




Quote:
2) I assume that I implement the methods of this Web Service manually. In this 
implementation do I use OrderManageableService or OrderManageableDao - what is 
the best practice in this layered architecture? 
(end of quote)




You would use your "OrderServiceImpl" (that will be generated for the 
"OrderService" you model for your webservice) to implement this logic (or 
delegate to one or more DAOs, etc)






Quote:
3) In my method parameters and return types, can I use the entities themselve 
or do I have to use value objects? 
(end of quote)




You'll need value objects for passing complex objects from the webservice 
(entities are not supported currently).  These will need to be explicitly 
modeled.  If you open up the animal quiz model you can see the service modeled 
within there is a webservice.




Quote:
4) Can I use the value objects that are autogenerated as described above 
(OrderValueObject and OrderItemValueObject)? But if I have to use them in the 
model, then I will have to first create them in the model. Is this the correct 
approach? 
(end of quote)




No...those are just for the CRUD support, you'll need to explicitly model any 
VOs you want returned or used within the service.




Quote:
5) Why does the autogenerated OrderValueObject not have an array of OrderItems? 
(end of quote)




Not sure what you're asking here.
--
Chad Brandon - [EMAIL PROTECTED]

http://www.andromda.org
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2913#2913
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

Reply via email to