Professional Documents
Culture Documents
1
About the organization
We’ve been working on an offshore development model from day 1 and have
perfected the process of onsite-offshore interaction over the past seven years. Our
services are highly cost effective enabling our clients to get the best value for their
money.
2
to create optimal, full integrated, interactive packages that best meet global business
demands.
3
About the project
Company Employees, those who are willing enquire about visa status are able
to login into this portal. Their empID is considered as username and their password
will be given by Company HR during his/her joining. Onsite employees may apply
for visa renewal thro this project.
The client of this project is any organization who is having many abroad and
US clients. This type of organizations is frequently sending their employees for their
4
US client. Our project is used to process their visa and store all the details regarding
the passport holder. Our project will handle all type of visas, and very much
concentrate in H1B visa processing. It will generate all possible reports, which are
need by Consulate.
SYSTEM ANALYSIS
5
Existing system
The problems, which are perceived by the customers / users in existing systems, are
Proposed system
6
Feasibility study
7
SYSTEM REQUIREMENT
SPECIFICATION
8
Purpose
Using JDBC we can observer how the java code will be interact with the
database and using servlet & JSP’s we can see how we can develop the presentation
logic and business logic.
Database Tier
The concentration is applied by adopting the Orace 10g version. SQL is taken
as the standard query language. The overall business rules are designed by using the
power of different SQL components like auto increment features, writing inner
queries functions and database triggers.
User Tier
9
Data Base Connectivity Tier
Functional Specification
10
Non-Functional Specifications
Constraints
These are the requirements that are not directly related to the functionality of
the system. These should be considered as mandatory when the system is developed.
The following Constraints were arrived at for the system:
The system should be available across the internet, the Users like the
Administrator (HR – Manager), HR Executive and Employee can use the
system from their respective systems.
For gaining entry into the system the HR Executive details should be
registered by the HR Manager and these users should use login & passwords
for gaining access in to this system.
The users should be able to change their passwords for increased security.
The system should be easy to understand and organized in a structured way
11
OPERATING ENVIRONMENT
This section explains the various technologies and tools used for development
and deployment of the system.
HTML
HTML is also often used to refer to content of the MIME type text/html or
even more broadly as a generic term for HTML whether in its XML-descended form
(such as XHTML 1.0 and later) or its form descended directly from SGML
12
rigid linear structure, we can easily jump from one point to another point. We can
navigate through the information based on our interest and preference. A markup
language is simply a series of elements, each delimited with special characters that
define how text or other items enclosed within the elements should be displayed.
Hyperlinks are underlined or emphasized works that load to other documents or some
portions of the same document.
HTML can be used to display any type of document on the host computer,
which can be geographically at a different location. It is a versatile language and can
be used on any platform or desktop.
HTML provides tags (special codes) to make the document look attractive.
HTML tags are not case-sensitive. Using graphics, fonts, different sizes, color, etc.,
can enhance the presentation of the document. Anything that is not a tag is part of the
document itself.
13
<SCRIPT>…</SCRIPT> Contains client-side or server-side script
<TABLE>…</TABLE> Creates a table
<TD>…</TD> Indicates table data in a table
<TR>…</TR> Designates a table row
<TH>…</TH> Creates a heading in a table
JavaScript
Even though JavaScript supports both client and server Web programming, we
prefer JavaScript at Client side programming since most of the browsers supports it.
JavaScript is almost as easy to learn as HTML, and JavaScript statements can be
included in HTML documents by enclosing the statements between a pair of scripting
tags
<SCRIPTS>.. </SCRIPT>.
<SCRIPT LANGUAGE = “JavaScript”>
JavaScript statements
</SCRIPT>
14
Detect installed plug-ins and notify the user if a plug-in is required.
We can do much more with JavaScript, including creating entire application.
15
XML – extensible Markup Language
Why XML?
16
expense. Viewing structured documents sent over the web rarely carries such
justification.
XML shall be compatible with SGML. Most of the people involved in the
XML effort come from organizations that have a large, in some cases staggering,
amount of material in SGML. XML was designed pragmatically, to be compatible
with existing standards while solving the relatively new problem of sending richly
structured documents over the web.
XML syntax
17
Java Technology
Initially the language was called as “oak” but it was renamed as “Java” in
1995. The primary motivation of this language was the need for a platform-
independent (i.e., architecture neutral) language that could be used to create software
to be embedded in various consumer electronic devices.
Java is a programmer’s language.
Java is cohesive and consistent.
Except for those constraints imposed by the Internet environment, Java
gives the programmer, full control.
Finally, Java is to Internet programming where C was to system
programming.
Java has had a profound effect on the Internet. This is because; Java expands
the Universe of objects that can move about freely in Cyberspace. In a network, two
categories of objects are transmitted between the Server and the Personal computer.
They are: Passive information and Dynamic active programs. The Dynamic, Self-
executing programs cause serious problems in the areas of Security and probability.
But, Java addresses those concerns and by doing so, has opened the door to an
exciting new form of program called the Applet.
Beyond the language, there is the Java virtual machine. The Java virtual
machine is an important element of the Java technology. The virtual machine can be
embedded within a web browser or an operating system. Once a piece of Java code is
loaded onto a machine, it is verified. As part of the loading process, a class loader is
invoked and does byte code verification makes sure that the code that’s has been
generated by the compiler will not corrupt the machine that it’s loaded on. Byte code
verification takes place at the end of the compilation process to make sure that is all
accurate and correct. So byte code verification is integral to the compiling and
executing of Java code.
18
Overall Description
.Java .Class
Java Architecture
Compilation of code
When you compile the code, the Java compiler creates machine code (called
byte code) for a hypothetical machine called Java Virtual Machine (JVM). The JVM
is supposed to execute the byte code. The JVM is created for overcoming the issue of
portability. The code is written and compiled for one machine and interpreted on all
machines. This machine is called Java Virtual Machine.
19
SERVLETS
The Java web server is JavaSoft's own web Server. The Java web server is just
a part of a larger framework, intended to provide you not just with a web server, but
also with tools. To build customized network servers for any Internet or Intranet
client/server system. Servlets are to a web server, how applets are to the browser.
Servlets are objects that conform to a specific interface that can be plugged
into a Java-based server. Servlets are to the server-side what applets are to the client-
side - object byte codes that can be dynamically loaded off the net. They differ from
applets in that they are faceless objects (without graphics or a GUI component). They
serve as platform independent, dynamically loadable, pluggable helper byte code
objects on the server side that can be used to dynamically extend server-side
functionality.
Features of Servlets:
Servlets are persistent. Servlet are loaded only by the web server and can
maintain services between requests.
Servlets are fast. Since Servlets only need to be loaded once, they offer
much better performance over their CGI counterparts.
Servlets are platform independent.
Servlets are extensible. Java is a robust, object-oriented programming
language, which easily can be extended to suit your needs
Servlets are secure.
Servlets can be used with a variety of clients.
20
Java Database Connectivity
JDBC is a Java API for executing SQL statements. (As a point of interest,
JDBC is a trademarked name and is not an acronym; nevertheless, JDBC is often
thought of as standing for Java Database Connectivity. It consists of a set of classes
and interfaces written in the Java programming language. JDBC provides a standard
API for tool/database developers and makes it possible to write database applications
using a pure Java API.
JDBC connectivity
21
Java Server Pages (JSP)
Java server Pages is a simple, yet powerful technology for creating and
maintaining dynamic-content web pages. Based on the Java programming language,
Java Server Pages offers proven portability, open standards, and a mature re-usable
component model .The Java Server Pages architecture enables the separation of
content generation from content presentation. This separation not eases maintenance
headaches; it also allows web team members to focus on their areas of expertise. Now,
web page designer can concentrate on layout, and web application designers on
programming, with minimal concern about impacting each other’s work.
The client sends a request to the web server for a JSP file by giving the name
of the JSP file within the form tag of a HTML page.
JSP engine is program which can under stands the tags of the jsp and then it
converts those tags into a Servlet program and it is stored at the server side.
This Servlet is loaded in the memory and then it is executed and the result is
given back to the JavaWebServer and then it is transferred back to the result is
given back to the JavaWebServer and then it is transferred back to the client.
22
MySQL
23
embed MySQL code into a commercial application you can buy a commercially
licensed version from us.
The MySQL Database Server is very fast, reliable, and easy to use. If that is
what you are looking for, you should give it arty. MySQL Server also has a practical
set of features developed in close cooperation with our users. You can find a
performance comparison of MySQL Server with other database managers on our
benchmark page. MySQL Server was originallu developed to handle large databases
much faster than existing solutions and has been successfully used in highly
demanding production environments for several years. Though under constant
development, MySQL Server todau offers a rich and useful set of functions. Its
connectivity, speed, and security make MySQL Server highly suited for accessing
databases on the Internet.
24
Overview of Tomcat Web Server
The Tomcat is the servlet container that is used in the official Reference
Implementation for the Java Servlet and java server pages technologies. The java
servlet and java server pages specifications are deployed by sun under the java
community process.
25
Software Requirements
Hardware Requirements
256 MB RAM.
Ethernet card.
26
SYSTEM DESIGN
27
System Design Overview
The most creative and challenging phase of the life cycle is System Design.
The term design describes a final system and process by which it is developed. It
refers to the technical specifications that will be applied in implementation of the
system. The design may be defined as the process of applying various techniques and
the principles for the purpose of defining device, a process or a system with sufficient
details to permit its physical realization.
The processing phases are handled through the program Construction and
Testing. Finally, details related to justification of the system and an estimate of the
impact of the system on the user and the organization are documented and evaluated
by the management as a step toward implementation.
Design provides us with representations of the soft wares that can be assessed
for quality. Design is the only way where we can accurately translate the customer’s
requirement into a complete project. So it is essential phase in the development of the
software product.
28
Architecture Diagram
29
DATA DICTIONARY
The project has been identified to contain 14 database tables, which are as follows
Application entry
Emp details
Enquiry
Execute
Interview
Login details
Onsite arrival
Onsite departure
Renewal
Reports
Results
30
Table Name: EMPDETAILS
31
Table Name: LOGINDETAILS
32
Table Name: RENEWAL
33
Module Description
To achieve the above said target, our project Visa Processing System will be
categorized as the following Modules.
Admin Module
Visa Processing Module
Onsite Communication Module
Reporting Module
Admin Module:
This is a main module. It handles all the details regarding visa application,
submitted documents, employee particulars, passport details, earlier onsite visits and
the details regarding their earlier tour details. This will be entered by HR Executive.
After applying visa every applicant should attain enquiry and interviews held by
consulates. These enquiry and interview details are stored in this module. The result
also logged in this module. These details also entered by HR Executive.
34
Onsite Data Module:
Candidate’s onsite particulars, like visa issuing date, flight date, no of days
spending at abroad, returning date, onsite job particulars are stored through this
module. This will be entered by HR Executive. Employee’s onsite progress like
project name, working period, working place and etc., are entered by the Employee
itself. In the case of renewal of visa, Employees can give a request to the HR Manager
for their renewal of visa. These requests are viewed by HR Manager and have process
on for Visa Renewal. Employees can view the visa renewal information and visa
process status like current visa status and finished visa status for different countries.
This Module deals all the available reports wanted by Hr Manager and Hr
Executive. Normally, Visa Status Report, Onsite details for an employee, Onsite work
progress details are important reports viewed by HR manager.
35
ER
36
HOTELMASTER
HOTELID EMPLOYEESANDVISAS
HOTELNAME VISAAPPLYID
HOTELADDR COUNTRIESMASTER COUNTRIESANDVISAS VISAAPPLYDATE
HOTELPHONENO
COUNTRYID EMPLOYEEID (FK)
HOTELCONTACTPERSONNAME
COUNTRYID (FK) PASSPORTID (FK)
HOTELMINRENTALCHARGES
COUNTRYNAME VISATYPE COUNTRYID (FK)
HOTELMAXCHARGES
COUNTRYABBR VISATYPEASPERCOUNTRY VISATYPE
COUNTRYDESCRIPTION VISATYPEDESC VISASTATUS
COUNTRYMAP SUPPORTIVEDOCUMENTS REMARKS
COUNTRYFLOAG VISATYPEELIGIBILITY REASONFORAPPLYVISA
COUNTRIESANDHOTELS COUNTRYINTROVEDEO RULESANDREGULATIONS VISAFROMDATE
STAMPINGGUIDELINES VISATODATE
VISACOST EMPLOYEEDATERELIEVED
COUNTRYID (FK)
VISAPERMITTIME EMPLOYEEDATEREJOINED
HOTELID (FK)
VISAAPPLICATIONFORM SUPORTIVEDOCUMENT
TICKETSMASTER EMBASSAYNAMEANDADDRESSTOVISIT
REMARKS
EMPLOYEETICKETID COUNTOFSUPPORTIVEDOC
EMPLOYEETRAVELID (FK)
COUNTRYWISEWORKPERMITINFO EMPLOYEEID (FK)
TICKETNO COUNTRIESVISITED
TICKETBOOKEDDASTE PASSPORTID
COUNTRYID (FK) TICKETAVAILABLEDATE
WORKPERMITID (FK) TICKETAVAILABLEDATETO EMPLOYEEID (FK)
WORKPERMITINFO TICKETFROM COUNTRYVISITEDID
TICKETTO VISASTAMPEDDATE
SEATNO VISATYPE
FLIGHTORTRAINNAME VISAVALIDFROM
FLIGHTORTRAINBIT VISAVALIDTO
DESIGNATIONMASTER TRAVELAGENTNAME COUNTRYSTAMPED (FK)
DESIGNATIONID INCHARGEPERSONIMAGE REMARKS
INCHARGECONTACTNO VISASTAMPIMAGE
DESIGNATIONNAME VISASTAMPAPERIMAGE
DESIGNATIONABBR
DESIGNATIONINCHGID
SUPERINDESIGNATIONID
EMPLOYEESANDVISADETAILS
SUPPORTIVEDOCID
EMPLOYEESANDWORKDESCRIPTION
VISAAPPLYID (FK)
EMPWORKDESCRIPTIONID
EMPLOYEEID (FK)
EMPLOYEEID (FK) SUPPORTIVEDOCIMAGES EMPLOYEEPASSPORTMASTER
EMPLOYEESSTAYMASTER VISAFORMFILLEDINFORMATION
PROJECTDETAILS PASSPORTID
EMPLOYEESTAYID REASONSFORDEPUTATION REMARKSONSUPPORTIVEDOC
DEPUTATIONRESPONSIBILITIES DOCAPPROVEDSTATUS PASSPORTNO
EMPLOYEETRAVELID (FK) DEPUTATIONINCHARGE (FK) DOCSUBMITEDDATE EMPLOYEEID (FK)
HOTELID (FK) DEPUTATIONDESGNID (FK) PLACEOFPASSPORT
ROOMNO
ADDRESSGIVENONPASSPORT
RESERVATIONNOFORREFERENCES
PASSPORTISSUEDDATE
PICKUPSTATION
PASSPORTEXPIRTYDATE
PICKUPVEHICLENO
ECNRSTATUS
COUNTRYID (FK) DEPARTMENTMASTER ADDRESSES IDENTIFACATIONMARKSONPASSPORT
PERSONCONTACTNO EMPLOYEEMASTER
DEPARTMENTID NOOFPAGESINPASSPORT
PERSONAME
EMPLOYEEID (FK) EMPLOYEEID PASSPORTCOUNTRY
PERSONIMAGE
DEPARTMENTNAME ADDRESSID CITIZENSHIPOFEMPLOYEE
DEPARTMENTABBR DOORNO FIRSTNAME PASSPORTIMAGE
DEPARTMENTINCHGID STREET LASTNAME
EMPLOYEETRAVELMASTER CITY DOB
STATE DOJ
EMPLOYEETRAVELID
COUNTRY LOGINID
EMPLOYEEID (FK) PINCODE PASSWORD
TRAVELSTRATDATE FORGOTPWQUESTION
TRAVELENDDATE FORGOTPWANSWER
COUNTRYID (FK) PASSPORTSTATUSBIT
SPECIALINSTRUCTIONS EMAIL
PHONE
PHOTO
MANAGERID (FK)
DEPARTMENTID (FK)
DESIGNATIONID (FK)
37
USECASES
38
Use Case Diagram
HR Executive
Visa
HR Manager App.
Visa
Process Entry
innnng
ng
Visa
HR Executive Proces
sor
Visa
Enquir
y
HR Executive
Onsite Visa
Details Intervi
Administrator ew
39
Class Diagram
Application
Update entry ()
40
Sequence Diagram
Auth()
Get()
Schedule()
Get()
41
Operation-Level Sequence Diagram
1: login
2: login
3: validate
4: validlogin
5: validlogin
42
3: validate
login
2: login 4: validlogin
5: validlogin 1: login
User
Administ
rator
login
validate
validLogin
getPresentUsingReport
selectInfo
ReportInfo
ReportOutput
43
Present Login User Report Collaborative Diagram
2: validate
1: login Login
Admi
n 3: validLogin
4: getPresentUsingReport Data
7: ReportOutput Base
5: selectInfo
6: ReportInfo
Repo
rt
44
Login
HR Executive
Validat Management
Activity Diagram eee
Employee Admin
Send Report Interview Interview
Schedules Report
HR Executive
Entry
45
Logout
Component Diagram :
46
47
Deployment Diagram
48
Deployment Diagram:
49
SAMPLE CODE
50
<%@ page language="java" %>
<%@ page session="true" %>
<%@ page import="java.sql.*,java.io.*,joseph.Database"%>
<HEAD>
<script LANGUAGE="Javascript" >
function ChkMandatoryField(F,T){
var val= F.value;
if(val==""){alert(T+" is mandatory");return false;}
}
function ChkNumField(F,T){
var val = F.value;
if(isNaN(val)==true||val=="")
{alert("Please enter numbers for "+T);return false;}
}
function ChkAlphaNumericField(F,T){
var val = F.value;
var pattern = /^([a-zA-Z0-9]{1,250})$/;
if(!(pattern.test(val)==true))
{alert("Please enter alphabets or numbers for "+T);return
false;}
}
function ChkAlphaField(F,T){
var val = F.value;
var pattern = /^([a-zA-Z ]{1,250})$/;
if(!(pattern.test(val)==true))
{alert("Please enter text for "+T);return false;}
}
function ChkEmailField(F,T){
var val = F.value;
51
var pattern = /^([a-zA-Z0-9\_\.]{4,25})$/;
if(!(pattern.test(val)==true))
{alert("Please enter valid email for "+T);return false;}
}
function ChkDateField(F,T)
{
var val = F.value;
var pattern = /^[0-9]{4}-[0-9]{2}-[0-9]{2}$/;
if(!(pattern.test(val)==true))
{alert("Please enter valid date format (yyyy-mm-dd) for "+T);
return false;}
}
function validate()
{
var frm = document.forms(0);
if(ChkMandatoryField(frm.UserName,'UserName')==false)
return false;
if(ChkEmailField(frm.UserName,'UserName')==false)
return false;
if(ChkMandatoryField(frm.Password,'Old Password')==false)
return false;
if(ChkAlphaNumericField(frm.Password,'Old
Password')==false)
return false;
if(ChkMandatoryField(frm.newPassword,'NewPassword')==false)
return false;
if(ChkAlphaNumericField(frm.newPassword,'NewPassword')==false)
return false;
}
</script>
</head>
<body Class="SC">
<FORM NAME="LOGIN" ACTION="AddAdminUser.jsp" METHOD="POST" >
52
<table width="900" height="100%" align="center">
<tr><td height="100" width="100%"><jsp:include
page="../General/header.jsp" flush="true" /></td></tr>
<tr><td width="100%" height="*" align="center">
<table width="100%" height="100%" border="0">
<tr><td width="175" height="100%" valign="top">
<jsp:include page="menu.jsp" flush="true" />
</td>
<td width="*" height="100%">
<TABLE align=center width="50%">
<TR class=row_even>
<TD>User name</TD>
<TD><input TYPE=text name=UserName size="8" value="" class="TextField
Medium"></TD>
</TR>
<TR class=row_odd>
<TD>Password</TD>
<TD><input TYPE=password name=Password class="TextField Medium"></TD>
</TR>
<TR class=row_odd>
<TD><INPUT TYPE=submit name=submit value="Submit" class=Button>
</TD>
53
</TABLE>
<P align=right><A href="home.jsp" class=genlinks> Home </A></P>
</td>
</tr>
</table>
</td>
</tr>
<tr><td height="50" align="center"><jsp:include page="../General/footer.jsp"
flush="true" /></td></tr>
</table>
</FORM>
</BODY>
54
<%@ page language="java" import="java.sql.*" errorPage="" %>
<html>
<head>
<title>Visa Processing</title>
<script language="JavaScript">
function Validate(){
var docF=document.f1;
if(docF.name.value==""){
alert("Plz Enter the Name");
docF.name.focus();
return false;
}
if(docF.d.value=="" || docF.m.value=="" || docF.y.value==""){
alert("Plz Specify your database in the correct format.");
if(docF.d.value=="")
docF.d.focus();
else if(docF.m.value=="")
docF.m.focus();
else
docF.y.focus();
return false;
}
if(docF.email.value==""){
alert("Enter Email ID");
docF.email.focus();
return false;
}
if(docF.phno.value==""){
alert("Enter Phone Number");
docF.phno.focus();
55
return false;}
if(isNaN(docF.phno.value)){
alert(" Plz Enter Phone Number in Correct Format");
docF.phno.select();
docF.phno.focus();
return false;
}
if(docF.add.value==""){
alert("Enter Address");
docF.add.focus();
return false;
}
if(docF.add.value.length>=200){
alert("Address Should not Exceeds 200 Character");
docF.add.select();
docF.add.focus();
return false;
}
return true;
}
</script>
</head>
<body>
<form name="f1" action="../newEmploy" onSubmit="return Validate();">
<table width="900" height="100%" align="center">
<tr><td height="100" width="100%"><jsp:include
page="../General/header.jsp" flush="true" /></td></tr>
<tr><td width="100%" height="*" align="center">
<table width="100%" height="100%" border="0">
<tr><td width="175" height="100%" valign="top">
<jsp:include page="EmployMenu.jsp" flush="true" />
</td>
<td width="100%" height="100%" align="center" valign="top"><br><br>
<table width="100%" border="0">
56
<tr> <td width="200" align="left"><font color="#001967"><strong>Add
New Employee</strong></font></td>
<td align="left" width="*"></td></tr>
<tr><td width="200" align="right"><font color="#001967">Emp ID :</font>
</td>
<td align="left"><input name="empid" type="text" id="empid"></td></tr>
<td align="left" width="*"></td></tr>
<tr><td width="200" align="right"><font color="#001967">Name :</font>
</td>
<td align="left"><input name="empname" type="text" id="empname">
</td></tr>
<tr><td width="200" align="right"><font color="#001967">Password
:</font> </td>
<td align="left"><input name="password" type="password"
id="password">
</td></tr>
<tr><td width="200" align="right"><font color="#001967">Designation
: </font></td>
<td align="left"><input name="designation" type="text" id="designation" >
</td></tr>
<tr><td width="200" align="right"><font color="#001967">Passport
Number : </font></td>
<td align="left"><input name="passno" type="text" id="passno"></td></tr>
<td width="200" align="right" valign="top" height="20"> </td>
<td align="left"> </td>
</tr>
<tr><td width="200" align="right"><input type="submit" value="Submit ">
</td><td align="left"> <input type="reset" value=" Clear "> </td></tr>
</table>
</td></tr>
</table>
</td></tr>
<tr><td height="50" align="center"><jsp:include page="../General/footer.jsp"
flush="true" /></td></tr>
57
</table>
</form>
</body>
</html>
<%@ page language="java" import="java.sql.*" errorPage="" %>
<html>
<head>
<title>Visa Processing</title>
</head>
<body>
<form name="f1" action="../newExecutive" onSubmit="return Validate();">
<table width="900" height="100%" align="center">
<tr><td height="100" width="100%"><jsp:include page="../General/header.jsp"
flush="true" /></td></tr>
<tr><td width="100%" height="*" align="center">
<table width="100%" height="100%" border="0">
<tr><td width="175" height="100%" valign="top">
<jsp:include page="menu.jsp" flush="true" />
</td>
<td width="300"><font color="#001967"><strong>Sucessfully Created New
Executive</strong></font></td>
</table>
</td>
</tr>
</td></tr>
<tr><td height="50" align="center"><jsp:include page="../General/footer.jsp"
flush="true" /></td></tr>
</table>
58
<%@ page language="java" import="java.lang.*,java.sql.*,joseph.Database" %>
<html>
<head>
<title>Visa Processing</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<table width="900" height="100%" align="center">
<tr><td height="100" width="100%"><jsp:include page="../General/header.jsp"
flush="true" /></td></tr>
<tr><td width="100%" height="*" align="center">
<table width="100%" height="100%" border="0">
<tr><td width="175" height="100%" valign="top">
<jsp:include page="EmployMenu.jsp" flush="true" />
</td>
<td width="*" height="100%" align="center" valign="top"><br><br>
<script language="JavaScript">
function Validate(){
var docF=document.f1;
if(docF.ExeID.value==""){
alert("Plz Select Employee to Delete.");
docF.ExeID.focus();
return false;
}
else if(confirm("Conform delete Execute : "+docF.ExeID.value)){
return true;
}
return false;
}
</script>
59
<form name="f1" action="../delEmploy" onSubmit="return Validate();"
method="post">
<font color="#001967">Select Employ To Delete : </font>
<%
Database con=new Database();
ResultSet rs=con.getResultSet("select EmpID,EmpName from empdetails");
%>
<select name="ExeID">
<option value="">..Select..</option>
<%
while(rs.next()){
String ID=rs.getString("EmpID");
String Name=rs.getString("EmpName");
%>
<option value="<%= ID %>"><%= ID %> <%= Name %></option>
<%
}
%>
</select><br><br><br>
<input type="submit" value=" Delete ">
</form>
</td>
</tr>
</table>
</td></tr>
<tr><td height="50" align="center"><jsp:include page="../General/footer.jsp"
flush="true" /></td></tr>
</table>
</body>
</html>
60
SYSTEM TESTING
61
INTRODUCTION:
After finishing the development of any computer based system the next
complicated time consuming process is system testing. During the time of testing only
the development company can know that, how far the user requirements have been
met out, and so on.
Following are the some of the testing methods applied to this effective project:
This examines the logic of the system. If we are getting the output that is
required by the user, then we can say that the logic is perfect.
SPECIFICATION TESTING:
We can set with, what program should do and how it should perform under
various condition. This testing is a comparative study of evolution of system
performance and system requirements.
In this the error will be found at each individual module, it encourages the
programmer to find and rectify the errors without affecting the other modules.
UNIT TESTING:
Unit testing focuses on verifying the effort on the smallest unit of software-
module. The local data structure is examined to ensure that the date stored temporarily
maintains its integrity during all steps in the algorithm’s execution. Boundary
conditions are tested to ensure that the module operates properly at boundaries
established to limit or restrict processing.
62
INTEGRATION TESTING:
Data can be tested across an interface. One module can have an inadvertent,
adverse effect on the other. Integration testing is a systematic technique for
constructing a program structure while conducting tests to uncover errors associated
with interring.
VALIDATION TESTING:
RECOVERY TESTING:
Recovery Testing is a system that forces the software to fail in variety of ways
and verifies that the recovery is properly performed. If recovery is automatic, re-
initialization, and data recovery are each evaluated for correctness.
SECURITY TESTING:
Security testing attempts to verify that protection mechanism built into system
will in fact protect it from improper penetration. The tester may attempt to acquire
password through external clerical means, may attack the system with custom
software design to break down any defenses to others, and may purposely cause
errors.
63
PERFORMANCE TESTING:
BLACKBOX TESTING:
OUTPUT TESTING:
After performing the validation testing, the next step is output testing of the
proposed system since no system would be termed as useful until it does produce the
required output in the specified format. Output format is considered in two ways, the
screen format and the printer format.
User Acceptance Testing is the key factor for the success of any system. The
touch with prospective system users at the time of developing and making changes
whenever required.
64
Test Cases
65
13 Put a Request for Visa renewal request -do- P
visa renewal should be sent to the
administrator
66
SCREENS
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
CONCLUSION
The customer has to login and check their visa status information
Employee payment information is not maintained in this application
Advanced techniques are not used to check the authorization.
Future Enhancements
94
It is not possible to develop a system that makes all the requirements of the user.
User requirements keep changing as the system is being used. Some of the future
enhancements that can be done to this system are:
95
Project Summary
This application software has been computed successfully and was also tested
successfully by taking “test cases”. It is user friendly, and has required options, which
can be utilized by the user to perform the desired operations.
The software is developed using Java as front end and MySQL as back end in
Windows environment. The goals that are achieved by the software are:
Instant access.
Improved productivity.
Optimum utilization of resources.
Efficient management of records.
Simplification of the operations.
Less processing time and getting required information.
User friendly.
Portable and flexible for further enhancement.
96
BIBLIOGRAPHY
97
Bibliography
WebSites:
www.java2s.com
www.w3schools.com
98