The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 314 Weeks Ago, 1 Day Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
Hey,
Â
the following are the requirement for the aspectJ have to use pointcut, joinpoint, and advice. Modifying the same Media rental system code.
Â
AOP Design and Implementation Assignment
Introduction: You have just completed your Media Rental Management system and the customer loves it. Now you take it onto the Marketing department at your company. They love it also. However, they have a new requirement that needs to be implemented.
Your company wants to sell this product to other rental companies and do not have money for software licenses. To address this problem your marketing department is going to give the software away for free, but charge 10 cents each time the price to rent feature is called. This will allowcompanies to pay a little each year for using the software. It also forces larger companies with more rentals to pay more than companies with fewer rentals.
Instructions: Modify your Media Rental Management system to track and keep the amount of money the customer owes for the software (i.e. track the number of times the price to rent is calculated for a media and multiply it by 0.10). A customer is the rental business with multiple accounts and multiple rentals per account throughout the year. You are calculating the cost for the use of the whole software system and NOT per account.
The software needs a method to return the total cost. All the code should be in the aspect class but you can add empty method as needed in your manager class to use as the joint point.
Your software does NOT need to:
Do online billing or billing of any kind
Save the running total for the amount owed in the text files that the software saves
Lock users out of the price to rent feature if they don’t pay.
Don’t over think this.
You should modify your SDD to include this new change and change the code to support this.
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly