• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

sequence diagram question

 
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

Is it acceptable to specify inserting a record into the database by adding only a note in the sequence diagram; for example:

Insert the payment record.

or

Update the inventory.

Thanks in advance.

-Saha
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In my view Sequence diagram not showing any layer in between will create confusion. It will not be clear that the record is created by Entity Bean or normal JDBC call.

Regards
 
Saha Kumar
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello John,
I put the note within a DAO which is in an Entity bean.

-Saha
 
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Saha,

Originally posted by Saha Kumar:
... a DAO which is in an Entity bean.


What is that? A DAO does not use the EJB container services, the Entity bean does. So is what you wrote not contradictional?

Thomas
 
Saha Kumar
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thomas and others,

I am sorry for the question. I can solve it. I have the DAO used by an entity bean. There was no real question here. Again, sorry.

-Saha
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is it a essential to show lifeline in all sequence diagrams?

What levels of details shall be put in sequence diagram?

Parag
 
This tiny ad is guaranteed to be gluten free.
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic