• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

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
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic