Introduction to Software Engineering/Architecture/Labs

< Introduction to Software Engineering < Architecture

Labs

Lab 1: Architectural Styles (30 min)

For this lab you may want to work in pairs. Consider the following architecural styles. Use the internet or books, to find for each one of them one or two good example applications.

Lab 2: GoF Design Patterns and StarUML (15 min)

Start StarUML and take a look at the ’Apply Pattern’ feature of StarUML: Create a new empty class diagram. Right-click in the white space, and select ’Apply Pattern’. There in the dialog that appears select ’Pattern Repository’ then ’GoF’ and then take the ’Factory Method’. Click next a couple of times, and you should get the class diagram for the Factory Pattern.

Lab 4: Dynamic GUI Creator (30 min)

An interesting example of the Factory Method pattern is the dynamic loading of Swing classes at runtime. This could be used to build GUIs completely dynamically during runtime. This would be interesting for very large projects, when several 100 user interfaces need to be created. This could be used to generate GUI’s ’on the fly’.

Lab 4: Anti-Patterns with SourceMonitor (30 min)

Pick a Java and a Cpp project. Install (or copy) SourceMonitor. The program is pretty self-explanatory. Make sure you get the following reports:


References


    Questions

    1. What is 1+1?
    This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.