Realization method of supporting Odata by web development framework

A development framework and implementation method technology, applied in the direction of program control device, creation/generation of source code, etc., can solve the problems of inability to create generic client, achieve convenient access and processing operations, good diversified display, and simplify development Effect

Active Publication Date: 2017-02-01
INSPUR SOFTWARE CO LTD
View PDF2 Cites 3 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
  • Realization method of supporting Odata by web development framework
  • Realization method of supporting Odata by web development framework
  • Realization method of supporting Odata by web development framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0032] 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.

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

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

[0035] 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.

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

[0037] 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 invention provides a realization method of supporting Odata by a web development framework, and belongs to a web application development technology. Only the addition of the odata annotation provided by the framework is needed; the data entity of a background can be conveniently issued into odata service; further, the operation of addition, deletion, change and checking on the background data and the checking on the data entity metadata can be realized in a mode of sending the request; development personnel do not need to add any method; in addition, the data return format can be specified. Therefore the support of different front end assemblies on the data format diversification can be realized; further, the requirements of front end display diversification can be well met.

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
IPC IPC(8): G06F9/44
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