Someone please help with my coursework....
I am trying to do my coursework and really having a lot of problems with it and cant do it. Please please can somone please design my cousework please i really dont want to fail.
Here is the coursework:
A bank offers a home banking service to its clients. Having logged on to the bankís server from a PC, a client is able to carry out normal banking activities. For example, he/she can get the current balance in an account, transfer funds to another account and get a list of the direct debits associated with an account. The design and implementation of the bank and its various accounts is based on the following outline UML class diagram:
The project leader now wishes to introduce a logging (recording) facility to the software. The idea is that for every invocation of the methods that update an account (credit and debit) the system should record both the name of the method and the amount of the transaction (the value of the argument of the method). It is anticipated that on start-up, a command line argument of log or normal should be supplied. If the argument is log, logging should take place, if the argument is normal no logging should take place, otherwise an error message is to be output.
However, there are two important caveats. The first is that changes to any existing domain classes such as Bank and Account should be minimal. The second is that application code (usually located in the run method of an Application class) that makes calls to the Bank should be independent of the decision to log or not.
Question 1 (Assesses Learning Outcome 1 ) (70%)
The project leader wants you to build a small demonstrator to show how a Decorator and a Factory can be used in the development of the new system. You are expected only to demonstrate that they are going to work. Therefore, donít worry too much about the human-computer interface, extensive testing or implementing the basic on-line banking service. However, you must explain what you have done and provide screen shots of your software executing. As a minimum they should show:
The system is started with log as the command-line argument. Normal execution is observed and there is logging of calls that change accounts.
The system is started with normal as the command-line argument. Normal execution is observed but there is no logging of calls that change accounts.
The system is started with no command-line argument. An error is reported and the system terminated.
The system is started with lg as the command-line argument. An error is reported and the system terminated.
You can make any reasonable assumptions but they should be documented. Note that you are also expected to make use of Java code fragments and UML diagrams in your explanations. It is not enough just to provide code listings!
please can you get back to me please... thanks