Professional Documents
Culture Documents
CSUSB ScholarWorks
2006
Recommended Citation
Yu, Hau, "International extension program online registration system" (2006). Theses Digitization Project.
2990.
https://scholarworks.lib.csusb.edu/etd-project/2990
This Project is brought to you for free and open access by the John M. Pfau Library at CSUSB ScholarWorks. It has
been accepted for inclusion in Theses Digitization Project by an authorized administrator of CSUSB ScholarWorks.
For more information, please contact scholarworks@csusb.edu.
INTERNATIONAL EXTENSION PROGRAM ONLINE
REGISTRATION SYSTEM
A Project
Presented to the
Faculty of
San Bernardino
In Partial Fulfillment
Master of Science
in
Computer Science
Hau Yu
June 2006
INTERNATIONAL EXTENSION PROGRAM ONLINE
REGISTRATION SYSTEM
A Project
Presented to the
Faculty of
San Bernardino
by
Hau Yu
June 2006
Approved by:
Date
iii
ACKNOWLEDGMENTS
community.
iv
TABLE OF CONTENTS
ABSTRACT.............................................. iii
ACKNOWLEDGMENTS ...................................... iv
LIST OF TABLES....................................... ix
LIST OF FIGURES...................................... x
1.1 Introduction............................... 1
1.3 Limitation................................. 4
2.1 Introduction............................... 6
3.1 Introduction............................... 11
4.1 Introduction............................... 20
v
4.3.1 Home Page 25
vi
4.3.26 Administrator Login Page 50
5.1 Introduction................................ 64
6.1 Introduction............................... 73
vii
6.2.4 Install Database.............. 75
7.1 Conclusion................................. 84
REFERENCES ........................................... 86
viii
LIST OF TABLES
ix
LIST OF FIGURES
x
Figure 27. Edit Registration Page................... 44
Figure 28. Delete Registration Page................. 45
Figure 29. Delete Payment Page...................... 46
Figure 30. View Form Page........................... 47
Figure 31. Retrieve All Payments Page............... 48
Figure 32. Retrieve Individual Payment Page......... 49
Figure 33. Administrator Login Page ................. 50
Figure 34. Administrator Home Page.................. 51
Figure 35. Staff List Page........................... 52
Figure 36. View Individual Staff Page............... 53
Figure 37. Edit Staff Page.......................... 54
Figure 38. Delete Staff Page........................ 55
Figure 39. Create Staff Page......................... 56
Figure 40. Edit Administrator Profile Page.......... 57
Figure 41. Logout Page.............................. 58
Figure 42. Payment Decryption Program................ 59
Figure 43. Select Payment Screen.............. 60
Figure 44. Select Keystore Screen.................... 61
Figure 45. Payment Detail Screen..................... 62
Figure 46. Print Payment Screen ...................... 63
Figure 47. Deployment File........................... 80
xi
CHAPTER ONE
1.1 Introduction
1
a diskette into an Internet-connected computer, logs in to
2
Because payments can not be processed in real-time,
3
1.3 Limitation
Internet.
information.
4
• System documentation: a project documentation,
testing reports.
5
CHAPTER TWO
SYSTEM ARCHITECTURE
2.1 Introduction
6
project uses Tomcat as Web server, and MySQL as database
in Figure 1.
client machine
browser
diskette
/---------------------------------------------7
decryption computer
decryption program
7
2.2 System Interfaces
the Back-end component area can only access the DAO and
8
placing all business logic classes in a package called bus,
applications.
9
API) interface technology, and security for both
JAVA program.
like utility.
3.0
• Languages:
HTML/JAVA/JavaScript/JSP/XML/JSTL/SQL/Hibernate.
10
CHAPTER THREE
DATABASE DESIGN
3.1 Introduction
Staff table, Admin table, and Program table. All the input
11
3.3 Entity-Relationship Diagram
12
3.4 Database Schema Logical Model
BuiId.xml
<?xml versions"1.0" encodings"UTF~8"?>
<project name="iep" defaults "all"' basedir=".">
<property name="mysql.params" value="-u iep -piep -D iep" />
Create-db.sql
create table hibernate_unique_key
(
next_hi integer
) enginesInnoDB;
insert into hibernate_unique_key values (1000);
-- password = 123
i3
name varchar(255) NOT NULL,
criteria varchar(255)
) engine=InnoDB;
14
needHousing int(l) default NULL,
homestay int(l) default NULL, '
dormitory int(l) default NULL, 1
ownHousing int(l) default NULL,!
contactLastName varchar(255) default NULL,
contactFirstName varchar(255) default NULL,
contactAddress varchar(255) default NULL,
contactPhone varchar(255) default NULL,
contactCity varchar(255) default NULL,
contactState varchar(255) default NULL,
contactZip varchar(255) default NULL,
contactEmail varchar(255) default NULL,
payment boolean default NULL,
status integer default NULL,
term varchar(255) default NULL,
termYear varchar(255) default NULL,
encodedCipherText text,
program_id integer NOT NULL,
constraint foreign key (program_id) references program (id)
) engine=InnoDB;
INSERT INTO registration VALUES (1, 'Check', 'CHeck', 'M' , ' ', '127162
What St.','DarrionCSUSB@yahoo.com','1212121212','1','1920-01-
01','Barbados','Barbados','male'/' 0 ',0,'',0'2005-01-
01' ,1.,0,0,0 ,1, 11 z f 1 z 1II z It z II z II z II z II ,false,0,'Spring', ' 2006', ' ' ,U
z
Clean-db.:xml
drop table if exists hibernate unique _key;
drop TABLE if exists registration;
drop TABLE if exists staff;
drop TABLE if exists admin;
drop TABLE if exists program;
15
3.5 Data Type and Detail
id Integer PRI
username varchar(255) <■
password varchar(255) Yes
Email varchar(255) Yes
role Varchar(255) Yes
Id Integer PRI
username varchar(255)
password varchar(255) Yes
FirstName varchar(255) Yes
LastName varchar(255) Yes
Email varchar(255) Yes
regNotify integer Yes
16
Table 3. Structure of Program
Id Integer PRI
Name varchar(255)
Criteria varchar(255) Yes
17
Table 4. Structure of Table Registration
18
contactZip varchar(255) Yes
contactEmail varchar(255) , Yes
Paid Boolean : Yes -
status Integer ; Yes
term varchar(255) , Yes
termYear varchar(255) Yes
createdDate date Yes
Program id Integer For
EncodedCiphe text
rText
1'9
CHAPTER FOUR
PROJECT IMPLEMENTATION
4.1 Introduction
20
functionality. Upon successful login, staff will be able
this project.
21
View Staffs
Administrator
View/Edit/Delete/Approve
/Reject an individual application
5
Process Payments
Add/Remove/Modify
an individual program
22
submit application and payment
student
23
4.2 User Interface Design
logged in.
in the form of HTML forms or pages that have HTML Data and
24
4.3.1 Home Page
II I" ? r l f.J
«s® . ssb® ttffieo saegtfj
iJ±-k -J j J-ass® 13 < j &
A*W;[tfhtlpJfa.lliM:S(BOfgp<homa _____ fefc
>•JffiiSftSI
25
4.3.2 Application Form Page
requirement page.
a! <3 5*^;;
https'7flocalhost8443fiep/stodenfbp"Cieat8Reg v
*. opp'icatwnto'ffi
| Application for Enrollment 1
Last Name J(KW«.>MW0
First Name
=............ :........................ :'i
Middle Name
Telephone .......... .i
Fax j
E-Mail Address i 1
Coutidy of Citizenship : I
> Gendet ! OMaie OFemale
26
4.3.3 Validation Error Page
Middle Name ; S
ft
Telephone i
: phone required.
j ernaii required.
Do You intend to bring your spouse or children with you? ! OYes 0No
: please select.
27
4.3.4 Requirement Page
material they are going to submit. They can press the pay
©r-s- ©J0
https7ZlocaIhost8443/iep/stui3enft)p=ieqrure e3 '
CALtfortacA OTSTEWtryiRMTr
m tsaa ^Require-nert
Applicant Information
1
■ *r * :> - * -4 r ■-
BOltei
n
■J--* ■ a^aWMMSB
28
4.3.5 Submit Payment Page
for each field. After the applicant fill in all the valid
httpsi'ZflocaIhnst:8443/ifipfctudeiiffep^:reqti?Pny
Name Hau W
Payment Details:
; /MM .J ‘ ‘
- What Mse of crediteard will you be using?
©Mastw-Ottd
SvSTi. OvtsaCartf
Cm d Number ’{1231231231231232
SecurttyNumber jl232________
(ioo£ for Ihe 3 m 4 <1®$ matter ctt teck ofyou,- card- Meat's
b/. I F-pErationnare 102. K||2007|v-|
■ < |[Bac^j [ Submit ]
29
4.3.6 Payment Confirm Page
tep/stodenflop-confinn 1&£ ■
hare a Conf-mtsticrv
Applicant Information
thune: Hau YU
* is • “s >■!?«♦ i Thank you fer using CEL's IE? online registration application. An e-mail has been sent to you with themformattanyou supplied to the IEP,
Pieasa keep for your rscotds-incaseyou rorget the aoove information to complete the payment transactions. You can asso download your,
- - ’ - ■■ recigstfram here Qcwr,load recieot
30
4.3.1 Staff Login Page
Servlet will direct the staff to staff home page once the
CAUTOfiKlA 67KTBU>UVtftUrr
CAWPOtWAADIWO
CoSoge & ExlencJed teaming
INTERNATIONAL EXTENDED PROGRAM
»jigwflSM8S
31
4.3.8 Staff Home Page
.A . . A
* s- ' :
gjsis
Figure 15. Staff Home Page
32
4.3.9 View Staff Account Page
33
4.3.10 Edit Staff Account Page
Staff can also change the password. The page will validate
can also press the cancel button then the system will not
f',
§BS
(■■“•ii-1
j Submit } [ Cancel | /
giaa - - ■ - ■ ~ ~ ~ ATQaafiggaa
34
4.3.11 Program List Page
clicking the create link on top. Staff can also view the
,3*J
Figure 18. Program List Page
35
4.3.12 Create Program Page
in the database.
L” : J|- ’ --S'1' 5* J. _ . __ r. ~ I 1
e«E «»© ttifflffj SSWJStt) I«(D K59(H) . . . ' ...
36
4.3.13 View Program Detail Page
CALiPOAWA ST&TSWltVt&fianr
KAWsewwaopwo______ "
CoSoge ot Extended teaming
INTERNATIONAL extended program
’i*’ * » ♦ *, \-r>
Criteria Must Send TOEFL Score j
i****
1
-■ -Vf - ■■
- .€\ &JH 1 Delete ~
■ • - - -—
J’ ».« i.S*
Bft- »
ISeS
37
4.3.14 Edit Program Page
8 of Extended Learning
k INTERNATIONAL EXTENDED PROGRAM
Edit Program HH
Program Name jPre-MBA Program j i
... v Pregram Criteria
Must Send TOEFL Score |
T ......................................... ' »
' Sr < ..
| Submit j| Cancel j
** SrV i. *t
■"if.:.
If .. ' 5,.
- ■■ '
jU»4t
38
4.3.15 Delete Program Page
ILP
teSS©
MicrosoIHulemelExploicr
39
4.3.16 List Registrations Page
gas - ■’ —; 7 ~~ . - ,r • y , . i 'g
40
4.3.17 View Registration Detail Page
registration.
Peg&rtficn . ,
Last Name YU
Middle Marne
Telephone 12312321313213
Fax
41
4.3.18 Approve Registration Page
Sox female
Approve jj Cancel |
a <i
42
4.3.19 Reject Registration Page
CAUFOOMU BtHVUMIVB&SrTY
AAHOBtHAAOWO'
Cq&qqoiqI Exion&l teaming
INTERNATIONAL EXTENDED PROGRAM
I J "* C, j Sex
female
[ Reject |j Cancel j
: a-tgaawaa
43
4.3.20 Edit Student Page
44
4.3.21 Delete Registration Page
0 BK ^JiiciqsoRjinleniel Exploreir,
*a£© I3»<E) $&$(£) XMCD sBSEGD
x] 7? pas P 43? w® J* 'o 7: '21
§5^J.©|^hnps7^ocalhost8443^ep/sta{ftoianflge-re^!bp=del8te&id=327680CO 1^1 ©ttS,
cuwww* staystaiviRBTY
BAWQglWAWtUHO
CdSoge of Extended LoamEng
INTERNATIONAL EXTENDED PROGRAM
Sex female
| Delete j| Cancel |
*j
iBasE
45
4.3.22 Delete Payment Page
46
4.3.23 View Form Page
the registration.
47
4.3.24 Retrieve All Payments Page
registration page.
g... P •__ j. ■
«X<D ■ . Mo' SffiSS® . XH©,JSS© .
■ ©±-h -
1«® J® MtpsJtol)mst8443/iepMZimii
Step 3: Piease make sure to save your information only to the removable disk.
\jawasi
48
4.3.25 Retrieve Individual Payment Page
’ 9 9 ^1 Gi; P»® 9-
: fej httpsV/locdhost8445/iep/stafftaBnage-paymen(?bp^ww&id«327680[J0
CoBagncf.EtlencJad Learning
INTERNATIONAL EXTENDED PROGRAM
Home ->.Refriey&Payment
Step 3: Please make sure to save your information only to the removable disk.
49
4.3.26 Administrator Login Page
provided.
50
4.3.27 Administrator Home Page
* ***,^Kyj&.* "> %. -j HL
^8© XMCD __K59© ' i of
' ©-t-s - D • 4 © & P®* ate 0. <?- Da
nS&CQ} pf£| https7/localhost8443Aep/adnanflioine B3«s,
«.* *. ‘•f
»_A
Copyrtght.by CSUSB CEL All Rights Reserved,
i ,a^iaisptsis»s
51
4.3.28 Staff List Page
K$tTtg-»i.ist Slabs -
Staffs List
• Howard Yu vlew/etlB
JJ
Figure 35. Staff List Page
52
4.3.29 View Individual Staff Page
Edit 1. Delate
53
4.3.30 Edit Staff Page
data exception the username which means once the staff has
54
4.3.31 Delete Staff Page
The page will ask if administrator is going to delete
11 Slaffs^Weat^lStaJHiEdiVA^ y * fc J WW“’ *■
t<vf«.->yfe.,/Stcff > Delete
I Staff Information ,
!
j Username: staff
Email: bob@emaii.com
m^gsig .p,w,_=HB3
re:y~ ViR
55
4.3.32 Create Staff Page
home page.
56
4.3.33 Edit Administrator Profile Page
and password. .
'SlFE Mi . -j-. ■ ■. J
8© S®, •{B ' IS(D, . K89® ■
57
4.3.34 Logout Page
they have logged out the system and provide the link to go
E ; t Logout 1
■■i
u. 3 * j iaaoscsK
58
4.3.35 Payment Decryption Program
the program.
59
4.3.36 Select Payment Screen
database;
■'Payment Detail
60
4.3.31 Select Keystore Screen
which the system uses to decrypt the payment file from the
database.
Button 2 L
Step 2) Select Keystore File
•{•Payment Detail -
lC3 classes
'Si
□ CVS Q Iog4j-properties
Q ecactie.xml
0 hibernate.cfg.xml
Q iep.cer
Q iep.propertles
Q Key.keystore j
„ jKey.keyslore
.ffifUBSE
, Attach Keystore File
61
4.3.38 Payment Detail Screen
Payment DetaH — - -
Total no. of payments submitted: 1
Applicant: b b. b
E-mail :b@b
(DayPhone: b
Card holder: bbb
Card number: 1234123321321312
Card type: master
(Card Expired Month: 1
■Card Expired Year: 2006
(Card Security Number: 1232
Amount Owed: 100,0
62
4.3.39 Print Payment Screen
MC): . , .
I 1 , Ml |
|Card Expired Month : 1
ICard Expired Year: 2006
jcard Security Number: 1232
(Amount Owed: 100.0
63
CHAPTER FIVE
5.1 Introduction .
64
Table 6. The Unit Test Results
65
Unit Test Tests Performed Results
66
Unit Test Tests Performed Results
Staff delete » Check the correctness of the displayed
payment data.
registration • Check the entire selection list, buttons, OK
page and links working properly.
• Verify the page can get the error message
and work properly by the message.
Staff • Check the correctness of the displayed
retrieve data.
payment page • Check the entire selection list, buttons,
and links working properly.
• Verify the page can get the error message
and work properly by the message.
staff Manage • Verify the page get the correct user
Profile Page information.
• Verify all links and buttons working as
expected.
OK
• Test the correctness of the validation
for all input data
• Verify the page can get the error message
and working properly by the message.
Administrator • Check the correctness of the displayed
Main data in JSP included pages components.
Page • Check all the links and buttons working OK
properly.
• Verify the user save in session after
login.
Create Staff • Check the entire buttons, link and
Page selection list working properly.
• Test the correctness of the validation OK
for all input data.
• Verify the page can get the error message
and working properly by the message.
Delete Staff • Check the correctness of the displayed
Page data.
OK
• Check button, links and check boxes
working properly.
Edit Staff • Verify the page get the correct account
Information information.
page • Verify all links and buttons working as
expected.
OK
• Test the correctness of the validation
for all input data.
• Verify the page can get the error message
and working properly by the message.
Administrator • Verify the page get the correct staff
Manage Staff information.
Page • Verify all links and buttons working as OK
expected.
• Test the correctness of the validation
for all input data
67
Unit Test Tests Performed Results
• Verify the page can get the error message
and working properly by the message.
Student • Check the entire buttons and links
Registration working properly.
form Page • Test the correctness of the validation OK
for all input data.
• Verify the page can get the error message
and working properly by the message.
68
5.3 Subsystem Testing
69
Table 7. Subsystem Test Results
70
Subsystem Tests Performed Results
• Verify the subsystem can delete a
registration properly.
Payment • Make sure all the existing payments can
Mangement be retrieved
Subsystem • Check if the subsystem can detect the
error of creating of the registration
that exists in the subsystem. OK
• Verify the created payment information is
the same as the information provided.
• Verify the subsystem can delete a payment
properly.
Encryption • Make sure all the existing payments were
OK
Subsystem encrypted by the IEPORS web application
Decryption • Make sure all the existing payments could
Subsystem be decrypted by the IEPORS desktop OK
payment decryption program
71
5.4 System Test Plan
The steps for the system test plan are showed in the
following table:
72
CHAPTER SIX
MAINTENANCE MANUAL
6.1 Introduction
73
When you run the installation program for J2SE SDK,
zip version. Descend into the zip file, locate the mysql-
Web server and platform to. run Java Servlets and JSP.
74
Foundation. Before you install Tomcat Web Container, you
1. De-select examples
Readme.
is OK. From the Windows start menu, select All Programs ->
75
After downloading Windows Essentials (x86) installer,
installation.
up) .
Now.
settings.
account.
76
13 . Click the final execute button, and allow the
you should see the "mysql" prompt. Enter the word "quit"
77
6.3 Variable Modifications
configuration directory.
C:\tomcat\conf\Catalina\localhost\admin.xml.
78
changes that admin makes to this file by accessing these
old copies.
79
<?xml version='1.0' encoding='utf-8'?>
cContext docBase="C:/workspace/iep/web" path="/iep" reloadable="true"
workDir="work\Catalina\localhost\iep" >
<Resource name="datasource" type="javax.sql.DataSource"/>
•cResourceParams name="datasource">
<parameter>
cname >ur1</name >
<value>jdbc:mysql://127.0.0.l/iep</value>
</parameter>
<parameter>
<name>password</name>
<value>iep</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>4</value>
</parameter>
<parameter>
<name>maxWait</name>
<value > 5 0 0 0 </value >
</parameter>
<parameter>
<name>driverClassName</name>
<value>com.mysql.j dbc.Driver</value>
</parameter>
<parameter>
< name >username</name >
<value>iep</value>
</parameter>
<parameter>
<name>maxldle</name>
<value>2</value>
</parameter>
</ResourceParams >
<ResourceLink global="UserDatabase" name="users"
type="org.apache.catalina.UserDatabase"/ >
</Context>
80
6.4 System Installation and Migration
deploy IEP
/${HOME}/iep/web/WEB-INF/j sp
/${HOME}/iep/src/
/${HOME}/iep /web/WEB-INF/classes
I ${HOME}/iep/web/static/
/${HOME}/iep/web/WEB-INF
81
6.5.1 System Backup
files.
backup file and choose "unzip to" then you select the
82
mysql - u user_name -p your_password database_name <
file_name.sql
83
CHAPTER SEVEN
7.1 Conclusion
84
are protected by SSL (secure Sockets Layer). Furthermore,
85
REFERENCES
86