Originally posted by kapil kumar:
jitu
have u finished part 2?
Originally posted by redw25:
Congratulations, Alain. may you answer me two question?
first,why you pay attention to the business mainly,not the common architecture,as all others.but i think the foundation architecture is more important,like petstore,struts.
second,why the design patterns are used in component diagram?not in class diagram?
thanks!
Originally posted by Louis Fegun:
Hi Alain-
Congratulations!!!. Thanks for sharing your insight on the assignment. Quick question for you. Do you have to show all the classes bearing the pattern and framework - e.g. Business delegate, Service Locator classe, etc, in the sequence diagram. My sequence diagram is already looking very long because of many classes and I am trying to control it.
I will appreciate any suggestions on this.
Thanks.
Louis.
Originally posted by alain hsiung:
1. I think that other solutions may be correct too. To my understanding the architect should do both modeling the business AND design an architecture with the state-of-the-art technologies. I must admit that I did design an alternative component diagram with Struts framework which I didn't send. I compared my "MVC model 2" and my "struts" component diagrams and I chose to send the "MVC model 2" because it is more concrete. The "struts" variant could almost be copy/paste from a struts book, it didn't show much. In reality (not for the SCEA exam) I would take the struts variant. Don't be afraid of sending a more "foundation architecture" variant!
2. the J2EE design pattern are in the component diagram because here I have all the tiers and all technological decisions! The class diagram models the business and is technology neutral! The class diagram forms the basis for EJB design (in the component diagram) but there is no mention of stateful session bean, entity bean, etc. in the class diagram. The class diagram may be reused with other technologies than EJB (plain Java, .net, etc). Class diagram is important as a communication mean between domain expert and computer scientist. It is as constant as the domain. Component diagram reflects the technology decisions, may change with the technologies and is used by the programmer.
Alain Hsiung
Ideartis Inc.
Originally posted by redw25:
thank you very much for your reply.
perhaps now the topic is the architecture we discussing,not the design detail.
during the develop process, we make the technology decisions at the design period.we follow the design technology : principle,layer,mvc,patterns... at this time. we show all these in class diagram ,then generate the frame code.it's very useful for the develop efficiency and the software' quality is not bad.but the component diagram is seldom used.It's can be produced during generating code.
am i right?
[ June 10, 2003: Message edited by: redw25 ]
SCJP 1.4, SCWCD<p>Ours is a world where people don't know what they want and are willing to go through hell to get it.<br /> - Don Marquis
Originally posted by venkatesh rajmendram:
Hey Alain,
Congrats!! on your excellent score.
I had couple of questions.
Can you please tell what UML tool/s did you use for drawing all diagrams.
Did you write your Use cases in brief format or expanded format.
Also can you suggest any good web sites/ material for reference.
Thanks
Venkatesh
Originally posted by alain hsiung:
I'm not sure if this is what you mean with "brief format".
SCJP 1.4, SCWCD<p>Ours is a world where people don't know what they want and are willing to go through hell to get it.<br /> - Don Marquis
Originally posted by venkatesh rajmendram:
Alain,
Well What I meant by the brief format/detail or expanded format is, did you write a descriptive use case like pre-conditions , post-contitions, normal flow , alternate flow in detail...along with use case diagram.
Thanks for the information that you have provided, its very helpful, I really appreciate your time.
Thanks
Venkatesh
Originally posted by redw25:
Alain,
how about the details of the class and the class's method?
1.in sequence diagram,do the operation is required?if so,the operation's parameters is also required?
2.in class diagram ,what methods should be shown?such as business method and other basic methods:create,find,update,remove..
the test is very different from our design,so i'm wondering.please help me.i'll sumit my assign
next week.thanks very much.
Originally posted by Chris Mathews:
Guys,
I have edited out some of the content of some posts. Please remember that specifics of the exam and of an individual's design should not be discussed. Please see this post.
Originally posted by Billy Tsai:
did you declare all the attributes and operations for all ur classes?
is it possible to pass without declaring them on classes?
what about EJB's home and remote interface did u draw them as well or just the a class representing the EJB with its interfaces?
Originally posted by Jai Thomas:
Hi Alain,
One quick question for you. You have mentioned earlier that you did only one component diagarm. How did you manage to depict all classes in one component diagram without cluttering it? I am thinking of splitting mine into two or three. Do you see a problem with that? (I noticed that the assigment uses the singular term 'Component Diagram')
Thanks in advance
Jai
Originally posted by Bijan Mohanty:
Hi Alain,
Congratulation for your excellent score and thanks a lot for those informative replies. I have a question on your component diagram. Did you draw all the MVC2 classes in your component diagrams ? What I meant that did you just draw one Abstract Action class in your diagram or drew all the concrete Action classes(For example CreateUserAction etc.) in addition to the interfaces and the Abstract action sand the concrete actions that extends the abstract Action.
Also did you include the WAF(MVC2) classes in your class diagram or you kept it pure domain specific only.
Thanks a bunch in advance.
Bijan
Originally posted by Bijan Mohanty:
Hi Alain,
Thanks again for your input. I have one last question. Did you draw all the jsps in both Component and Sequence diagrams or created one subsystem like GUI subsystem in the diagrams ? Drawing all the JSPs in the component diagram is kinda cluttering my diagram.
Thanks lot.
Bijan
Originally posted by sh yh:
congratulations alain!
I couldn't figure out a clean way to express the idea of scalability or performance in either a class diagram, a component diagram, or a sequence diagram. Did you stress scalability or performance in any of your diagram?
TIA.
SCEA
Originally posted by Roger Zacharias:
Hi Alain,
concratz!!!
Concerning your class-diagram (I think this is the crux in most assignments and you have negotiated it):
- Did you show attributes and ops in the class diagram?
- How many classes do you have?
- Have you changed the BDM?
- Have you consolidated some BDM classes?
Best regards
Roger
Originally posted by allison ai:
Congrats, Alian!
I have been struggling with the component diagram(s) for a while. I would appreciate your comments very much and thanks in advance!
The component diagram counts a significant portion of the total score, so it should be fairly complex, at least when compared to the sequence diagrams. But my component diagrams are more like those in the Case Study chapter of Cade's Study Guide book, i.e. they look quite straightforward and simple: no specific JSPs, Servlets, or EJBs, only components (abstraction entities, each contains specific JSPs, Servlets, or EJBs). For example, my diagrams contain basic components like user view, web controller, request filter, EJB controller, session facade, etc.
What troubles me are the two generic issues regarding component diagrams in UML (I hope my questions are not revealing the specifics of the assignment too much):
1. How to include all JSPs, Servlets, and EJBs in component diagrams in general UML drawing? My reading of the requirement is to include all SPECIFIC JSP pages, Servlets, EJBs and other JavaBeans in the diagram. Am I right? But I thought a component diagram is a way of showing how the application is broken down into different components (more like sub-systems, not individual objects) and how those components interact with / depend on one another. I have been searching other books and online resources, but not found answers yet. What I have done so far is to list those individual concrete objects under the components they belong to as a note under each diagram. E.g., a search JSP page belongs to the user view component. I doubt this is the right way to do it.
2. How to show the design patterns in component diagrams? E.g. a command pattern is implemented by a couple of specific objects, which all belong to the EJB controller component in my design. Since those concrete objects are not shown in my diagram, but only listed in the note attached to the diagram, how can the command pattern be illustrated in the diagram then? Since I have included all specific objects in my class diagram, including JSPs and Servlets, the patterns are shown more clearly there. But again, I am not sure if it is acceptable.
Thanks again!
Would you turn that thing down? I'm controlling a mind here! Look ... look at the tiny ad ...
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|