Hi Jacky,
>>>I meant was whether you depicted the use case text on the left side of sequence diagram?
No, I didn't do that. I simply included a UML note, which mentioned the Use Case that was being realized.
The common practice is to insert a link to the Use Case Model or the Use Case Diagram.
>>> Further,As you talked,In your sequence diagram,you depicted almost all J2EE patterns in them.So I think that your sequence diagram must be quite large and with the help of scrolling bar,the person who marked your assignment could browse whole image.so I want to know whether you sized down your sequence diagram image?And whether you would get fewer marks if the size of image is quite larger?
I had the same question and had posed it in the forum. I didn't shrink my diagrams and submitted them as they were. Size didn't seem to matter. (No pun intended!)
>>> Did you split the sequence diagrams into several small sequence diagrams by each use case,for example prepare usecase.
I did split my collaboration diagrams to make them smaller and more readable. It was a bit tricky and time-cosuming.
>>>In your sequence diagrams ,did you put <<stereotype>>on the objects?For example,<<view>>,<<Bussiness Delegate>>.if yes,how to depict frontcontroller,<<servlet>>or<<frontcontroller>>
It is totally upto you. You could use <<Model>>, <<View>>, <<Controller>> on the objects to clearly show which tier they belong to. You could get a bit more specific and use stereotypes like <<EJB>>, <<
JSP>>, <<HTML>>, <<CGI-BIN>>, etc. You could also use your J2EE and GOF pattern names such as <<AbstractFactory>>, <<Controller>>, <<InterceptingFilter>>.
UML also allows you to show multiple stereotypes on a single element, though some tools may not support this.
Sridhar-