毕业论文随着智能手机的普及,人们对手机的各种应用功能的需求也越来越多越来越高,特别是Android平台,由于其良好的开发和调试环境而受到大众的欢迎。本次毕业设计的主题是基于安卓操作系统的图书管理系统中学生端登录模块的设计。采用C/S结构即分别设计客户端和服务器端,通过HTTP访问网络,服务器端利用JaveEE中的servlet来响应HttpRequest请求,并将其部署在Tomcat下,客户端则要求具有操作性强和交互简单的优点。最后进行用户登录测试:如果输入的学号密码都正确页面跳转至主菜单表明登录成功,如果输入的学号或者密码错误则显示提示信息“学号或密码错误,请重新输入!”即登录不成功。本次设计涉及Android开发的常用软件MyEclipse、Eclipse、Oracle以及Tomcat,力求有较强的操作性和人性化的交互界面。22881
关键词 Android操作系统 图书管理系统 登录模块 Java编程
毕业设计说明书(毕业论文)外文摘要
Title The Design of Login Module of the Books Management System based on Android
Abstract
With the popularity of smart phones,people’s demand of the various functions of moble phones is heigher and heigher,especially the Android platform。Due to its good development and debugging environment,it is popular among the public。The topic of my graduate design is the design of login module of the books management system based on Android。I use C/S structure to design the client and server。In details,I gain access to the network through HTTP and use the servlet of the JavaEE in the server to respond to the HttpResquest requests。In addition,I also deploy the servlet under Tomcat。The requirement of the client is to be easy to operate。Finally,I test the user login。If the login is successful,the design jumps to the corresponding interface,otherwise,it reminds that the student id or the password is wrong。The design involves the MyEclipse,Eclipse,Oracle and Tomcat which are common in the Android development。I make efforts to gain strong operability and humanized interface。
Keywords Android Operating System Books Management System Login Module Java programing
目 次
1 引言 1
1.1 设计背景 1
1.2 设计目的 2
1.3 设计内容 2
2 安装软件搭建开发环境 3
2.1 整体设计 3
2.2 框图流程 3
2.3 开发环境的搭建 4
3 数据库部分设计 12
3.1 基本思想 12
3.2 创建过程 12
4 服务器端设计 15
4.1 基本思想 15
4.2 访问数据库包 15
4.3 Dao接口类UserDao 16
4.4 UserDao接口实现类UserDaoImpl 16
4.5 封装表信息的实体类User 17
4.6 LoginServlet类 17
4.7 配置参数 18
4.8 总结 19
5 客户端设计 20
5.1 基本思想 20
5.2 布局文件设计 20
5.3 HTTP工具类 21
5.4 登录界面类LoginActivity 22