Sei sulla pagina 1di 4

Project 1

Bank Application
Summary Build a Bank Application [Console Application] for Bank Employees to manage customers and deferent types of accounts. Use proper documentation [ comments & indents ] In the code. Write validation for all the fields according to the database tables. The application must be built as per below specifications. Database tables Customer Master Colum Name Cutomer_no [PK] Customer_name Customer_address Customer_Savings Colum Name Cutomer_no Account_no Customer_Loans Colum Name Cutomer_no Loan_no Savings Master Colum Name account_no Customer_no Start_date End_date Balance

Data type Number(5) Varchar2(20) Varchar2(100)

Data type Number(5) Number(5)

Data type Number(5) Number(5)

Data type Number(5) Number(5) Date Date Number(10,2)

Loan Master Colum Name loan_no Customer_no Loan_date Exp_date Amount Term Savings_Transaction Colum Name Trans_no [PK] Account_no [FK] Date Amount Trans_type [C/D] Loan_Transaction Colum Name Trans_no [PK] loan_no [FK] Date Amount Trans_type [C/D]

Data type Number(5) Number(5) Date Date Number(10,2) Number(5)

Data type Number(5) Date Date Number(10,2) Char(1)

Data type Number(5) Date Date Number(10,2) Char(1)

Business Components Business Service Interfaces SavingsAccount Interface openAccount(Savings sa) closeAccount(Savings sa) updateAccount(Savings sa) getAccount(long acno) LoanAccount Interface openAccount(Loan sa) closeAccount(Loan sa) updateAccount(Loan sa) getAccount(loan lno)

SavingsTransaction Interface doDebit(Savings sa) doCredit(Savings sa)

LoanTransaction doDebit(Loan la) doCredit(Loan la)

Customer Interface addCustomer(Customer c) deleteCustomer(Customer c) updateCustomer(Customer c) getCustomert(long cusno) Data Access Objects SavingsDAO Class implements SavingsAccount openAccount(Savings sa) closeAccount(Savings sa) updateAccount(Savings sa) deleteAccount(Savings sa) getAccount(long acno) LoanDAO Class implements LoanAccount openAccount(Loan sa) closeAccount(Loan sa) updateAccount(Loan sa) deleteAccount(Loan sa) getAccount(loan lno)

SavingsTransactionDAO doDebit(Savings sa) doCredit(Savings sa)

LoanTransactionDAO doDebit(Loan la) doCredit(Loan la)

CustomerDAO implements Customer addCustomer(Customer c) deleteCustomer(Customer c) updateCustomer(Customer c) getAccount(long acno) Data Objects

Savings Acno Start-date End_date balance

Loan Loan_no Loan_date Exp_date Amount term

Customer Customer_no Customer_name Address balance

You must create a menu based console interface for the user to use this application. Note : 1. 2. 3. 4. 5. 6. Use SVN for versioning Use Oracle XE Database Use Document comments to generate documents User proper package names. Package into a runnable jar file. Submit code before 1-Apr-2013.

Potrebbero piacerti anche