J2EE Lightweight Framework Construct Instant Messaging System
- Author
- XieJun
- Advisor
- QiWenXin
- School
- Huazhong University of Science and Technology
- Major
- Pattern Recognition and Intelligent Systems
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 212
- Citations
- 0
Abstract
Instant Messaging is currently the most popular way to communicate on the Internet. As most Instant Messaging system used in personal entertainment and leisure, web IM is adopted by many enterprises and businesses. The using of Web IM improves the efficiency and reduces communication costs. Although, Instant Messaging will play a more and more important role in the age of web2.0, the current system implements simply and the hierarchical structure is not clear. Therefore the system is not flexible and scalable for maintenance.So, in this thesis, a Instant Messaging System based on lightweight J2EE framework which is elegant、effective、and reliable was proposed. It is a N-tier architecture of J2EE platform architecture,using Hibernate、Spring and DWR. The features are as follows:(1) The project integrates the Ajax technology in the J2EE platform. We use a open -source framework--DWR for the development of Ajax, DWR enable JavaScript code can directly access Java methods, and eliminate all Ajax request-response cycle from the application code, the procedure takes only about logic.(2) The core business logic tier adopts the spring framework. With the mechanism of IoC, it reduces coupling, and the thinking of AOP make transaction more effective. Hibernate O/R mapping with responsibility for data persistence. The system is flexible、scalable and maintainable because the integration of spring and hibernate framework.(3) The system adopts the MVC model, and it make the business logic、presentation and control isolate. So it is flexible.The thesis introduces the principle of IM firstly,and then,I describes the develop method. With following,I introduces the Hibernate framework、the Spring framework、and the DWR framework which are adopted in the Instant Messaging System. After that,the thesis gives details of the design and implementation of the system. Finally,the thesis poses the problems which need future study.
Table of contents
Abstract 4-5
Abstract 5-8
1 Introduction 8-11
1.1 project background and significance 8-9
1.2 research status 9
1.3 sources and research topics 9-11
2 instant messaging software implementation principle 11-16
2.1 C / S mode of instant messaging system 11-13
2.2 B / S mode instant messaging systems analysis 13-14
2.3 B / S mode has the advantage 14-16
3 user requirements and technical analysis 16-29
3.1 user needs 16-18
3.2 Development Methods 18-19
3.3 key technical analysis 19-27
3.4 development and runtime environment 27
3.5 Summary 27-29
4 instant messaging system designed 29-46
4.1 system design requirements 29
4.2 design strategy 29-31
4.3 system service module design 31-33
4.4 technology framework select 33-35
4.5 system mainly design patterns 35-37
4.6 system layered design 37-43
4.7 on the lower level visits designed 43-45
4.8 Chapter Summary 45-46
5 instant messaging system to achieve 46-61
5.1 message sending and receiving processes 46-47
5.2 persistence layer to achieve 47-49
5.3 business logic to achieve 49-54
5.4 presentation layer to achieve 54-55
5.5 client tier implementation 55-58
5.6 visits on downline achieve 58-60
5.7 Chapter Summary 60-61
6 Full Summary and Outlook 61-64
6.1 This topic research work done 61-62
6.2 Outlook and future research directions 62-64
Thanks 64-65
References 65-68
Appendix 1
papers published during the study for a degree directory 68-69
Appendix 2 database design 69-70
Appendix 3 system service layer design class diagram 70-71
Appendix 4 Message class section of code 71
Related dissertations
- Research and Implementation of Online Customer Service Platform Based on Asynchronous Processing Framework
- Research and Implementation of Online Customer Service Platform Based on Asynchronous Processing Framework
- The Research and Application of the AJAX Technology in J2EE
- Spring- government system based on a common framework for research and application
- Research and Application Based on SSH2and JBPM for J2EE Develop Platform
- The Research and Implement of Human Resource Management System Based on Ajaxand SSH
- Implementation and application of Ajax framework based on J2EE
- The Design and Realization of Online Recruitment System Based on SSH2and AJAX Technology
- Design and implementation of online airline reservation system
- The Design and Application of Customer Relationship Management System Based on J2EE
- The Design and Application of an Integrated Framework Composed by A+SSH
- Research and Implement of State Coal Mine Security Production System Based on Design Pattern
- Design of Information Delivery System’s Framework and System Integration
- Research and Implement of Centralized Identity Authentication System Based on AOP
- The Research and Implementation of Logistics Information System Based on the Lightweight J2EE
- Research and Application of Java Lightweight Framework in Occupational Skill Testing Authority System
- Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
- The Research of Java EE Framework and Designed on the E-Commerce Pattern of OAO
- Design and implementation of no warehousing logistics management platform based on SSH
- The Research and Application of Web Framework based on Lightweight J2EE