7/29/2019 Online Recruitment Presentation
1/120
Presentation on
project
Online
Recruitment
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
2/120
INTRODUCTION
Online Recruitment System enables the users to have the typical
examination facilities and features at their disposal. It resolves
typical issues of manual examination processes and activities into a
controlled and closely monitored work flow in the architecture of the
application. This multi platform solution brings in by default, the
basic intelligence and immense possibilities for further extension of
the application as required by the user. The system makes it friendly
to distribute, share and manage the examination entities with higherefficiency and easiness. The objective of these websites is to serve
as a common meeting ground for jobseekers and employers, both
locally and globally, where the candidates find their dream jobs and
recruiters find the right candidate to fulfill their needs. These sites
are specifically designed for those who seek the most demandingand challenging positions in their chosen field, with the most
dynamic employers. Thousands of websites compete for your
attention-each has its own unique interface, URL and peculiarities.
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
3/120
DAY - 1
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
4/120
Four Project Dimensions
People
Process
Product
Technology
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
5/120
Trade-off Triangle
Fast, cheap, good. Choose two.
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
6/120
Trade-off Triangle Know which of these are fixed &
variable for every project
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
7/120
People
Its always a people problem GeraldWeinberg, The Secrets of Consulting
Developer productivity: 10-to-1 range
- Improvements:
- Team selection
- Team organization
Motivation
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
8/120
People 2
Other success factors
Matching people to tasks
Career development Balance: individual and team
Clear communication
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
9/120
Process
Is process stifling?
2 Types: Management & Technical
Development fundamentals Quality assurance
Risk management
Lifecycle planning
Avoid abuse by neglect
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
10/120
Process 2
Customer orientation
Process maturity improvement
Rework avoidance
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
11/120
Product
The tangible dimension
Product size management
Product characteristics andrequirements
Feature creep management
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
12/120
Technology
Often the least important dimension
Language and tool selection
Value and cost of reuse
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
13/120
Planning
Determine requirements
Determine resources
Select lifecycle model Determine product features strategy
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
14/120
Tracking
Cost, effort, schedule
Planned vs. Actual
How to handle when things go off plan?
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
15/120
Measurements
To date and projected Cost
Schedule
Effort Product features
Alternatives Earned value analysis
Defect rates Productivity (ex: SLOC)
Complexity (ex: function points)
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
16/120
Technical Fundamentals
Requirements
Analysis
Design Construction
Quality Assurance
Deployment
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
17/120
Project Phases
All projects are divided into phases
All phases together are known as the
Project Life Cycle Each phase is marked by completion of
Deliverables
Identify the primary software projectphases
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
18/120
Lifecycle Relationships
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
19/120
Seven Core Project Phases
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
20/120
Project Phases
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
21/120
Phases VariationConcept
Exploration
System
Exploration
Requirements
Design
Implementation
Installation
Operations andSupport
Maintenance
Retirement
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
22/120
Technical Fundamentals
Requirements
Analysis
Design Construction
Quality Assurance
Deployment
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
23/120
DAY - 2
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
24/120
DIFFERENT MODULESOF PROJECT
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
25/120
Modules
1. Administrator
2. Jobseekers
3. Company
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
26/120
OBJECTIVE
This project is aimed at developing a web-based and central
recruitment Process system for the HR Group for a company. Some
features of this system will be creating vacancies, storing application
data, and Interview process initiation, Scheduling interviews, storing
Interview results for the applicant and finally Hiring of the applicant.
Reports may be required to be generated for the use of the HR
group.
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
27/120
DAY - 3
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
28/120
PROJECTCATEGORY
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
29/120
INPUTThe input design is the link between the information system and the user. It
comprises the developing specification and procedures for data preparation and
those stepsare necessary to put transaction data in to a usable form for processing can be
achieved by inspecting the computer to read data from a written or printed
document or it can occur by having people keying the data directly into the
system. The design of input focuses on controlling the amount of input required,
controlling the errors, avoiding delay, avoiding extra steps and keeping the
process simple. The input is designed in such a way so that it provides security
and ease of use with retaining the privacy. Input Design considered the following
things:
What data should be given as input?
How the data should be arranged or coded? The dialog to guide the operating personnel in providing input.
Methods for preparing input validations and steps to follow when error occur.
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
30/120
Inputs in our Project
Providing details for registration of candidate or company.
Add/ edit/ delete job details.
Create/ edit/ delete exams.
Add/ edit/ delete questions.
Change passwords (candidate, admin or company)
Edit/ update profile (candidate, admin or company)
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
31/120
OUTPUT
A quality output is one, which meets the requirements of the end user and
presents the information clearly. In any system results of processing are
communicated to the users and to other system through outputs. In output
design it is determined how the information is to be displaced for immediate
need and also the hard copy output. It is the
most important and direct source information to the user. Efficient and intelligentoutput design improves the systems relationship to help user decision-making.
Designing computer output should proceed in an organized, well thought out
manner; the right output must be developed while ensuring that each output
element is designed so that people will find the system can use easily and
effectively. When analysis design computer output, they should Identify the
specific output that is needed to meet the requirements.
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
32/120
OUTPUT(continue)
Select methods for presenting information.
Create document, report, or other formats that contain information produced by
the system.
The output form of an information system should accomplish one or more of
the following objectives.
Convey information about past activities, current status or projections of
the Future.
Signal important events, opportunities, problems, or warnings.
Trigger an action.
Confirm an action.
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
33/120
Outputs to our project
View questions.
View exams.
View company details
View job details
View exam result
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
34/120
PROPOSEDSYSTEM
Expected Advantages of Proposed System
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
35/120
Expected Advantages of Proposed System
Online Recruitment System enables the users to have the typical
examination facilities and features at their disposal.
It resolves typical issues of manual examination processes and
activities into a controlled and closely monitored work flow in the
architecture of the application.
This multi platform solution brings in by default, the basic
intelligence and immense possibilities for further extension of the
application as required by the user.
The system makes it friendly to distribute, share and manage the
examination entities with higher efficiency and easiness.
It is a comprehensive resource for finding a job online.
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
36/120
Description ofthe Project
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
37/120
Projects Overview
Online Recruitment is aimed at developing a web-based and central
recruitment Process system for the HR Group for a company.
Some features of this system will be creating vacancies, storing application
data, and Interview process initiation, Scheduling Interviews, Storing Interview
results for the applicant and finally hiring of the applicant.
This project Online Recruitment System is an online website in which
jobseekers can register themselves and then attend the exam.
Based on the outcome of the exam the jobseekers will be shortlisted.
The details of the examination & Date of the examination will be made
available to them through the website.
People all around the world can apply and register.
It has made all the process easy.
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
38/120
MY MODULE
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
39/120
Administrator
. Administrator: Administrator has the full authority over the website.
He can view all the registered users and have the power to delete
them. He can edit the web pages and update them. He can view all
the company details also.
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
40/120
Job Seeker
Jobseeker: A jobseeker can register himself. After registration, he
will be directed to his homepage. Here he can update his profile,
change password and see the examination details and all.
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
41/120
Company
Company: A company can register itself, conduct online
examination, approve or disapprove candidates attending
examination and provides results about the selected candidates.
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
42/120
DAY - 4
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
43/120
DatabaseTables
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
44/120
Login
Fieldname Data Type KeyUsername Text Primary key
Password Text -
Status Text -
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
45/120
DetailsFieldname Data Type KeyUsername Text Primary key
Name Text -
Gender Text -DateOfBirth Text -
CollegeName Text -
CollegePhone Text -
CollegeEmail Text -
Branch Text -
Mark Text -
Degree Text -
Email_id Text -
Telephone Text -
Address Text --
State Text -
Pincode Text -
Category Text -
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
46/120
Experienced
Fieldname Data Type KeyUsername Text Primary key
ExpYears Text -
Company Text -
Designation Text -Salary Text -
ComAddress Text -
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
47/120
Job Details
Fieldname Data Type KeyJobId Text -
Post Text -
Criteria Text -
NoOfVacancies Text -Salary Text -
LastDate Text -
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
48/120
Exam
Fieldname Data Type KeyJobID Text -
Post Text -
ExamID Text -
ExamName Text -Cutoff Text -
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
49/120
Question
Fieldname Data Type KeyJobID Text Primary key
ExamID Text -
QuestionNo Text -
Question Text -Option1 Text -
Option2 Text -
Option3 Text -
Option4 Text -
Answer Text -
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
50/120
Com
Fieldname Data Type KeyCName Text Primary key
CAddress Text -
CPost Text -
CCriteria Text -CUsername Text -
CEmail Text -
CContact Text -
CCutoff Text -
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
51/120
Result
Fieldname Data Type KeyStudentID Text -
examID Text -
JobID Text -
mark Text -
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
52/120
Temp_data
Fieldname Data Type KeyStudentID Text -
QstNo Text -
Qst Text -
Ch1 Text -Ch2 Text -
Ch3 Text -
Ch4 Text -
Ans Text -
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
53/120
Data Flow
Diagrams
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
54/120
Context Level
Administrator
Online
Recruitment
System
Database
Company Candidate
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
55/120
Admin Level 1
AdminLogin
Company
Mangement
System
1.1.1
User
Managemen
t 1.1.2
Short listing
of
Candidates
Data store
Username
Password
Category
If authenticated
user
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
56/120
Company Level 1
Admin
Validate
Company
View
Details
Update user
Status
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
57/120
User Management
Level 1
AdminView
Resume
View
Details
Validate
userUpdate
Resume of
Registered users
User details
Experience details
Education details
Company Level 2
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
58/120
Company Level 2
Company
Login
Change
Password
View
Result
Edit
Profile
Job
Details
Questions
UpdatePassword
Update
Company details
Insert
Job details
Add
View
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
59/120
Candidate
JobseekerEdit
Profile
Change
Passwor
d
View Job
Details
Attend
Exam
Update
User details
Update
Password
Job details
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
60/120
ASPECTSOFIMPLEMENTATION
D i P tt
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
61/120
Design Patterns
Each pattern describes a problem which occurs over
and over again in our environment, and then describes
the core of the solution to that problem, in such a way
that you can use this solution a million times over,
without ever doing it the same way twice. [1]
[Christopher Alexander]
Design patterns capture the best practices ofexperienced object-oriented software developers.
Design patterns are solutions to general software
development problems.
:: What is a Design Pattern?
DATA ACCESS OBJECTS
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
62/120
DATA ACCESS OBJECTS
Data Access Objects (DAOs) : can be used in a large percentage of applications - anywhere data
storage is required.
hide all details of data storage from the rest of the application.
act as an intermediary between your application and the database.They move data back and forth between Java objects and databaserecords.
allow ripple effects from possible changes to the persistencemechanism to be confined to a specific area.
ADVANTAGES OF DAO
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
63/120
ADVANTAGES OF DAO
Enables Transparency
Enables Easier Migration
Not Useful for Container-Managed Persistence
Adds Extra Layer
Needs Class Hierarchy Design
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
64/120
Pattern: Singleton
a class that has only one instance
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
65/120
Restricting object creation
problem: sometimes we will really only ever
need one instance of a particular class examples: keyboard reader, bank data collection
we'd like to make it illegal to have more than one,just for safety's sake
why we care:
creating lots of objects can take a lot of time
extra objects take up memory
it is a pain to deal with different objects floatingaround if they are essentially the same
Singleton pattern
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
66/120
Singleton pattern
singleton: an object that is the only object of its type
ensures that a class has at most one instance
provides a global access point to that instance
takes responsibility of managing that instance awayfrom the programmer (illegal to construct moreinstances)
provide accessor method that allows users to seethe (one and only) instance
possibly the most known / popular design pattern!(this should tell you something)
Restricting objects
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
67/120
Restricting objects, (continued)
One way to avoid creating objects:use static methods instead
Math, System, JOptionPane
is this a good alternative choice? Why or why not? Problem: lacks flexibility
Example: static methods can't be passed as an argument toa method, nor returned
Problem: cannot be extended Example: static methods can't be subclassed and overridden
like a singleton's could be
Implementing Singleton
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
68/120
make constructor(s) private so that they cannot be called from outside
declare a single static private instance of the
class write a public getInstance() or similar
method that allows access to the single
instance
possibly protect / synchronize this method to ensure
that it will work in a multi-threaded program
Implementing Singleton
Singleton sequence diagram
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
69/120
Singleton sequence diagram
Singleton example
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
70/120
consider a singleton class RandomGenerator that
generates random numbers
public class RandomGenerator {private static RandomGenerator gen = newRandomGenerator();
public static RandomGenerator getInstance() {return gen;
}
private RandomGenerator() {}
public double nextNumber() {return Math.random();
}}
possible problem: always creates the instance, even if
it isn't used
Singleton example
Singleton example 2
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
71/120
variation: don't create the instance until needed// Generates random numbers.public class RandomGenerator {private static RandomGenerator gen = null;
public static RandomGenerator getInstance() {if (gen == null)
gen = new RandomGenerator();return gen;
}}
What could go wrong with this version?
Singleton example 2
Singleton example 3
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
72/120
variation: solve concurrency issue by locking
// Generates random numbers.public class RandomGenerator {private static RandomGenerator gen = null;
public static synchronized
RandomGenerator getInstance() {if (gen == null)gen = new RandomGenerator();
return gen;}
}
Is anything wrong with this version?
Singleton example 3
Singleton example 4
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
73/120
variation: solve concurrency issue withoutunnecessary locking
// Generates random numbers.public class RandomGenerator {
private static RandomGenerator gen = null;
public static RandomGenerator getInstance() {if (gen == null) {
synchronized (RandomGenerator.class) {// must test again -- can you see why?
if (gen == null)gen = new RandomGenerator();
}}return gen;
}
}
Singleton example 4
Singleton example
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
74/120
consider a class RandomGenerator that generatesrandom numbers
public class RandomGenerator {private static RandomGenerator gen;
public static RandomGenerator getInstance() {return gen;
}
private RandomGenerator() {}
public double nextNumber() {return Math.random();
}
}
Singleton example
H d it W k?The Factory Pattern
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
75/120
The Factory pattern returns an instance of one of several possible classes
depending on the data provided to it.
:: How does it Work?
Here, x is a base class and classes xy and xz are derived from it.
The Factory is a class that decides which of these subclasses to return
depending on the arguments you give it.
The getClass()method passes in some value abc, and returns some instanceof the class x. Which one it returns doesn't matter to the programmer since
they all have the same methods, but different implementations.
The Factory Pattern
Th B Cl
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
76/120
Let's consider a simple case where we could use a Factory class.
Suppose we have an entry form and we want to allow the user to enter
his name either as firstname lastname or as lastname, firstname.
Lets make the assumption that we will always be able to decide the
name order by whether there is a comma between the last and first
name.
:: The Base Class
class Namer {//a simple class to take a string apart into two names
protected String last; //store last name here
protected String first; //store first name here
public String getFirst() {
return first; //return first name
}public String getLast() {
return last; //return last name
}
}
The Factory PatternTh Fi t D i d Cl
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
77/120
In the FirstFirstclass, we assume that everything before the last space is part of
the first name.
:: The First Derived Class
class FirstFirst extends Namer {
public FirstFirst(String s) {
int i = s.lastIndexOf(" "); //find sep space
if (i > 0) {first = s.substring(0, i).trim(); //left is first name
last =s.substring(i+1).trim(); //right is last name
} else {
first = // put all in last name
last = s; // if no space
}
}
}
The Factory PatternThe Second Deri ed Class
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
78/120
In the LastFirstclass, we assume that a comma delimits the last name.
:: The Second Derived Class
class LastFirst extends Namer {//split last, first
public LastFirst(String s) {
int i = s.indexOf(","); //find comma
if (i > 0) {last = s.substring(0, i).trim(); //left is last name
first = s.substring(i + 1).trim(); //right is first name
} else {
last = s; // put all in last name
first = ""; // if no comma
}
}
}
The Factory Pattern:: Building the Factory
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
79/120
The Factory class is relatively simple. We just test for the existence of a comma
and then return an instance of one class or the other.
:: Building the Factory
class NameFactory {
//returns an instance of LastFirst or FirstFirst
//depending on whether a comma is found
public Namer getNamer(String entry) {int i = entry.indexOf(","); //comma determines name
order
if (i>0)
return new LastFirst(entry); //return one class
else
return new FirstFirst(entry); //or the other
}
}
The Factory Pattern:: Using the Factory
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
80/120
:: Using the Factory
NameFactory nfactory = new NameFactory();
String sFirstName, sLastName;.
private void computeName() {
//send the text to the factory and get a class back
namer = nfactory.getNamer(entryField.getText());
//compute the first and last names using the returned classsFirstName = namer.getFirst();
sLastName = namer.getLast();
}
The Factory Pattern
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
81/120
The Factory Pattern
You should consider using a Factory pattern when:
A class cant anticipate which kind of class of objects it must create.
A class uses its subclasses to specify which objects it creates.
You want to localize the knowledge of which class gets created.
There are several similar variations on the factory pattern to recognize:
The base class is abstract and the pattern must return a complete
working class.
The base class contains default methods and is only subclassed for
cases where the default methods are insufficient. Parameters are passed to the factory telling it which of several class
types to return. In this case the classes may share the same method
names but may do something quite different.
:: When to Use a Factory Pattern
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
82/120
DAY - 5
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
83/120
APPLICATION
ARCHIETECTURE
N-TIER
ARCHITECTURE
WHAT IS N-TIER ARCHIETECTURE
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
84/120
WHAT IS N TIER ARCHIETECTURE
Firstly, what is n-Tier architecture? N-Tier
architecture refers to the architecture of an
application that has at least 3 "logical" layers --or parts -- that are separate. Each layer interacts
with only the layer directly below, and has
specific function that it is responsible for.
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
85/120
Presentation Tier
Caching Service Tier
Application Server Tier
Integration Service Tier
Data Tier (Back-end Services)
WHY N-TIER ARCHIETECTURE
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
86/120
WHY N TIER ARCHIETECTURE
Because each layer can be located on physically different servers
with only minor code changes, hence they scale out and handle
more server load. Also, what each layer does internally is completely
hidden to other layers and this makes it possible to change or
update one layer without recompiling or modifying other layers.
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
87/120
Project
Design
Pattern
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
88/120
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
89/120
HARDWARE &SOFTWARE
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
90/120
HARDWARE
Hardware SpecificationCPU : PENTIUM IV
PROCESSOR SPEED : 2 GHz
COPROCESSOR : BUILT IN
TOTAL RAM : 128 MB
DISKETTE A : 1.44 MB FLOPPY 3.5
HARD DISK : 40 GBKEYBOARD : 105 KEYS
MOUSE : LOGITECH MOUSE
DISPLAY : SGVA COLOR
PRINTER : HP DESK JET
SOFTWARE
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
91/120
SOFTWARE
FRONT END : J2EE
BACK END : MICROSOFT ACCESS 2003
OPERATING SYSTEM : WINDOWS XP
Software & Hardware Tools
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
92/120
Software & Hardware Tools
Development Environment:
Operating System: Linux Red Hat, Windows XP SP2 or above
The system will be built on windows compatible environment. The
application will be web based developed using Java technology.
Integrated Development Environment(IDE): Eclipse Helios
Eclipse is a multi-language software development environment
comprising an integrated development environment (IDE) and an
extensible plug-in system.
S ft & H d T l
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
93/120
Software & Hardware Tools
Web Server: Tomcat 7.0
Apache Tomcat is an open source software implementation of the
Java Servlet and Java Server Pages technologies. Apache Tomcat
is an open source software implementation of the Java Servlet and
Java Server Pages technologies.
Data Base: My SQL 5.0
MySQL is a relational database management system (RDBMS) that
runs as a server providing multi-user access to a int of databases.
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
94/120
Software & Hardware Tools
Client Browsers:
Support all browsers
Dream Weaver CS5
The system will be developed with Java Technologies using J2SE
(JDK and JRE). Dream Weaver CS5 as HTML editor
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
95/120
LIMITATIONS
LIMITATIONS
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
96/120
The most notable features which were not implemented in the system are
table management and a more intuitive order item notes interface.
These features were not implemented because of time constraints. The
process of removing features from software when time is running out is
known as feature cutting. A drawback of removing features at such a late
stage in the project is that some time will probably have already been
wasted on the design or partial implementation of these features.
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
97/120
FUTURE
ENHANCEMENTS
FUTURE ENHANCEMENT
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
98/120
Online recruiting and online recruitment systems, with its emphasis on a more
strategic decision making process is fast gaining ground as a popular
outsourced function.
Most Online Recruiting sites deliver easy-to-use search capabilities, customer
service and convenience. The immense power of web enabling crucial
recruitment processes to covert them into online recruitment systems is a key
factor in easing out the recruitment processes.
Recruiting and staffing software makes data collection easier and tasks get
completed quicker. The return on investment is immediate, simply because of
the reduced time and increased ease of recruitment processes.
E-Recruiting technology is skill-based with automated pre-screening features
which is the next step in the evolution of online recruiting.
FUTURE ENHANCEMENT(continue)
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
99/120
Corporate expenditures for these Online-recruiting services areanticipated to increase dramatically in the next few years as
corporate end users upgrade their hiring methodologies, strategies
and technologies for finding talent.
The three macro economics trends that are seen as fuelling
the growth of this industry are: Shorter employment tenures
Shrinking labor pools
Need for technology workers
In wake of the new and related trends, it is imperative for
frequent upgrades to a companys software or web applications to
make it easier for clients and employees to address new business
needs.
FUTURE ENHANCEMENT(continue)
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
100/120
Screen Shots
Home Page
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
101/120
g
Login
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
102/120
Login
Candidate
Registration
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
103/120
Registration
Company Registration
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
104/120
Company Registration
C H P
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
105/120
Company Home Page
C Edit P fil
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
106/120
Company Edit Profile
Company- change
password
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
107/120
password
Add job Detail
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
108/120
Add job Detail
View Job Detail
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
109/120
View Job Detail
Exam Creation
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
110/120
Exam View
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
111/120
Add Question
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
112/120
Question Selection
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
113/120
View Question
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
114/120
Candidates Home Page
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
115/120
Candidates Edit Profile
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
116/120
Candidates change
password
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
117/120
Admin Home Page
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
118/120
Admins company
details
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
119/120
Admins change
password
http://www.51ppt.com.cn/http://www.51ppt.com.cn/http://www.51ppt.com.cn/7/29/2019 Online Recruitment Presentation
120/120