Java application server and method for processing Web service

A Java application and server technology, applied in the Internet field, can solve the problems of high labor cost, large size and complexity, and inability to fully meet the requirements of Internet business processing speed, etc.

Active Publication Date: 2013-05-29
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Various existing Java application servers, such as Resin (an open source Java application server), WebSphere (a commercial Java application server) or TAC (a Java application server based on open source code core for secondary development), etc. , all have the following problems: (1) large size and complexity; (2) high labor costs for development and maintenance, and high capital costs for commercial authorization and support; (3) general operational performance , cannot fully meet the processing speed requirements of Internet business

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
  • Java application server and method for processing Web service
  • Java application server and method for processing Web service
  • Java application server and method for processing Web service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] see figure 1 , a Java application server, the Java application server includes: a network framework layer 101, an application container layer 102 and a page template layer 103;

[0066] The network architecture layer 101 is used to obtain the uniform resource locator sent by the client to access the Web service;

[0067] The application container layer 102 includes:

[0068] The acquisition module is used to find the corresponding relationship between the uniform resource locator and the business logic according to the uniform resource locator to obtain the business logic;

[0069] The running module is used to run the business logic to get the data model and view name;

[0070] The page template layer 103 includes:

[0071] A search module, configured to find the corresponding relationship between the view name and the view object according to the view name to obtain the view object;

[0072] Call the output module, which is used to call the method corresponding to...

Embodiment 2

[0075] see figure 2 , a Java (a cross-platform programming language and technology platform) application server, the Java application server includes: a network framework layer 201, an application container layer 202 and a page template layer 203, wherein the network framework layer 201, the application container layer 202 and the page template layer 203 run directly on the JVM (Java Virtual Machine, Java virtual machine and runtime environment), without relying on any other third-party software.

[0076] see image 3 , in the embodiment of the present invention, the network architecture layer 201 is used to obtain the uniform resource locator sent by the client to access the Web service;

[0077] The application container layer 202 includes:

[0078] An acquisition module 2021, configured to search for a correspondence between the Uniform Resource Locator and the business logic according to the Uniform Resource Locator to obtain the business logic;

[0079] The running mo...

Embodiment 3

[0123] see Figure 5 , a method for processing web services, the execution subject of the method is specifically a Java application server, specifically comprising the following steps:

[0124] Step 301: Obtain the Uniform Resource Locator sent by the client to access the Web service;

[0125] Step 302: According to the Uniform Resource Locator, search for the corresponding relationship between the Uniform Resource Locator and the business logic to obtain the business logic;

[0126] Step 303: Run the business logic to obtain the data model and view name;

[0127] Step 304: Find the corresponding relationship between the view name and the view object according to the view name to obtain the view object;

[0128] Step 305: call the method corresponding to the view object to render the data model and output it to the client for display.

[0129] The Java application server provided by the present invention is only composed of three layers: the network architecture layer, the ...

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 Java application server and a method for processing a Web service, and belongs to the technical field of network. The Java application server comprises a network framework layer, an application container layer, and a page table formwork layer, wherein the network framework layer is used for acquiring a uniform resource locator for accessing to the Web service, wherein the uniform resource locator is sent by a client side. The application container layer comprises an obtaining module and an operating module, wherein the obtaining module is used for locating corresponding relation between the uniform resource locator and service logic according to operation service logic to obtain the service logic, and the operating module is used for operating the service logic to obtain a data model and a view name. The page table formwork layer comprises a searching module and a call output module, wherein the searching module is used for locating corresponding relation between the view name and a view target to obtain view target according to the view name, and the call output module is used for calling a corresponding method of the view target to render and output the data model to the client side to be displayed. The Java application server has large handling capacity, difficulty of deployment of the service logic and operation maintenance is enabled to be low due to a concise structure, and secondary development is easily carried out.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a Java application server and a method for processing Web services. Background technique [0002] Java application servers are widely used to implement dynamic Web server applications, carry and integrate various background business logics. Various existing Java application servers, such as Resin (an open source Java application server), WebSphere (a commercial Java application server) or TAC (a Java application server based on open source code core for secondary development), etc. , all have the following problems: (1) large size and complexity; (2) high labor costs for development and maintenance, and high capital costs for commercial authorization and support; (3) general operational performance , cannot fully meet the processing speed requirements of Internet services. Contents of the invention [0003] In order to solve the problems existing in some existing Java ap...

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 Applications(China)
IPC IPC(8): G06F9/46G06F9/445
CPCG06F17/30876G06F17/30861G06F9/46G06F17/30595H04L67/10G06F17/30554G06F16/958G06F16/972G06F16/95G06F16/248G06F16/284
Inventor 张帆
Owner TENCENT TECH (SHENZHEN) 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