aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes boundary, control, entity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "boundary, control, entity" Watch "boundary, control, entity" New topic
Author

boundary, control, entity

H. Hafer
Ranch Hand

Joined: Aug 23, 2004
Posts: 108
Hi folks,

anyone used the uml elements boundary (for JSP), control (for BD, Facades) and entity (for all those entity beans) in sequence diagrams?

thanks,
Harbo
D. Rose
Ranch Hand

Joined: Apr 25, 2003
Posts: 215
I do not plan to use it as these do not seem to add any more information.
IMHO we should use it only it adds value.
H. Hafer
Ranch Hand

Joined: Aug 23, 2004
Posts: 108
Well, the added value is according to the help context of EA, that it makes clear, which elements serve as model, controller, or view in an MVC-paradigm.

Cheers,
Harbo
Parag Doshi
Ranch Hand

Joined: Jun 29, 2004
Posts: 317
I did not add those elements, mainly, because I got pretty pissed off creating the Prepare Itinerary seq diagram and lost interest in the rest, as it carries only 12 marks and its a lot of pain to go thru the entire seq diagram process

I am just too lazy

Parag
D. Rose
Ranch Hand

Joined: Apr 25, 2003
Posts: 215
Hi Parag,

Very true!I also got very frustrated doing the said sequence diagram.
And only 12 marks?
I think marks are so less as there is less part of creativity there, just a chore.

I think MVC pattern is pretty much well established so unless and otherwise I am trying out something different , I would not use those elements.
James Wang
Ranch Hand

Joined: Sep 04, 2003
Posts: 102
I only diagram JSP,servlet,and BusinessDelegate in Component diagram,not in sequence diagram.I prepare draw each JSP file in component. am I wrong?


James<br /> <br />SCJP,SCWCD,SCBCD,SCDJWS,SCEA
H. Hafer
Ranch Hand

Joined: Aug 23, 2004
Posts: 108
Originally posted by James Wang:
I only diagram JSP,servlet,and BusinessDelegate in Component diagram,not in sequence diagram.


James,

I'm in the mood of doing it the other way round. Why should I show the interaction between entity beans in their struggle to find a route from A to B? That's basically a routing algorithm. So I'm tempted to just show the interaction between JSP, Controller, BD and Facade (and probably some VOs) in sequence diagrams and to omit the details of accessingthe involved entity beans.

On the other hand, the process of creating those damn sequence diagrams just exposed some flaws in my component diagrams.

cheers,
Harbo
[ September 03, 2004: Message edited by: H. Hafer ]
D. Rose
Ranch Hand

Joined: Apr 25, 2003
Posts: 215
I am not quite clear about how to draw component diagrams. I think they want to see JSP,EJB servlets etc.
Can I show component (e.g JSP) in other component ( may be view?)
H. Hafer
Ranch Hand

Joined: Aug 23, 2004
Posts: 108
Originally posted by D. Rose:
I think they want to see JSP,EJB servlets etc.
Can I show component (e.g JSP) in other component ( may be view?)


Yep, my comment of "doing it the other way round" was misleading: Surely I'll show all components in the component diagrams. What I was trying to say was that I'm reducing the level of details in seq. diagram to the bare minimum. E.g. the hassle of find a route between departure A and destination B is burried in a helper class.

Which raises a question: How to show those helper classes? Are they stateless session beans, too?

regards,
Harbo
James Wang
Ranch Hand

Joined: Sep 04, 2003
Posts: 102
H. Hafer,

if jsp, controller and bd is exist in sequence diagram, then the swing component should also be draw in sequence diagram. If so, I think I have to design more sequence diagrams. for each use case, two sequence diagrams have to be drawed, one for web client and the other for the swing client.
H. Hafer
Ranch Hand

Joined: Aug 23, 2004
Posts: 108
Originally posted by James Wang:
For each use case, two sequence diagrams have to be drawed, one for web client and the other for the swing client.


Uh, yeah, you're probably right. I won't do it nonetheless, simply because they differ in presentation logic only which shouldn't be of great interest. At least, that's my excuse

Cheers,
Harbo
Parag Doshi
Ranch Hand

Joined: Jun 29, 2004
Posts: 317
I would not spend too much time on sequence diagrams..class diagram and component diagram has the bulk of the marks..I would rather spend time on refining and making them look good.Besides, there isnt enough information on the swing app, anyway.
 
Don't get me started about those stupid light bulbs.
 
subject: boundary, control, entity