吉林大学学报(信息科学版)

• 论文 • 上一篇    下一篇

基于 SpringMVC 的多平台 J2EE 开发方式研究

李 枭, 任维政   

  1. 北京邮电大学 电子工程学院, 北京 100876
  • 收稿日期:2016-09-21 出版日期:2017-09-29 发布日期:2017-10-23
  • 作者简介:李枭(1992— ), 男, 山东泰安人, 北京邮电大学硕士研究生, 主要从事电路与电子信息系统研究, (Tel)86-18401571388(E-mail)lixiao1911@ bupt. edu. cn; 任维政(1974— ), 男, 北京人, 北京邮电大学副教授, 硕士生导师, 主要从事物联网与大数据应用技术研究, (Tel)86-10-62283724(E-mail)renwz@ bupt. edu. cn。
  • 基金资助:
    北京邮电大学青年科研创新计划专项基金资助项目(2014PT12)

Research on SpringMVC-based Multi-Platform J2EE Development

LI Xiao, REN Weizheng   

  1. School of Electronic Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, China
  • Received:2016-09-21 Online:2017-09-29 Published:2017-10-23

摘要: 针对 J2EE(Java Enterprise Editon)开发中多平台的请求和响应问题, 提出了一种基于 SpringMVC 的开发
方式。 客户端是多平台的, 后台系统架构中的核心控制器根据客户端的类型将请求分发到服务端对应的业务
控制器中, 处理后返回不同类型的结果响应客户端, 并采用跨域异步数据交互的办法, 实现了对多平台客户端
的数据支持; 在数据库方面, 采用流行的 Hibernate 技术进行数据的持久化, 并使用 MySQL 原生工具进行热备,
以确保数据安全; 在传输方面, 采用了 HTTPS(Hyper Text Transfer Protocol over Secure Socket Layer)实现身份验
证和加密通讯; 最后通过系统测试验证了后台系统架构的并发性能良好, 符合预期要求。

关键词: SpringMVC 技术, J2EE 开发, 数据交互, 多平台

Abstract:  To deal with request and response issues in multi-platform J2EE ( Java Enterprise Editon)
development, a development architecture approach based on SpringMVC is proposed. The approach’s core is
dispatcherServlet, which distributes requests to the server’s specific Controller depending on the type of client
then return different types of result as responses after processing. A system framework is implemented by this
approach, it makes use of the B/ S way, which uses server rather than client to complete business operations,
and client is used for displaying data. And a new cross-domain asynchronous data interaction method is put
forward. On the database side, Hibernate technology is used for data persistence, and native MySQL warm
backup tool is used to ensure data security; In transmission, HTTPS(Hyper Text Transfer Protocol over Secure
Socket Layer) is used for authentication and encrypted communications. The problem of performance is tested
and verified by a system checking.

Key words: multi-platform, Java enterprise editon ( J2EE ) development;data interaction, springMVC technology

中图分类号: 

  •