文章目录
- 1 项目包含内容
- 2 样例 - 网上招聘系统的设计与实现
- 2.1 系统研究背景
- 2.2 系统研究意义
- 2.3 开发环境
- 2.4 系统设计
- 2.4.1 系统设计模块
- 2.4.2 运行结果展示
- 2.4.3部分实现代码
- 最后
1 项目包含内容
包含内容:
- 项目源码 + 数据库 + 部署视频
- 论文+答辩PPT+任务书
文档和代码:
文档:
论文预览:
2 样例 - 网上招聘系统的设计与实现
2.1 系统研究背景
伴随着中国经济的飞速发展,城市化进程的加快,求职者队伍的不断壮大,传统人才招聘的弊端初露端倪。首先,传统人才应聘的形式是求职者和企业的负责人面对面地交流。这就需要企业和求职者提前规划自己的时间,准备大量的纸质材料,并选好举办招聘会的地点,这一系列流程都需要双方把大量的精力投入到准备活动中去,使得应聘还未开始,成本就已大幅增加。其次,企业在筛选数以百计,甚至数以万计简历的时候,往往会由于阅读疲劳,漏掉一些真正有价值的简历,使得企业丧失掉一批有用的人才。对于求职者而言,也会错失掉良好的机会,令人惋惜。
随着国内互联网飞速的发展,人们已经越来越习惯于使用互联网传递信息,接收信息,利用互联网技术使得自己的生活更加便利,快捷。在这样一种大趋势下,网上人才招聘系统出现在了人们的眼前。而且由于网络招聘较传统招聘具有多项优势,越来越多的求职者选择网络求职成为自己的应聘方式。
2.2 系统研究意义
本系统开发的意义一方面在于突破传统人才招聘的模式,给招聘者和求职者提供一个便利、高效、准确的网络招聘平台,使得双方可以在把成本降到最低的前提下,在更快的时间获得更加准确的信息,从而满足企业的用人需求,实现求职者的自我价值。另一方面在于完善网络招聘服务工作,建立服务体系,通过对用户需求的研究,开发出更符合实际应用的软件。
2.3 开发环境
- 操作系统:Windows10
- 数据库版本:Oracle10g XE
- JDK版本:JDK1.8
- 服务器版本:apache-tomcat-8.0.24-windows-x64
技术栈
- 后端 :Core Java、Servlet、Jsp、MyBatis
- 前端 :HTML+CSS实现页面布局,部分功能使用Jquery和Ajax减轻服务器端的压力。
2.4 系统设计
2.4.1 系统设计模块
2.4.2 运行结果展示
2.4.3部分实现代码
ApplyServlet.java
package tyut.web;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.Servlet;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import tyut.bean.Employee;
import tyut.service.imp.IEmployeeServiceImp;
/**
* Servlet implementation class ApplyServlet
*/
public class ApplyServlet extends HttpServlet implements Servlet {
private static final long serialVersionUID = 1L;
/**
* @see HttpServlet#HttpServlet()
*/
public ApplyServlet() {
super();
// TODO Auto-generated constructor stub
}
/**
* @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
*/
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// TODO Auto-generated method stub
doPost(request, response);
}
/**
* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
*/
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// TODO Auto-generated method stub
PrintWriter out = response.getWriter();
out.println("<html>");
out.println("<script>");
long p_id = Long.parseLong(request.getParameter("p_id"));
long c_id = Long.parseLong(request.getParameter("c_id"));
IEmployeeServiceImp iEmployeeServiceImp = new IEmployeeServiceImp();
Employee employee = iEmployeeServiceImp.query(p_id, c_id);
if(employee==null){
iEmployeeServiceImp.insert(p_id, c_id);
out.println("alert('申请成功')");
}else{
out.println("alert('您已申请过该公司!不能重复申请!')");
}
out.println("window.open ('"+request.getContextPath()+"/index.jsp','_top')");
out.println("</script>");
out.println("</html>");
out.flush();
out.close();
}
}
RegisterServlet.java
package tyut.web;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Date;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import tyut.bean.Company;
import tyut.bean.Person;
import tyut.service.imp.ICompanyServiceImp;
import tyut.service.imp.IPersonServiceImp;
/**
* Servlet implementation class PersonRegisterServlet
*/
public class RegisterServlet extends HttpServlet {
private static final long serialVersionUID = 1L;
/**
* @see HttpServlet#HttpServlet()
*/
public RegisterServlet() {
super();
// TODO Auto-generated constructor stub
}
/**
* @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
*/
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// TODO Auto-generated method stub
doPost(request, response);
}
/**
* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
*/
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// TODO Auto-generated method stub
String username = request.getParameter("username");
String password = request.getParameter("password");
String name = request.getParameter("name");
String phone = request.getParameter("phone");
String email = request.getParameter("email");
String trade = request.getParameter("trade");
String salary = request.getParameter("salary");
String tip = request.getParameter("tip");
String sex = request.getParameter("sex");
String isAuto = request.getParameter("isAuto");
boolean bool = false;
PrintWriter out = response.getWriter();
//个人注册
if(sex!=null){
String birthday = request.getParameter("birthday");
String school = request.getParameter("school");
Person person = new Person(username, password, name, sex, birthday, phone, email, school, trade, salary, tip);
IPersonServiceImp iPersonServiceImp = new IPersonServiceImp();
bool = iPersonServiceImp.register(person);
if(bool == false){
//ajax向前台传值
out.write("该用户名已存在!");
//注册成功
}else{
//注册完立即发布简历
if(isAuto!=null){
person.setPubtime(new Date());
iPersonServiceImp.publish(person);
}
}
}
//公司注册
else{
String location = request.getParameter("location");
Company company = new Company(username, password, name, phone, email, location, trade, salary, tip);
ICompanyServiceImp iCompanyServiceImp = new ICompanyServiceImp();
bool = iCompanyServiceImp.register(company);
if(bool == false){
out.write("该用户名已存在!");
//注册成功
}else{
//注册完立即发布简历
if(isAuto!=null){
company.setPubtime(new Date());
iCompanyServiceImp.publish(company);
}
}
}
out.flush();
out.close();
}
}
最后