File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

client view in sequence diagram

 
Saha Kumar
Ranch Hand
Posts: 218
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

Is it acceptable to label the client views in the sequence diagram as:

prepItineraryView -> prepItineraryController

payItineraryView -> payItineraryController

Even though the prepItineraryView may represent a few jsps and a few Swing classes, would the above be acceptable?

Thanks in advance,

Saha
 
Ricardo Ferreira
Ranch Hand
Posts: 156
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Saha Kumar:
Hello All,

Is it acceptable to label the client views in the sequence diagram as:

prepItineraryView -> prepItineraryController

payItineraryView -> payItineraryController

Even though the prepItineraryView may represent a few jsps and a few Swing classes, would the above be acceptable?

Thanks in advance,

Saha


Hi Saha,

Yes, you are able to use this kind of labeling in you assignment. But try to use stereotypes too, in the instances of the sequence diagrams, such as <<JSP>>, <<SLSB>>, <<Etc>>

Good Luck!
 
Saha Kumar
Ranch Hand
Posts: 218
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ricardo,

The reason to use the labeling is to combine clients (i.e. swing and web). So in this case, would the stereotype be: jsp, java class ?

Thanks in advance.

-Saha
 
Saha Kumar
Ranch Hand
Posts: 218
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I have read in another thread the following:

"...you can have a common object like 'view', and then list all the different views in a comment or a description."

client independent sequence

Also, here is a list of J2EE stereotypes:

UML stereotypes

-Saha
 
Venkat Kiran
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Saha,

Sorry i have been asking this question from quite some time, can we put all ejb's jsp's vo's and dao's in class diagram or do we need to represent in component diagram. If we represent them in component diagram then class diagram is just an extension BDOM. Is my assumption correct.Can you throw some light on this.

Many Thanks
Venkat
 
Saha Kumar
Ranch Hand
Posts: 218
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Venkat,

In my class diagram, I'm only putting BDOM (and extension) with a few other classes (not including any DAOs, jsps, etc.).

-Saha
 
Saha Kumar
Ranch Hand
Posts: 218
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Venkat,

The other classes I was talking about are like in Cade's Sun Certified Enterprise Architect for J2EE Technology Study Guide. For example: SearchProcessor, OrderProcessor, etc.

-Saha
 
Venkat Kiran
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Saha,

Thanks a lot for your help.

Cheers
Venkat
 
Saha Kumar
Ranch Hand
Posts: 218
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Venkat,

Glad to help.

-Saha
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic