Photo Lab
Photo Lab
Photo Lab
Introduction
1.1 About Project
This project is aimed at developing an Photo Lab Management System
(PLS) for a
photo studio. This system can be used to store the details of the
customers,employees,work details and update the details based on the customer details,
material details.
DEO enters the details about the customer,materials,deletion of the
customer details and admin mainly checks the details of customer,materials and enters the
details about the employees and updates the details of employees in frequent intervals.
Admin also deals with deletion of the DEO and employee details and he also plays a role
in releasing the lock of the DEO account when it is locked.
2. Project Analysis
2.1 Purpose of the project
The Photo Lab Management System (PLS) is a complete system for
managing photo processing labs in a most efficient way. By implementing the
computerised management for Billing, Inventory you could utilise your resources to the
fullest extent of efficiency thereby stepping up the productivity levels. This has been
designed and developed after a thorough study of Photo Finishing Industrys needs and
manual system of operations. So this product has come out as whole and Smooth
Solution for your needs. In every data entry, before storing the data in computer, the
system will confirm with the user, asking questions like 'Is this Ok? to ensure correctness
of entered data in all respects. If it is not, then the user is in his liberty to correct it.
manual is split into sections like Operations, which covers entering of day to day and
periodical transactions that take place in a lab. Various reports that are available in the
system are explained in the Report section.Usually data entry operator mainly makes a
detail analysis every day and updates the data every day in the system about
billing,salaries,materials,etc. Administrator checks about status of the photo lab every
day.
3. Requirement Analysis
3.1 Purpose and Scope
This project is aimed at developing an Photo Lab Management System
(PLS) for a photo studio.
Usually data entry operator mainly makes a detail analysis every day
and updates the data every day in the system about billing,salaries,materials,etc.
Administrator checks about status of the photo lab every day.
4. SpecificRequirements
4.1 Functional Requirements and Non-Functional Requirements
a.Functional Requirements:
i.
The tool mainly helps in giving perfect photo wanted by the customer.
When the work status is completed then he uploads the customer photo and
stores in the database.
The image is retrieved automatically from the database while seeing the
customer details entered.
ii.
iii.
Utilities should be maintained such that every task is given separate icon in
the tool.
iv.
v.
vi.
b. Non-Functional Requirements:
i.
ii.
24 X 7 availability
iii.
iv.
Flexible service based architecture will be highly desirable for future extension.
Client
Admin
View
customer
Unlock
account
Delete DEO
View material
details
DEO
Registration
Customer
Login
View
customer
Delete
DEO
View
materials
Status update
Material
updating
Update
Delete
Customer
details
Reg DEO
Customer bill
Employee
registration
Block
Employee
details
Employee
details
Employee
salaries
DEO login
View
customer
details
Admin
Unlock
Employee
New customer
Database
Employee
salaries
Delete
employee
New
customer
Registration
Update status
&insert image
Material
details
Image
Material update
Update
customer
DEO
details
Delete cusomer
5. System Requirements
5.1. Technologies Used:
1. UML.
2. J2EE. JSP, Servlets.
3. XML.
4. AJAX .
UML:
The Unified Modeling Language (UML) is an open method used to
specify, visualize, construct and document the artifacts of an object-oriented softwareintensive system under development.[1] UML offers a standard way to write a system's
blueprints, including conceptual components such as:
actors,
business processes and
system's components, and activities
J2EE:
Java Platform, Enterprise Edition or Java EE is a widely used platform
for server programming in the Java programming language. The Java EE Platform differs
from the Java Standard Edition Platform (Java SE) in that it adds libraries which provide
functionality to deploy fault-tolerant, distributed, multi-tier Java software, based largely
on modular components running on an application server.
XML:
XML (Extensible Markup Language) is a general-purpose specification
for creating custom markup languages.[1] It is classified as an extensible language,
because it allows the user to define the mark-up elements. XML's purpose is to aid
information systems in sharing structured data, especially via the Internet.
ORACLE 9I:
6. System Design
6.1 Data Flow Diagrams
6.1.1E- R Diagram
1
1
1
1
1
1
relational schema database modeling method, used to produce a type of conceptual model
or semantic data model of a system, often a relational database, and its requirements in a
fashion. There are a number of entities, attributes, relationships etc, as mentioned below.
6.2 Behavioral Diagrams
10
Login
<<include>>
Registration
<<include>>
<<include>>
Data Entry
<<include>>
Billing
Data Entry Operetaor
Reports
Materials
Maintenance
Login
Administrator
11
Job Input
<<include>>
<<include>>
<<include>>
Job Output
Delete Job
Process Billing
Description:
Name Of The Use Case: Login
Description:
DEO and administrator of the PLS system must be login to the
access the required
services.
Pre Condition: Each user must have a valid user id and password.
Post condition: Home Page will be displayed.
Flow of events:
Invoke the Welcome page of PLS System.
Enter the valid User ID and Password.
Click on Sign In button to access Home page.
12
13
Click on Reports.
Click on Submit button.
14
Customer
string customerId;
string name;
string address;
string phoneno;
string takingtime;
string deliverytime;
int noofcopies;
string validity;
Login
string userId;
string password;
verifyuserId()
verifypassword()
connectwithDB()
disconnectwithDB()
*
deletecustomer()
update()
status()
1
1
1
delete()
1
registermember()
customerdetailscheck()
statusupdate()
materialupdate()
unlockaccount()
customerbilling()
employeesalaries()
DEO details
string name;
string userId;
string password;
string address;
string gender;
string dob;
string phoneno;
1
1
1
1
1
1
unlock()
*
Main Controller
1
Delete DEO
string userId;
getcustomerdetails()
storecustomerdetails()
modifycustomerdetails()
deletecustomerdetails()
1
DEO
string name;
string id;
string password;
Unlock DEO
string userId;
Status
string userId;
string status;
Materials
string availability;
int number;
connectwithDB()
updatestatus()
photosheet()
chemical()
Admin
string userId;
string password;
unlockDEO()
deleteDEO()
employee()
customerbill()
1
*
Employee
string name;
int salary;
salary()
15
1
1
getDEOdetails()
storeDEOdetails()
deleteDEOdetails()
Description: The class diagram shows the static design view of a system. It shows the
relation between classes, collaborations and interfaces.
SIMS system has the following classes.
Login:
This class is used login purpose. It contains userid,password are the
attributes. It has the operations like
verifyuserid()
verifypassword()
connectwithDB()
disconnectwithDB()
Customer:
This class shows the customer details. It contains
customerid,name,address,phoneno,takingtime,deliverytime,noofcopies,validity are the
attributes. It has the operations like
getcustomerdetails()
storecustomerdetails()
modifycustomerdetails()
deletecustomerdetails()
DEO details:
This class shows the details of the data entry operator. It contains
name,password,userid,address,gender,dob,phoneno are the attributes.It has the operations
like
getDEOdetails()
storeDEOdetails()
deleteDEOdetails()
Admin:
This class shows the administrator privileges. It contains
userid,password are the attributes.It has the operations like
16
unlockDEO ()
deleteDEO()
employee()
customerbill()
Status:
This class shows the details of the work status. It contains
userid,status are the attributes. It has the operations like
updatestatus()
connectwithDB()
materials:
This class shows the details of the materials. It contains
availability,number are the attributes. It has the operations like
photosheet()
chemical()
Employee:
This class shows the details of the employee. It contains
name,salary are the attributes. It has the operations like
salary()
unlockDEO:
This class shows the details of unlocking the DEO. It contains
userid is the attribute. It has the operations like
unlock()
deleteDEO:
This class shows the details of deleting the DEO details. It
contains userid,status are the attributes. It has the operations like
updatestatus()
connectwithDB()
17
Registration:
A:Admin
R:Register
DB:DataBase
Enter details
Store details
check()
send Acknowledgement
response
Description:
1. Administrator enters his user id, password.
2. After successfully login. The administrator home page will be displayed.
3. Administrator enters the details of the DEO.
18
DeleteDEO:
A:Admin
:Delete
DB:DataBase
Enter UserID
Delete
Delete()
Send Acknowledgement
response
Description:
1. Administrator enters his user id, password.
2. After successfully login. The administrator home page will be displayed.
3.
19
Login:
D:DEO
L:Login
DB:DataBase
Server
Enter UserId
Enter password
get details
Sucessful Login
Home Page
Description:
1. Enter user id , password, select type of user in the login screen.
2. These values are check with the database values.
3. If the database values are matched. By using type of user.
4. Corresponding home page will be displayed.
20
check()
Material Update:
D:DEO
:Material
DB:DtaBase
change in database
check()
send acknowledgement
response
Description:
1. DEO enters his user id, password.
2. After successfully login. The DEO home page will be displayed.
3.
21
New Customer:
D:DEO
:Customer
enter details
DB:Data Base
store details
check()
send acknowledgement
responce
Description:
1. DEO enters his user id, password.
2. After successfully login. The DEO home page will be displayed.
3. Enter the customer details.
22
Status Update:
D:DEO
:Status
DB:Data Base
Enter UserId
Change Status
change in database
check()
send acknowlegdement
response
Description:
1. DEO enters his user id, password.
2. After successfully login. The DEO home page will be displayed.
3. update the work status of the customer.
23
Unlock Account:
A:Admin
:Unlock
DB:DataBase
Enter UserId
Unlock
unlock()
send Acknowledgement
response
Description:
1. Administrator enters his user id, password.
2. After successfully login. The administrator home page will be displayed.
3. Unlocks the DEO account.
24
Login:
1: Enter UserId
2: Enter password
D:DEO
L:Login
6: Home Page
5: Sucessful Login
4: check()
3: get details
DB:DataBase
Server
Material Update:
25
:Material
6: response
5: send acknowledgement
4: check()
3: change in database
DB:DtaBa
se
DeleteDEO:
1: Enter UserID
A:Admin
:Delete
5: response
4: Send Acknowledgement
3: Delete()
2: Delete
DB:DataB
ase
NewCustomer:
26
1: enter details
D:DEO
:Customer
5: responce
4: send acknowledgement
3: check()
2: store details
DB:Data
Base
Registration:
1: Enter details
A:Admin
R:Register
5: response
4: send Acknowledgement
3: check()
2: Store details
DB:DataB
ase
StatusUpdate:
27
1: Enter UserId
2: Change Status
D:DEO
:Status
6: response
5: send acknowlegdement
4: check()
3: change in database
DB:Data
Base
Unlock Account:
1: Enter UserId
A:Admin
:Unlock
5: response
4: send Acknowledgement
3: unlock()
2: Unlock
DB:DataB
ase
28
29
Login:
Login
invalid
check details
valid
main form
Registration:
30
Registration
invalid
Register
Database
check details
valid
Accept
Status update:
31
DEO login
invalid
check details
valid
Status
entered
invalid
check detail
valid
Update
Material Update:
32
DEO Login
invalid
check details
valid
Photosheet &
Chemical
Availability
Number
33
Unlock Account:
Admin
Login
invalid
check details
valid
Enter
UserId
check detail
invalid
valid
Delete
Employee Salaries:
34
Admin
Login
invalid
check details
valid
Enter
EmployeeId
invalid
check detail
valid
Enter
Salary
Customer Billing:
35
DEOLogin
invalid
Check Details
valid
Enter
Userid
invalid
check details
valid
Enter
Customer bIll
36
login.html
regisration.ht
ml
validations.js
core library
components
front panel
window
home.html
administrative
components
database
components
registration.dat
documentload.dat
documentshare.dat
approval.dat
docids.dat
jsps and
servlets
37
styles.css
<<Data Server>>
Deploy Database
<<server>>
Document
Management system
Administrati
ve servlets
<<client>>
DEO
<<client>>
Admin
38
Customer details
Reports
Bills
Materials
Employees
Customer Details:
DEO should enter the customer details carefully.
Reports:
After login in to the system Reports should be generated by the
DEO. The administrator views every day.
Bills:
The bills of the customer should be entered and updated by the
DEO.
Materials:
DEO should enter the details about the materials and updated them
every day.
Employees:
Admin should enter the details about the employees working in the
studio.Admin also enters the salary details of the employees every month.
39
40
41
<li><a href="cusbill.jsp">Billing</a></li>
<li><a href="employeedet1.jsp">Employee</a></li>
<li><a href="LoginPage.jsp">Logout</a></li>
</ul>
</div>
</body>
</html>
View customer.jsp:
<%@ page import="java.sql.*" language="java"contentType="text/html; charset=ISO-88591" pageEncoding="ISO-8859-1"%>
<!DOCTYPE
html
PUBLIC
"-//W3C//DTD
XHTML
1.0
Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>PHOTO LAB MANAGEMENT SYSTEMS</title>
<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
<script language="javascript">
function get(id) //ajax code for displaying values
{
var req1=getRequestObject();
req1.onreadystatechange=function(){handleResponse1(req1);}
req1.open("GET","getdetails.jsp?id="+id,true); //redirecting to other jsp page
req1.send(null);
}
function handleResponse1(req1)
{
if(req1.readystate==4)
{
var s=req1.responseText;
var x=s.split("$");
document.getElementById("d1").value=x[0]; //retriving the fields for displaying
document.getElementById("d2").value=x[1];
document.getElementById("d3").value=x[2];
if(x[3].indexOf("m")==4)
{
document.getElementById("d4").checked="true";
}
else
document.getElementById("d14").checked="true";
document.getElementById("d5").value=x[4];
document.getElementById("d8").disabled=true;
document.getElementById("d9").disabled=true;
42
document.getElementById("d10").disabled=true;
document.getElementById("t1").style.visibility="visible"; //hidding the field after displaying
the starting date
p2.innerText=x[5];
document.getElementById("d11").disabled=true;
document.getElementById("d12").disabled=true;
document.getElementById("d13").disabled=true;
document.getElementById("t2").style.visibility="visible"; //hidding the field after
displaying the delivery date
p3.innerText=x[6];
document.getElementById("d7").value=x[7];
document.getElementById("d15").value=x[8];
document.getElementById("d6").value=x[9];
document.getElementById("d17").disabled=true;
document.getElementById("t5").style.visibility="visible";
p5.innerText=x[10];
document.getElementById("d25").disabled=true;
document.getElementById("t6").style.visibility="visible";
p6.innerText=x[11];
document.getElementById("d23").value=x[12];
document.getElementById("d24").value=x[13];
if(x[14].indexOf("y")==4)
{
document.getElementById("d20").checked="true";
}
else
document.getElementById("d22").checked="true";
if(x[10].indexOf("y")==4)
{
document.getElementById("d30").style.visibility="visible";
document.f1.d31.src=x[15];
}
else
{
document.getElementById("d30").style.visibility="hidden";
document.f1.d31.src="";
}
}
}
function getRequestObject()
{
if(window.XMLHttpRequest)
{
return(new XMLHttpRequest());
}
else if(window.ActiveXObject)
43
{
return(new ActiveXObject("Microsoft.XMLHTTP"));
}
else
return(null);
}
</script>
</head>
<body>
<ul>
<li class="current_page_item"><a href="AdHome.jsp">Home</a></li>
</ul>
<center><h2> &nbs
p; &n
bsp;
&nb
sp; View
Customer Details</h2>
</center></div>
<form name="f1">
<table align="center">
<tr><td valign="top">
<div id="d30" style="visibility: hidden"><img src=""
name="d31" id="d31" width="200" height="200"></img></div>
</td>
<td> &nbs
p;</td>
<td><table align="center" width="500">
<tr><td>Userid:</td>
<td><input type="text" name="txt" id="d1" value='<%
String max=null;
String uid="";
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection
con=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl","system","server
");
Statement st = con.createStatement();
ResultSet res=st.executeQuery("select max(userid) from PLS");
res.next();
max=res.getString(1);
String max1=max.substring(3);
int i=Integer.parseInt(max1);
i=i+1;
uid="mrs"+String.valueOf(i);
uid.trim();
44
session.setAttribute("userid",uid);
%><%=uid %><%
}
catch(NullPointerException e) {
uid="mrs1";
session.setAttribute("userid",uid);
%><%=uid%> <%
}
catch(Exception s){
s.printStackTrace();
}%>'disabled /></td>
<td><p id="p1"></p>
</td>
<td rowspan="16"><select size="32"
onclick="get(this.value)">
<%
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con = DriverManager.getConnection(
"jdbc:oracle:thin:@localhost:1521:orcl", "system","server");
PreparedStatement pst = con.prepareStatement("select * from PLS");
ResultSet rs = pst.executeQuery();
while (rs.next()) {
%>
<option value="<%=rs.getString("userid")%>">
<%=rs.getString("userid")%></option>
<%
}
} catch (Exception e) {
System.out.println(e);
}%></select></td>
</tr>
<tr><td>Name:</td>
<td><input type="text" name="cn" id="d2"></td>
</tr>
<tr><td>Address:</td>
<td><textarea rows="5" cols="20" name="adrs"
id="d3"></textarea></td>
</tr>
<tr><td>Gender:</td>
<td><input type="radio" name="radio" id="d4" value="male">Male</td>
</tr>
<tr><td></td>
<td><input type="radio" name="radio" id="d14"
value="female">Female</td>
</tr>
45
<tr><td>Mobile:</td>
<td><input type="text" name="mobile" id="d5" value=+91></td>
</tr>
<tr><td>Starting Time:</td>
<td><select id="d8" name="sdate">
<option value="0">DD</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="03">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select> <select id="d9" name="smonth">
<option value="0">MM</option>
<option>JAN</option>
<option>FEB</option>
<option>MAR</option>
<option>APR</option>
<option>MAY</option>
<option>JUN</option>
<option>JUL</option>
46
<option>AUG</option>
<option>SEP</option>
<option>OCT</option>
<option>NOV</option>
<option>DEC</option>
</select> <select id="d10" name="syear">
<option value="0">YYYY</option>
<option>2000</option>
<option>2001</option>
<option>2002</option>
<option>2003</option>
<option>2004</option>
<option>2005</option>
<option>2006</option>
<option>2007</option>
<option>2008</option>
<option>2009</option>
<option>2010</option>
<option>2011</option>
<option>2012</option>
<option>2013</option>
<option>2014</option>
<option>2015</option>
</select></td>
</tr>
<tr><td><div id="t1" style="visibility: hidden"></div>
</td>
<td><p id="p2"></p>
</td>
</tr>
<tr><td>Delivery Time:</td>
<td><select id="d11" name="ddate">
<option value="0">DD</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option>10</option>
<option>11</option>
<option>12</option>
<option>13</option>
47
<option>14</option>
<option>15</option>
<option>16</option>
<option>17</option>
<option>18</option>
<option>19</option>
<option>20</option>
<option>21</option>
<option>22</option>
<option>23</option>
<option>24</option>
<option>25</option>
<option>26</option>
<option>27</option>
<option>28</option>
<option>29</option>
<option>30</option>
<option>31</option>
</select> <select id="d12" name="dmonth">
<option value="0">MM</option>
<option>JAN</option>
<option>FEB</option>
<option>MAR</option>
<option>APR</option>
<option>MAY</option>
<option>JUN</option>
<option>JUL</option>
<option>AUG</option>
<option>SEP</option>
<option>OCT</option>
<option>NOV</option>
<option>DEC</option>
</select> <select id="d13" name="dyear">
<option value="0">YYYY</option>
<option>2000</option>
<option>2001</option>
<option>2002</option>
<option>2003</option>
<option>2004</option>
<option>2005</option>
<option>2006</option>
<option>2007</option>
<option>2008</option>
<option>2009</option>
<option>2010</option>
<option>2011</option>
48
<option>2012</option>
<option>2013</option>
<option>2014</option>
<option>2015</option>
</select></td>
</tr>
<tr><td><div id="t2" style="visibility: hidden"></div>
</td>
<td><p id="p3"></p>
</td>
</tr>
<tr><td>Total Amount:</td>
<td><input type="text" id="d6" name="tam"></td>
</tr>
<tr><td>Advance:</td>
<td><input type="text" id="d23" name="advance"></td>
</tr>
<tr><td>Balance:</td>
<td><input type="text" id="d24" name="balance"></td>
</tr>
<tr><td>Paid:</td>
<td><input type="radio" name="radio1" id="d20"
value="yes">Yes</td>
</tr>
<tr><td></td>
<td><input type="radio" name="radio1" id="d22"
value="no">No</td>
</tr>
<tr><td>Status:</td>
<td><select id="d17" name="status">
<option value="0">select</option>
<option>YES</option>
<option>NO</option>
</select></td>
</tr>
<tr><td><div id="t5" style="visibility: hidden"></div>
</td>
<td><p id="p5"></p>
</td>
</tr>
<tr><td>No. of Copies:</td>
<td><input type="text" id="d7" name="noc"></td>
</tr>
<tr><td>Type of Photo:</td>
<td><select id="d25" name="top">
<option value="0">select</option>
49
<option>Passport</option>
<option>Stamp</option>
<option>MaxiSize 4*6</option>
<option>Size 6*8</option>
<option>Size 8*12</option>
<option>Size 10*12</option>
<option>Size 12*15</option>
<option>Size 15*18</option>
</select></td></tr>
<tr><td><div id="t6" style="visibility: hidden"></div>
</td>
<td>
<p id="p6"></p>
</td>
</tr>
<tr><td>Validity of the card Upto in days:</td>
<td><input type="text" id="d15" name="vup" value="20"
readonly="readonly"></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
50
7. SCREENS
Welcome page for Photo Lab Management System
http://localhost:8089/FINAL/LoginPage.jsp
51
52
53
54
55
56
8. Testing
8.1 Functional Test Cases
TEST
CASE ID
DESCRIPTION
TEST STEPS
EXPECTED
RESULT
PLS_Logi
n_tc_01
PLS_Reg
_tc_02
3.PLS
Home
page should be
displayed
1.PLS
registration
page should be
displayed with
the first name,
last name, user
id,
pwd,
confirm
password, date
of birth, phone
no,
submit
button.
Enter username, 2.Fields that are
first
name, to be stored into
password,
the database, a
confirm
message will be
password, type of displayed like
user.
user
successfully
registered to the
system.
57
RE
MA
RKS
OK
/ER
RO
R
DESCRIPTIO
8.2 Integration Test Cases
N
TEST
EXPECTED
REMA
OK/E
STEPS
RESULT
RKS
RRO
the Invoke
After the
R
PLS_customer_tc_0
Enter
customer
browser
successfully
details
login by the
Verify
the
DEO, home
customer
page of DEO
details
should be
entered by the
displayed.
DEO.
Click
Enter the
New
details about
Customer
the customer
like
name,address,
text fields and
submit, cancel
buttons should
Click
be displayed.
on Details about
Customer
the customer is
details
displayed when
the id of the
customer is
PLS_Staus_tc_04
clicked.
The
contains status
the
file
customer
page
upload
button
of
submit button.
the
and
customer.
PLS_Materials_tc_0
5
Click
Status
update
image of the
button
the Invoke
58
details of the browser
customer.
The
page
material types
Enter
contains
TEST CASE ID
DESCRIPTIO
TEST
EXPECTED
REMARK
DEF
STEPS
RESULT
ECT
ID
PLS_Unlock_tc
Mainly
for Invoke
After successfully
_06
login
by
the
the
me
administrator
page
of
administrator
should
be
displayed.
Click on Enter the userid
Unlock
and
account.
submit button.
PLS_
Deletion
delete_tc_07
of Invoke
click
on
After successfully
login
by
the
the
userid
click
delete button.
59
field
on
PLS_
Enter
the Invoke
employee_tc_08
details
the browser
employee
employee
details
like
name,salary,addre
ss etc fields.
Click on Enter
all
the
employee
insert
employee in the
corresponding
fields and click on
submit button.
PLS_
Enter
the Invoke
employeesal_tc_
details
about browser
08.1
and salaries
every month
60
of the salaries of
salaries
PLS_customer_tc_09
DESCRIPTI
TEST
EXPECTED
REM
ON
STEP
RESULT
ARK
S
Invok
After
successfully
brows
login
er
with
page should be
URL
displayed
add
by
the
with
customer
Click
hyper link.
Enter all
new
custo
customer
mer
click on submit
hyper
button.
link.
Click
submi
details
stored in to the
button database.
.
61
the
and
are
OK/ERROR
The
details
should
PLS_employee_tc_10
be
Invok
displayed.
After
successfully
brows
login
er
with
page should be
URL
displayed
add
by
the
with
employees
Click
hyper link.
Enter all
new
emplo employee
the
and
yee
click on submit
hyper
button.
link.
Click
submi
details
stored in to the
are
button database.
The
details
should
displayed.
9. Conclusion
62
be
Hardware Requirements:
1. PC with 2 GB hard-disk
2. 256 MB RAM
Software Requirements:
1. Windows 95/98/XP with MS-office
2. Apache Tomcat server
3. Java---front end
4. Oracle 10g--back end
64
PLS
DEODetails
block
employee3
empsal
image2
photosheet
chemical
11.1 PLS
Schema:
Name
USERID
Null?
Type
NAME
VARCHAR2(20)
ADDRESS
VARCHAR2(20)
GENDER
VARCHAR2(20)
MOBILE
VARCHAR2(20)
STARTINGDATE
VARCHAR2(20)
DELIVERYDATE
VARCHAR2(20)
NOC
NUMBER
VUP
NUMBER
TAM
NUMBER
STATUS
VARCHAR2(20)
TOPHOTO
VARCHAR2(20)
ADVANCE
VARCHAR2(20)
BALANCE
VARCHAR2(20)
PAID
VARCHAR2(20)
11.2 DEODetails
65
Schema:
Name
USERID
Null?
Type
PRIMARYKEY
VARCHAR2(20)
DEONAME
VARCHAR2(20)
ADDRESS
VARCHAR2(20)
GENDER
VARCHAR2(20)
MOBILE
NUMBER
DOB
VARCHAR2(20)
LOCATION
VARCHAR2(20)
PASSWORD
VARCHAR2(20)
11.3 block
Schema:
Name
USERID
Null?
Type
PRIMARYKEY VARCHAR2(20)
PASSWORD
VARCHAR2(12)
COUNT
NUMBER(2)
STATUS
VARCHAR2(5)
ENDMIN
NUMBER(2)
TYPE
VARCHAR2(10)
11.4 Employee3
Schema:
66
Name
Null?
Type
USERID
VARCHAR2(20)
NAME
VARCHAR2(20)
ADDRESS
VARCHAR2(20)
GENDER
VARCHAR2(20)
MOBILE
VARCHAR2(20)
DOB
VARCHAR2(20)
JD
VARCHAR2(20)
TW
VARCHAR2(20)
EXP
VARCHAR2(20)
SALARY
VARCHAR2(20)
11.5 Empsal
Schema:
Name
Null?
Type
EMPID
VARCHAR2(20)
SALARY
VARCHAR2(20)
PAIDDATE
VARCHAR2(20)
STATUS
VARCHAR2(20)
11.6 Image2
Schema:
Name
USERID
IMG
Null?
PRIMARYKEY
Type
VARCHAR2(30)
BLOB
11.7 Photosheet
Schema:
67
Name
AVAILABLEDATE
Null?
PRIMARYKEY
Type
VARCHAR2(20)
TOP
VARCHAR2(50)
VENDER
VARCHAR2(20)
COST
VARCHAR2(20)
AVAILABILITY
VARCHAR2(20)
NUM
VARCHAR2(20)
11.8 Chemical
Schema:
Name
AVAILABLEDATE
Null?
PRIMARYKEY
Type
VARCHAR2(20)
TOP
VARCHAR2(50)
VENDER
VARCHAR2(20)
COST
VARCHAR2(20)
AVAILABILITY
VARCHAR2(20)
NUM
VARCHAR2(20)
68
Limitations:
Enhancements:
69
Book References:
[1]
[2]
[3]
H.M. DEITEL & P.J . DEITEL , JAVA How to Program ,6th edition , 2005.
[4]
[5]
[6]
Web References:
[1]
www.w3schools.com
[2]
www.java2s.com
70