Research on Web Service Based on J2EE
- Author
- LiuYanSong
- Advisor
- NiuHaiJun , WangRongJun
- School
- Xi'an University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TP393.09 The application of computer network
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 46
- Citations
- 0
Abstract
RIA ( Rich Internet Application Rich Internet Application ) technology become a hot research direction following the B / S architecture after another . Adobe's Flex RIA Rich Client technology is subject to the attention of the major open source community . This article first details the advantages and disadvantages of using IBM WebSphere Portal and Flex Integration of J2EE project development , research and analysis of the traditional Flex framework . And discusses the structural characteristics of the the Peony framework developed jointly by himself, and a number of IBM colleagues . The Peony framework includes a REST - style the J2EE server framework and Flex framework aimed at achieving the MVC separation . In the the Peony framework J2EE server framework part , use the REST URI strategy that corresponds to a URI for each resource , each resource request HTTP- four (CRUD , GET, POST, PUT, DELETE) . Naming strategy in the the Flex framework part of the Peony framework , the Control class observer mode , Mediator MVC separation , and use the factory pattern in an XML configuration file to configure Flex applications choose to access back-end server or analog service . This feature gives developers test convenience .
Table of contents
Abstract 3-4
Abstract 4-7
The first chapter 7-11
1.1 Background 7-8
1.2 Research The 8-9
1.3 thesis work 9-11
The
build J2EE project 11-25
2.1 related technologies 11-15
2.1.1 RIA 11-13
2.1.2 WebSphere Portal 13-14
2.1.3 Adobe Flex 14-15
2.2 Flex integration with WebSphere 15-23
2.2.1 create a Flex project 16-19
2.2.2 to create the Portal project 19-23
the 2.3 deployment 23-24
2.3.1 generated WAR file 23-24
the 2.3.2 deployment
2.4 summarizes 24-25
Chapter the REST style Peony framework-based Server-side to achieve 25-41
3.1 Peony The framework Server side implementation 25-31
3.1.1 as all things defined ID 25-26
3.1.2 link everything together 26-27
The
<strong> 3.1.3 using standard methods 27-30
In 3.1.4 Resource multiple representations 30-31
3.1.5 stateless communication 31
3.2 Peony framework The Server-side URI design 31-37
3.2.1 Peony framework for the specification of the URI 32-34
3.2.2 Resources The HTTPService request control 34-35
the
match 3.2.3 URI resources 35
3.2.4 integrated with Spring and Hibernate 35-37
3.3 Peony framework HTTP CRUD design 37-40
3.3.1 GET-READ 37-38
3.3.2 PUT-UPDATE 38-39
3.3.3 POST-CREATE 39
3.3.4 DELETE-DELETE 39-40
3.4 summarizes 40-41
the Peony framework Rich Client-side implementation 41-55
4.1 PEONY framework the 41-46
4.1.1 Facade core classes 42
4.1.2 View class, Mediators and View components 42-44
4.1.3 Model the proxy data objects 44-45
4.1.4 Controller and Commands 45
4.1.5 View, Observer and Notification 45-46
the
4.2 Peony framework The Rich Client-side structure 46-51
4.2.1 view of The View 48-49
4.2.2 Control 49
4.2.3 Model 49
4.2.4 Notification 49-50
4.2.5 simulation system (Mock System) 50-51
the
4.3 Peony framework The characteristics 51-53
4.3.1 files and folders named constraint 51-53
4.3.2 Dependency Injection 53
4.4 summarizes 53-55
Chapter Peony framework for system testing 55-59
5.1 system The test 55-58
5.1.1 features The test 55-56
In 5.1.2 Performance test 56-57
5.1.3 browser compatibility testing 57-58
the
5.2 systems The test results analysis 58
5.3 This chapter Summary 58-59
Chapter Summary and Outlook 59-65
6.1 summarizes 59-61
In 6.2 Looking 61-65
the
Acknowledgements 65-67
the
References 67-69