Aspect Oriented programming project
Aspect Oriented programming project
Description: (This project must use AspectJ on Eclipse JAVA IDE.)
Make a simple address book application. It should be able to store Name, Street, City, State, ZIP and phone number. You can make any type of interface you would like to, however a simple text interface is probably the easiest. The main features are to:
Add a contact to the address book
• Delete a contact from the address book
• Update a contact from the address book
• Display the address book
Create an aspect that when the user updates a contact the previous data is written to a file. Also create an aspect that when the user deletes a contact the contact information is written to a file. These can be the same file.
You only need to turn in the actual software by exporting the project from Eclipse. You do not need to turn in any type of design document.
To export a project in Eclipse follow these steps.
1. Right click on the project and select Export
2. In the General folder select Archive File
3. Click the Browse button
4. Give is a file name with a .zip extension
5. Click the Save button
6. Click the Use Zip button
7. Click the Finish button
Example:
Assume that we have the following information in the address book.
Bill Smith 123 Main St, Colesville MD 20876 301-555-1234
Sally Jones 1 Here Dr, Rockville MD 1111 240-888-3400
Mohamad Smith 333 Elm St, Largo MD 21726 240-777-9999
Assume the user deletes Sally Jones.
File could say:
Record Deleted: Sally Jones 1 Here Dr, Rockville MD 1111 240-888-3400
So, the finished file would be:
Record Updated: Bill Smith 123 Main St, Colesville MD 20876 301-555-1234
Record Deleted: Sally Jones 1 Here Dr, Rockville MD 1111 240-888-3400