Lab 3 

Task 6: Generate Analysis Model

1. On the Modeling menu, click Transform > Configure Transformations….
2. In the Transformations/configurations list, expand Sample Transformations and select Use Case to Analysis.
3. Click View Transformation Documentation.
5. Create a new analysis model and name it Acme Payroll Analysis Model.

  • • In the Asset Explorer, right-click and select New > Repository.
  • • Right-click in the Model Explorer and click New > Project.
  • • Select UML Project and then click Next.
  • • Name the project Acme Payroll Analysis Model and then click Next.
  • • Select the Analysis Model template, change the file name to Acme Payroll Analysis Model and then click Finish.

6. Ensure that the RUP Analysis Profile has been applied to this model. Select the Acme Payroll Analysis Model in the Model Explorer. Then in the Properties view, select the Profiles section and review the list of applied profiles.

TIP: You can also access the profiles by right-clicking the model in the Model Explorer and selecting Properties then AppliedProfile in the left pane.

7. Use the Use Case-to-Analysis transformation to generate the Analysis Model contents.

  • • Select the Acme Payroll Requirements Model in the Model Explorer.
  • • On the Modeling menu, click Transform > Configure Transformations….
  • • Under Sample Transformations, expand Use Case to Analysis and select Use Case to Analysis.
  • • Click New and name the transformation My Use Case to Analysis.
  • • The source should be set to the Acme Payroll Requirements Model. 
  • • On the Target tab, set the target to Acme Payroll Analysis Model.
  • • On the Common tab, ensure that the Create source to target relationshipsis enabled.
  • • Click Run.

8. Review the generatedmodel.
9. Clean up the target model:

  • • Delete the Use-Case Building Blockspackage.
  • • Use Edit > Find/Replace to update placeholder ${project}tags with Acme Payroll.

Task 7: Partition the Analysis Model

1. Create separate models in the Acme Payroll Analysis Model project, for each package to be allocated to the teams.

  • a. Select the package in the Model Explorer, right-click and select Create Model from Package. 
  • b. In the Create Model from Package window, select Acme Payroll Analysis Model as the parent folder, accept the default file name and click Finish.
  • After completion, the Model Explorer should look like the following figure:

2. Create a UML Modeling Project named for each team based on the Blank Model template with the team name as the file name.
3. To refactor the packages, drag each package from its respective model, to the corresponding team that will work on the package.

4. Select OK when the package is moved to update references to moved elements.
5. When all packages have been refactored, delete the temporary models because they are no longer needed. The reallocation should look like the following figure:

6.  To balance the workload, refactor Reporting so that it is allocated to Team C.

Task 8: Export to Project Interchange

1. From the File menu, select Export.
2. In the Export window, select Project Interchange, to export to a Zip format, and click Next.
3. In the Export Project Interchange Information window, click Select All.

4.  Click Browse…and navigate to the DEV496\Student Workdirectory.

5.  Enter Lab 3.zip for the file name and click Save.

6.  Click Finish.

Lab 4 – J2EE Enterprise Architecture

Lab 5 – Define a Candidate Architecture

Task 1:  Create the Workspace and Import Acme Projects

1. Create a new workspace named Lab 5.1 workspace.
2. Import the lab input model:

  • a. On the File menu, click Import.
  • b. In the list box, select Project Interchange as the import source and click Next.
  • c. Next to the Zip file field,click the Browse button and find Acme Lab5-1Input.zip in the DEV496\Inputs folder. Select the file and then click Open.
  • d. Click Select All to import all the projects in the input file.
  • e. Click Finish.

Task 2: Create Architecture Overview 

1. Create a new Software ArchitectureDocument model, name the model Acme Payroll Software Architecture Document Model.

2.  Create the following package structure in the model:

3. Recreate the Architecture Overview Diagram (AOD) pictured below in the Business Pattern AOD package of the Software Architecture Document Model

Task 4: Create Initial Deployment Diagram 

1. Create a new deployment model inyour project; name the model Acme Payroll Deployment Model.

2.  Create the following package structure in the model:

3. Create a deployment diagram that includes product mappings in the Development Configuration package. Use the Run-time patterns and product mappings from the P4eb to guide you. The Diagram should depict:

  • • Nodes in the solutions
  • • Connections between the nodes
  • • Notes as needed to clarify details
  • • Products used(as appropriate) depictedas Execution Environments
  • • Servers, Supporting Infrastructure, and Clients elements groupedinto packages

4. Drag each of the configuration packages (Development Configuration, Test Configuration, and so on as appropriate) from the Model Explorer view on to the Deployment Configurationsdiagram to create a package diagram.