Metadata driven REST (representational state transfer) style application development method and system

An application development and metadata technology, applied in software testing/debugging, program control devices, etc., to solve the problems of REST service definition without formal specification, lack of systematic coding, testing, documentation, and difficulty in maintaining API consistency. , to achieve the effect of supporting modern agile software development process, system reusability and automation, easy to learn and master

Inactive Publication Date: 2012-03-07
ZHENJIANG RETECH INFORMATION TECH
View PDF5 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] (1) There is no formal specification for the definition of REST services. With the growth of software, it is difficult to maintain the consistency of API
Existing standards (such as WSDL 2.0, WADL) rely on XML, and development tools are relatively limited
[0005] (2) REST service progra

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Metadata driven REST (representational state transfer) style application development method and system
  • Metadata driven REST (representational state transfer) style application development method and system
  • Metadata driven REST (representational state transfer) style application development method and system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0028] In the following, the present invention will be further clarified with reference to the accompanying drawings and specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and not to limit the scope of the present invention. After reading the present invention, those skilled in the art will understand various aspects of the present invention. Modifications in equivalent forms fall within the scope defined by the appended claims of this application.

[0029] A metadata-driven REST style application development method includes the following steps:

[0030] (1) Analyze application requirements and define business services through the Java programming language;

[0031] (2) Analyze the business service through a model converter, and convert the business service into a resource model based on RMF;

[0032] (3) Read the resource model in step (2) through the code generator and generate the corresponding REST service code fr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a metadata driven REST (representational state transfer) style application development method and a metadata driven REST style application development system. In the method, through analyzing a business service by using a model converter, and converting the business service into a RMF (remote management facility) based resource model, reading the resource model and generating a corresponding code framework, a client tool, a test case framework, a user interface template and an API (application program interface) document of a REST service, forming a system test case, and perfecting an implementation code of the REST service until the system test case passes, the universality of the REST service is realized, thereby expanding the application scope of the REST service. The system comprises a resource metadata framework, a model converter, a code generator and a service engine; through a unified metadata management framework, the definition of the REST service is standardized, and the consistency and maintainability of the service are improved; and through carrying out abstraction on the metadata of the REST service and following a popular programming style, the system is easy to be learned and grasped by developers, so that the reusability and automation degree of the system are improved, and the development process of modern agile software can be effectively supported.

Description

technical field [0001] The invention relates to a model-driven software development technology applicable to a REST-style SOA system architecture, in particular to a metadata-driven REST-style application development method and system. Background technique [0002] Representational State Transfer (REST for short) is a software architectural style proposed by Dr. Roy Fielding in his doctoral dissertation in 2000. Because REST-style web services are obviously more concise than complex SOAP and XML-RPC, more and more web services are beginning to be designed and implemented in REST style. Although some REST-style application development technologies and standards (such as JAX-RS, Restlet, WSDL 2.0, WADL, etc.) have emerged in recent years, there is still a lack of systematic methods and tools, and the development efficiency of REST-style applications is low. poor reusability. [0003] Major issues in RESTful application development today include: [0004] (1) There is no for...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/44G06F11/36
Inventor 范同祥艾顺刚田传武盛弘
Owner ZHENJIANG RETECH INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products