Method and device for establishing Web service
A web service and server technology, applied in the computer field, can solve problems such as the complex structure of Tomcat, low efficiency of creating web services, and slow response speed of web services
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] A method for creating a Web service provided by an embodiment of the present invention, such as figure 1 As shown, the execution body of the method may include a computing node, and the method may include:
[0043] S101. The computing node creates a web project, and integrates the web project with Jersey.
[0044] Java is a general term for an object-oriented programming language (Java language) that can write cross-platform application software and the Java platform. Wherein, the Java platform is composed of a Java Virtual Machine (Java Virtual Machine, JVM) and a Java Application Programming Interface (Application Programming Interface, API).
[0045] It should be noted that, the method for creating a Web service provided by the embodiment of the present invention can be implemented on the Java platform using the Java language.
[0046] REST is a set of architectural constraints and principles based on which software developers can design web services centered on sy...
Embodiment 2
[0066] A method for creating a Web service provided by an embodiment of the present invention, such as figure 2 As shown, the execution body of the method may include a computing node, and the method may include:
[0067] S201. A computing node creates a web project.
[0068] Java is a general term for an object-oriented programming language that can write cross-platform application software and the Java platform. The Java platform consists of a Java virtual machine and a Java application programming interface.
[0069] It should be noted that, the method for creating a Web service provided by the embodiment of the present invention can be implemented on the Java platform using the Java language.
[0070] REST is a set of architectural constraints and principles by which a software developer can design a system's resource-centric Web services, which can include how clients written in different languages process and transmit the state of a resource over HTTP . Thus an ap...
Embodiment 3
[0122] Such as image 3 As shown, the embodiment of the present invention provides an apparatus 1 for creating a Web service, and the apparatus 1 for creating a Web service may include:
[0123] The creating unit 10 is used for creating Web projects.
[0124] The processing unit 11 is configured to integrate the Web project created by the creation unit 10 with Jersey, and connect the Web project and the Jetty server according to a preset software interface, and connect to the JDBI server according to a preset command. The above-mentioned Web project and database are created to create a Web service corresponding to the above-mentioned Web project.
[0125] Optionally, the processing unit 11 is specifically configured to add the Jersey core class library to the configuration file of the Web project created by the creation unit 10, and configure the configuration file in the configuration file of the Web project. Describes Jersey's interceptors.
[0126] Optionally, the proces...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com