Supercharge Your Innovation With Domain-Expert AI Agents!

REST-based JAVA MVC system and data processing method thereof

A technology of data processing and processing methods, applied in the computer field, can solve problems such as spending a lot of time, bloated projects, and cumbersome configuration

Active Publication Date: 2014-03-19
UNITED ELECTRONICS
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But the more functions the MVC framework integrates, the more cumbersome the configuration will be
If you want to quickly develop a small web application, using these frameworks will make the project look bloated. If you are not familiar with the configuration of the framework, you will spend a lot of time on the configuration, which is not worth the candle

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
  • REST-based JAVA MVC system and data processing method thereof
  • REST-based JAVA MVC system and data processing method thereof
  • REST-based JAVA MVC system and data processing method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0034] refer to figure 1 As shown, it is a schematic flow diagram of the JAVA MVC data processing method based on REST in the embodiment of the present invention, and the JAVA MVC data processing method based on REST comprises the following steps:

[0035] In step 101, the client sends a data request conforming to the REST specification to the server.

[0036] Wherein, the method of the client request may be GET, POST, PUT, DELETE, HEAD and so on.

[0037] Step 102, the filter Filer on the server intercepts the data request, the filter matches the path of the data request with the resource path in the routing table, if the matching is unsuccessful, proceed to step 103; if the matching is successful Then go to step 104 ....

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 REST-based JAVA MVC system and a data processing method thereof. The method comprises the following steps: a client sending a data request according to a REST standard to a server; a filter on the server intercepting the data request and matching the path of the data request with a resource path in a routing table, if matching fails, the filter matching the path of the data request with a resource path under a server directory, and if matching fails, sending an error page to the client; if matching succeeds, sending the matched resource information under the server directory to the client; if matching succeeds, through the resource path, which matches the path of the data request, in the routing table, the filter transmitting the data request to a corresponding controller in the MVC framework on the server; and the controller receiving and processing the data request, and finally the server sending a processed result to the client. Therefore, by using the system and method provided by the invention, rapid development and sample configuration can be realized.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a REST-based JAVA MVC system and a data processing method thereof. Background technique [0002] The full name of REST is the abbreviation of REpresentational State Transfer (expressive state transfer). REST refers to a set of architectural constraints and principles, and an application or design that satisfies these constraints and principles is RESTful. REST defines a set of architectural principles by which you can design system resource-centric web services, including how resource states are processed and transmitted over HTTP by clients written in different languages. If you consider the number of web services using REST, REST has become the most dominant web service design pattern in recent years. In fact, REST has a great impact on the Web, because it is quite convenient to use, it has generally replaced the interface design based on SOAP and WSDL. [0003] The full n...

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): H04L29/08H04L29/06
Inventor 史丙利范培伦
Owner UNITED ELECTRONICS
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More