An implementation method of web development framework supporting odata

A development framework and implementation method technology, applied in the field of web application development, can solve problems such as the inability to create generic clients, and achieve the effects of convenient access and processing operations, diversified display, and reduction of development difficulty and learning costs.

Active Publication Date: 2019-08-02
INSPUR SOFTWARE CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Currently many interfaces, whether based on SOAP, REST or others, use different schemas when exchanging data, which makes it impossible to create generic clients

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
  • An implementation method of web development framework supporting odata
  • An implementation method of web development framework supporting odata
  • An implementation method of web development framework supporting odata

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The content of the present invention is described in more detail below:

[0038] Publish the background data as an odata service by adding the odata annotation provided by the framework. Thus, the foreground can access and operate the background data by sending requests, and can specify the data return format (json, xml, atom) to meet the data format requirements of different display components.

[0039] Use annotations to publish background entity data as odata services.

[0040] The foreground accesses and operates the entity data in the background by sending requests.

[0041] By configuring the scanning path in the scanning configuration file, the scanning of classes under the specified path can be realized and the classes added with odata annotations can be parsed.

[0042] By configuring the odata interceptor to intercept requests in the odata format, the call to the odata service is realized.

[0043] Figure 1 It is a schematic diagram of the overall impleme...

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 present invention provides a method for implementing Odata supported by a web development framework, which belongs to the web application development technology. The present invention only needs to add the odata annotation provided by the framework to publish the data entity in the background as an odata service, and then can send a request. Realize the operation of adding, deleting, modifying and querying background data and viewing metadata of data entities. Developers do not need to add any methods, and can also specify the return format of data. In this way, different front-end components can support diversified data formats, and thus can well meet the diverse needs of front-end display.

Description

technical field [0001] The invention relates to web application development technology, in particular to an implementation method for web development framework supporting Odata. Background technique [0002] With the development of technology, especially the rapid development of Internet technology, in the face of massive information, the demand for data access and processing is increasing, and in actual data processing, the basic operation of data is the main aspect. OpenData Protocol (Open Data Protocol, OData) is a web protocol used to query and update data, which provides a way to expose the data that exists in the application. OData uses and builds on many web technologies, such as HTTP, Atom Publishing Protocol (AtomPub), and JSON, providing the ability to access information from various applications, services, and repositories. OData is used to expose and access information from a variety of data sources, including but not limited to: relational databases, file syste...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/38
CPCG06F8/30
Inventor 解荧吴玉雁
Owner INSPUR SOFTWARE CO LTD
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