1.1.1 Java
1.1.1 Java
CHAPTER 1
INTRODUCTION
When we come to technology we are using java JDK 1.6 version , Java is a
programming language originally developed by James Gosling at Sun Microsystems
(which is now a subsidiary of Oracle Corporation) and released in 1995 as a core
component of Sun Microsystems' Java platform. The language derives much of its syntax
from C and C++ but has a simpler object model and fewer low-level facilities. Java
applications are typically compiled to byte code (class file) that can run on any Java Virtual
Machine (JVM) regardless of computer architecture. Java is a general-purpose, concurrent,
class-based, object-oriented language that is specifically designed to have as few
implementation dependencies as possible. It is intended to let application developers "write
once, run anywhere". Java is currently one of the most popular programming languages in
use, and is widely used from application software to web applications. Java is a platform
independent language. JDK is the Java Development Kit which includes the Java Runtime
Environment (JRE). JDK is for programmers to write Java programs and applets. Java is
used a lot on the web and also in mobile phones and consumer devices because java is
versatile and platform independent.
Sun Microsystems officially licenses the Java Standard Edition platform for Linux,
Mac OS X, and Solaris. Although in the past Sun has licensed Java to Microsoft, the license
has expired and has not been renewed. Through a network of third-party vendors and
licensees, alternative Java environments are available for these and other platforms.
Sun's trademark license for usage of the Java brand insists that all implementations
be "compatible". This resulted in a legal dispute with Microsoft after Sun claimed that the
Microsoft implementation did not support RMI or JNI and had added platform-specific
features of their own. Sun sued in 1997 and in 2001 won a settlement of US$20 million, as
well as a court order enforcing the terms of the license from Sun. As a result, Microsoft no
longer ships Java with Windows, and in recent versions of Windows, Internet Explorer
Dept of CSE Page 1 GSSSIETW
Online Job Searching
cannot support Java applets without a third-party plug-in. Sun, and others, have made
available free Java run-time systems for those and other versions of Windows.
Programs written in Java have a reputation for being slower and requiring more
memory than those written in C. However, Java programs' execution speed improved
significantly with the introduction of Just-in-time compilation in 1997/1998 for Java 1.1
the addition of language features supporting better code analysis (such as inner classes,
String Buffer class, optional assertions, etc.), and optimizations in the Java Virtual Machine
itself, such as Hotspot becoming the default for Sun's JVM in 2000. Currently, Java code
has approximately half the performance of C code.
Platforms offer direct hardware support for Java; there are microcontrollers that can
run java in hardware instead of a software JVM, and ARM based processors can have
hardware support for executing Java byte code through its Jazelle option.
One of the ideas behind Java's automatic memory management model is that
programmers can be spared the burden of having to perform manual memory management.
In some languages, memory for the creation of objects is implicitly allocated on the stack,
or explicitly allocated and reallocated from the heap. In the latter case the responsibility of
managing memory resides with the programmer. If the program does not reallocate an
object, a memory leak occurs. If the program attempts to access or reallocate memory that
has already been reallocated, the result is undefined and difficult to predict, and the program
is likely to become unstable and/or crash. Garbage collection may happen at any time.
Ideally, it will occur when a program is idle. It is guaranteed to be triggered if there is
insufficient free memory on the heap to allocate a new object; this can cause a program to
stall momentarily. Explicit memory management is not possible in Java.
Java does not support C/C++ style pointer arithmetic, where object addresses and
unsigned integers (usually long integers) can be used interchangeably. This allows the
garbage collector to relocate referenced objects and ensures type safety and security.
1.1.4 MYSQL
MySQL is a database system used on the web. Basically, a MySQL database allows
us to create a relational database structure on a web-server in order to store data or automate
procedures. MySQL is one of the most popular relational databases Management System
on the web. The MySQL Database has become the world's most popular open
source Database, because it is free and available on almost all the platforms. The MySQL
can run on Unix, window, and Mac OS. It is used for the internet applications as it provides
good speed and is very secure. It was developed to manage large volumes of data at very
high speed to overcome the problems of existing solutions. MySQL can be used for verity
of applications but it is mostly used for the web applications on the internet.
Usage of MYSQL
Scalability and Flexibility: Can handle embedded applications and massive data
warehouses.
1.2 OBJECTIVES
The objective of the web as well as web application is to provide flexibility to the
jobseekers by providing the functionalities of both job search and job application in
a single application.
In addition, this application provides an effective means for the employers to post
job vacancies and view the job applications by the interested applicants in a single
applications.
CHAPTER 2
REQUIREMENT SPECIFICATION
Processor : i3+
RAM : 8GB
Hard Disk : 100GB
Speed : 2.4 GHz+
CHAPTER 3
DESIGN
3.1 OVERVIEW
The Online Job Search Portal is a web-based and android application, which
revolutionizes the way companies hire the candidates and jobseekers search for job
vacancies. The employers can view reviews given by the jobseekers and make
improvements in their system accordingly. The application provides a flexible and easy to
use environment on desktops as well as portable devices like smart phones/tablets for the
users to achieve their respective objective.
The modules that I have implemented in the Job Search Portal are as listed.
Admin
User
Admin Spring Security provides the Admin login. The Admin module provides
various functionalities. The Admin users are responsible for activating and deactivating the
employer accounts. In addition, Admin users can view the list of employers registered with
the application.
User will be able to perform functions such as registering with the application and
creating an account by providing the details of Employer Name, Employer Code, Address,
Company E-mail, Mobile Number, Login Name, and Password that are stored in the User
table of MySQL database. Once the account is activated, this module allows User to post
jobs summarizing responsibilities and expected skills that will be saved in the Posted Jobs
table of MySQL database. The user will also be given privilege to activate or deactivate
jobs. He/she can view the list of job postings that are active. He/she can also view the
applicant details that have applied for a particular job posting. The user will be able to view
reviews provided by the jobseeker.
Home
This is the login Page where User and Admin both can login.
Sign Up
Company
The Admin is going to manage the companies and User is going to view the
company.
Company Registration
This page helps for registering user registering for a particular Company.
CHAPTER 4
IMPLEMENTATION
<%@page import="DAO.DAO"%>
<%@page import="java.sql.Statement"%>
<%@page import="java.sql.Connection"%>
<%@page import="java.sql.DriverManager"%>
<%@page import="java.sql.ResultSet"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Title goes here</title>
<meta name="description" content="Description of your site goes here">
<meta name="keywords" content="keyword1, keyword2, keyword3">
<link href="css/style.css" rel="stylesheet" type="text/css">
<style>
form {width:400px;}
label { float:left;width:150px;}
input{type=text} {float:left;width:250px;}
.clear {clear:both;height:0;line-height:0;}
.floatright {float:right;}
</style>
</head>
<body>
<div class="page-in">
<div class="page">
<div class="main">
<div class="header">
<div class="header-top">
<h1>YSK <span></span></h1>
</div>
<div class="header-bottom">
<h2>INNOVATION AND YOU</h2>
</div>
<div class="topmenu">
<ul>
<li style="background: transparent none repeat scroll 0% 50%; -moz-background-clip:
initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; padding-
left: 0px;"><a href="admin.jsp"><span>Home</span></a></li>
<li><a href="admin.jsp"><span>LogOut</span></a></li>
</ul>
</div>
</div>
<!--Designed by--><a href="http://www.usaonlinecasinos.org">
<img src="images/copyright.gif" class="copyright"
alt="http://www.usaonlinecasinos.org"></a>
<div class="content">
<div class="content-left">
<div class="row2">
<h2 class="subtitle">SignUp<span>Page</span></h2>
<p><strong>Welcome</strong></p>
<p> </p>
<div align="center">
<form>
<div>
<label>Your Name</label> <input type="text" name="input_name"
id="input_name">
</div>
<br>
<div>
<label>Email</label> <input type="text" name="input_email" id="input_email">
</div>
<br>
<div>
<label>Password</label> <input type="password" name="input_password"
id="input_password">
</div>
<br>
<div>
<label>Phone</label> <input type="text" name="input_phone" id="input_phone">
</div>
<br>
<div>
<label>Address</label> <input type="text" name="input_address"
id="input_address">
</div>
<br>
<button type="submit" name="btn_signup" id="btn_signup" onclick="return
signupVal()" style="margin-left:35%">SignUp</button>
</div>
</form>
</div>
<%
DAO dao=new DAO();
ResultSet resultSet;
if(request.getParameter("btn_signup")!=null) {
String name=request.getParameter("input_name");
String email=request.getParameter("input_email");
String pwd=request.getParameter("input_password");
String phone=request.getParameter("input_phone");
String address=request.getParameter("input_address");
CHAPTER 5
TESTING
5.1 Introduction to testing
Verification and validation is a generic name given to checking processes, which
ensures that the software confirms to its specifications and meets the demands of user.
Dept of CSE Page 11 GSSSIETW
Online Job Searching
Validation
Are we building the right product?
Validation involves checking that the program has implemented meets the
requirement of the users.
Verification
Are we building the product right?
These individual components will be tested to ensure that they operate correctly.
Integration testing:
This Phase involves testing collection of modules, which have been integrated into
sub system. Sub systems may be independently designed and implemented.
System testing:
The sub systems are integrated to make up the entire system. The errors that result
from unanticipated interaction between sub systems and system components are removed.
Button
CHAPTER 6
SNAPSHOTS
Fig 6.1 : Home Page – The login of User and Admin takes place in thi page.
Fig 6.2 : User Sign Up Page – New User need to Register in this page.
Fig 6.3 : Add Company Details – Company details are managed by Admin in this
page.
Fig 6.4 : View Company Details – User view the list of companies and applies for it.
Fig 6.5 : User Registration Page – User updates his credentials in this page.
Fig 6.6 : Thanks giving Page – It confirms the successful registration for the
company.
CONCLUSION
Job Search Portals stands as a revolutionizing element in the sphere of recruitment.
They act as a communication bridge between applicants and recruiters facilitating their
requirements. This application helps organizations to have a greater exposure to the
candidate pool and also job seekers facilitating wide search of jobs matching their interests.
The web application provides flexibility to the jobseekers to view the openings and applied
jobs without the need to carry a laptop.
This application provides an enhanced user experience for both employer and
jobseeker. It provides user friendly interface which facilitates in reaching wide range of
audience. The application has achieved all the requirements that were initially set in the
requirements gathering phase. Starting from requirements elicitation to design,
construction, implementation and testing, I have gained a very good experience working
with various technologies at every phase. Development of this project boosted my
confidence in web development.
FUTURE ENHANCEMENT
This project fulfills the primary requirements of the job seekers and employers. It
can be extended in several ways – We can provide recommendations and email updates for
new job postings based on the job seeker’s search history. Since, the job seekers might be
interested in building a strong Resume, we can provide tips and information for the same.
We can also provide templates for building the Resumes which might interest most
applicants. The mobile application is developed fulfilling the functionalities of job seeker,
it can be extended to support functionalities of Employer as well.
REFERENCE