01.01.2015 Views

UML Weekend Crash Course™ - To Parent Directory

UML Weekend Crash Course™ - To Parent Directory

UML Weekend Crash Course™ - To Parent Directory

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

328<br />

Appendix A<br />

represents the application logic that manipulates the model and feeds information<br />

to the view.<br />

12. The Component diagram shows the dependency between the Web components.<br />

Superimposing the Component diagram on the Deployment diagram provides a<br />

complete picture of where the software resides on the network.<br />

13. The Class diagram supports the description of the structure of each resource as<br />

well as their relationships and dependencies.<br />

14. The <strong>UML</strong> allows customization through the use of stereotypes and alternative<br />

icons. As a point of further study, you might check out the <strong>UML</strong> discussion on<br />

profiles, complete schemas for applying the <strong>UML</strong> modeling standards to morediverse<br />

domains like business process modeling (see <strong>UML</strong> 1.4 chapter 4 <strong>UML</strong><br />

Example Profiles).<br />

15. The main features of a modeling tool interface are the main menu, which includes<br />

the tools and diagrams selections, the browser navigation area, and the drawing<br />

canvas.<br />

16. Usually there are a limited number of licenses but a large number of project participants<br />

who need to see the work products created in the tool. The HTML documentation<br />

can be created and distributed to a larger audience. The documentation can<br />

also be maintained to keep everyone up to date, again without tying up the tool.<br />

17. Class diagrams are used throughout the development process. The same diagram<br />

initially created in the early phases is continuously changed through analysis and<br />

design and finally through implementation. Without version control, you will lose<br />

the history of the diagrams that explains how you arrived at the current image.<br />

18. The four types of translation between models and code are<br />

1. Forward Engineering: A Class diagram is used to generate code that never<br />

existed before.<br />

2. Reverse Engineering: Code may be used to create a Class diagram that never<br />

existed before.<br />

Maintenance involves work in both directions:<br />

3. Diagram updates the Code: The diagram changes so you need to regenerate<br />

the code. Some tools replace the existing code while others are smart enough<br />

to isolate the changes and even comment out the replaced or deleted code.<br />

4. Code updates the Diagram: The code has changed, so you need to update the<br />

diagram to keep in sync. This is not as easy as it sounds. Always do it in very<br />

small increments. Also, some diagram concepts, like aggregation and composition,<br />

are not reflected in code, so you will need to modify the diagram to<br />

make certain that it continues to represent your model accurately.<br />

19. Many projects require a number of people to contribute to the modeling effort.<br />

This implies that they need to share the same models, each working on different<br />

aspects but sharing each other’s products. Vendors have come up with a variety of<br />

techniques to support such team development. Some require a check-out/check-in<br />

method where one person has exclusive access to the checked out portion of the<br />

model. Others provide diagram or even element-level locking so that many people<br />

may have the same diagram or element open but only one person may modify the<br />

diagram or element until they release it.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!