Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering
You can install AspectJ and the AJDT from the update URL http://download.eclipse.org/tools/ajdt/34/update or go to the download page http://www.eclipse.org/ajdt/downloads/. For more information about AspectJ use the online help (also available at http://www.eclipse.org/aspectj/doc/released/progguide/), the slides of the lecture or the presentation at parc on which the first lecture was mainly based.
You can find the sourcecode for this assignment in the project UntangelingBanking. 'BankSession' in the folder 'tangled' contains the example for tangled code from the lecture. 'untangled' contains already a new untangeld version with aspects. Sadly the aspects still need to be implemented. Your task is to restore the functionality found in the tangled example code. Don't change anything except for the aspects. Make sure the test runs.
Implement the aspects ContractChecking
, Security
Logging
and Transactionality
.
The aspect ContractChecking
should contain all functionality that checks the input arguments, the supposed content of the aspects Security
, Logging
and Transactionality
should be obvious.
If you are unsure about what code in the tangled application matches what concern take a look at the lecture slides.
Based on a use case driven analyis we implemented a Gomoku application. Fill in the gaps:
Add the analysis objects for the “View Hall of Fame”-Use Case Slice. Your solution should be as detailed as the presentation of the “Record New Highscore”-Use Case Slice:
Give in the following diagram the class extensions for HighScoreRecording at the same level of detail as we did for HallOfFameViewing:
Apply your solution to either the PowerPoint file or the two pngs located in your repository.
Complete the implementation of HighScoreRecording and HallOfFameViewing in A5T17-18_GomokuApp. We prepared most of the code. You have to add the essentials: The aspect code is missing.