Code Monkey home page Code Monkey logo

ssh_1's Introduction

###实现员工管理系统

####开发环境 win7+IDEA+SSH框架。 ####写在前面的话 之前在学习了jsp、servlet、jdbc和mysql数据库相关技术之后就做过相关的客户员工之类的练习,初步学习了Struts2、Hibernate、Spring框架之后呢,就想使用ssh框架实现下类似的系统,对比一下使用框架和使用jsp、servlet 的好处优点。 这里做一个使用三个框架整合的案例,也算是对相关技术的复习运用,加深理解吧。详细过程请 请点击这里 或前往我的 简书地址 观看吧。

####相关技术介绍

  • MySQL:1. 这里我们采用手写代码创建相关表,掌握这种能力对我们以后的项目二次上线会有很大的帮助;2.SQL技巧;3.事务和行级锁的理解和一些应用。
  • hibernate:1.DAO层的设计与开发。2.hibernate的合理使用,使用配置xml实体与数据表实现ORM映射,实现进行数据库的访问。3.hibernate和Spring框架的整合。
  • Spring:1.Spring IOC帮我们整合Service以及Service所有的依赖。2.声明式事务。对Spring声明式事务做一些分析以及它的行为分析。
  • Struts2:1.Action处理请求控制。2.Struts2标签库。

####功能简述 1.首先是登陆页面,管理员登陆权限设定只能是人事部员工的才可以登陆 2.登陆只能可以在部门管理栏和员工管理,部门管理可以进行添加新部门、删除旧部门和编辑操作,员工管理同样也可以进行编辑、删除、添加新员工。 ####页面展示

登录页

详情页

详情页

编辑页面

数据表department

数据表emproyee

####项目代码编写

####1.创建项目项目工程 工程目录 工程目录

所需的jar包 工程目录 在这并没有使用maven( :)之前还没学会 ) ####2.业务分析 在这就不在太详细介绍了,对github编辑还不太熟,网咯慢,具体说明请前往我的简书博客,或直接查看源码 ####3.代码编写 包括sql 在这就不在太详细介绍了,对github编辑还不太熟,网咯慢,具体说明请前往我的简书博客,或直接查看源码

ssh_1's People

Contributors

joshul avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.