摘要
本文通过分析网络聊天室的需求,展示了一个高性能的基于MVC构架的聊天室系统。在设计中,系统基于B/S架构,系统中间层使用流行的Spring+Hibernate构架,使用了DWR构架,通过AJAX方式实现通讯。实现了大厅模块、房间模块、用户控制模块、消息传输模块等,并且对于并发等性能进行了设计,是一个高质量、高性能的网络聊天室。
This article analysis the demand of the users and design a network chat room based on the MVC architecture. In the design, the system bases on the B/S architecture and uses Spring and Hibernate to control the system. It also use DWR architecture to finish the inter-system communication. I implement several modules including the Room module, the Hall module, the user control module and the Message module. Also I do some work on the complicating calls for the efficiency. It is a high-quality, high-performance network chat room.
出处
《自动化与仪器仪表》
2014年第4期142-144,共3页
Automation & Instrumentation