Title: E-Accountant Sys.
1E-Accountant Sys.
ebank.miho.cn
Silver Moon Corp.
2Contents
E-Accountant System Overview
1
Design Pattern Architecture
2
Highlights of the System
3
Special Thanks
4
3E-Accountant System Overview
- Brief Description
- The E-Accountant System enables the banks to
reduce their unnecessary manual work while
providing remote services and on-line management.
It also enables the bank to serve as long as 24
hours and will definitely increase the efficiency.
4Use-Case Diagram
???????????? Consumer,Admin,InqUser ?????????????
???,????????????
51.Services in Bank
Operations
- Revoke Sub card
- Revoke the Account
- Pay off the debt
- Change the view password
- Create an Account
- Apply for a sub credit card
- Change the card password
Demo
6Activity Diagram
7VOPC for the bank Service
8SSD for the bank Service
92.Services in POS.
Demo Consumption
Login
Consume
Records
Check the authority
Remote consume
Record the event in card
102.Services in POS.
Activity Diagram gtgtgt
SSD gtgtgt
11VOPC for Remote Consume Service
123.Service in the Internet
Demo Web Service
Revoke Sub card
Apply a Sub card
Reset Sub card Password
Inquire Account information
View the Account credit
ebank.miho.cn
13Software Pattern
- Brief Description
- We use the observer pattern to design our system.
- We divide the system into three layers. They are
view layer, control layer and model layer, which
is the classical structure of MVC architecture.
14E-Accountant System Overview
Bank E-Accountant System Overview
15Domain Model
16VOPC for the Sys.
17Observer Design Pattern
ApplyView
PayOffView
Server DataBase
RevokeView
ChangeView
View6
Observer and Observable
18MVC Architecture Pattern
Observer
Observable
V
C
M
We put all the swing graphical presentation
components and JSP files in this layer when
designing the windows forms and the web pages.
We design an abstract controller class to play
the control role in this program, which is
heritaged by a class named buttonctrl. In JSP, we
make JavaBean functions in this layer.
In this layer, we design a class connecting to
dataservice, which can modify the database and
notify all the views.
Presentation Layer
Logic Layer
Data Layer
Demo
19Wmvc Framework
JSP
Window Form(Bank Client)
20Highlights of the System
The Network Version
21XML Serialization
- Details
- We use a middle library called XStream to
serialize objects to XML and back again. Here our
projects coding - public class User extends UserI
-
- protected String UserName
- protected int ID
- protected double account0
- protected static double credit5000
- protected MainCard mcnull
-
-
- When it serialize to XML, it can be shown
- demo.xml
back
22Web Server
- Details
- Using JSP to design the presentation layer of the
program. - Using JavaBean to control the business handlers.
- Using tomcat 5.5 to configure the server
- Using Lomboz to edit the jsp files.
- Using session to confirm that these web pages can
not be visited unless the user has log in.
back
23RMI
- Details
- We use RMI to connect POS and Server, E-Account
Bank System and Server. - IAccountModel a new RAccountModel()
- IConsumeModel c new RConsumeModel()
- LocateRegistry.createRegistry(1099)
- Naming.rebind("rmi//localhost1099/Service",
a) - Naming.rebind("rmi//localhost1099/Service2"
, c) - IAccountModel is the bank system remote interface
- IConsumeModel is the POS remote interface
- In the client,we make the model class to use
these interface.
back
24JAVA MAIL
- Details
- we using the javamail api which can be found in
J2EE to write a Mail Client. It can connect to
some SMTP Server Provider and send mail to anyone
else's mail box. - In this project, once the client apply or revoke
a sub-card, change the card password, we'll send
the email to notify him these changes. On the
25th day of every month, we will send the bills
to every account by email.
back
25About Our Team
26Special Thanks
- Special Thanks for the instructions of our dear
teacher Rao. - We really appreciate all the help from our lovely
TAs. - Also, we are very grateful for all the help we
got from our classmates.
27Thank You !