This week's book giveaway is in the Java in General forum.
We're giving away four copies of Helidon Revealed: A Practical Guide to Oracle’s Microservices Framework and have Michael Redlich on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

DTOs TOs in Sequence diagram

 
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi, i know this is an old discusion here. but it is necesary to show the DTOs and TOs in the sequence diagramas
For example:
1. A client call a session facade asking for a list of something (for example flights) and
2. this sessionfacae call an applicacion service (another SLSB) and then
3. applicacion service call a FastLaneReader object,
4. FLR call a DAO
5. a DAO execute all the needed SQL sentences to retrive all flights asked before.

And the question heres is,
1) Where i create de DTOs, (inside DAOS or inside application service), off course one of this objects call a DaoFactory to create them from the domains models (perhaps entitys EJB)
2) should i show in the sequence diagrams all the steps needed to create this DTOS, or could i show in a separarte sequence diagram.
3) this DTOS and DTOSs Factorys are included in the class diagrams ? ( i read this before) but i thinks is a better aproach to put it in a separare class or componen diagram, or as the detail of a DTO componentes (whith al classes and Factorys)

Please Help
Thanks a lot
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic