JAVA APPLICATION SERVER AND METHOD FOR PROCESSING WEB BUSINESS
First Claim
1. A Java application server, comprising a network framework layer, an application container layer and a page template layer;
- the network framework layer configured to obtain a uniform resource locator for accessing Web business sent by a client-side;
the application container layer comprising;
an obtaining module for obtaining corresponding business logic by searching corresponding relationships between uniform resource locators and business logic according to the obtained uniform resource locator; and
an operation module for operating the obtained business logic to obtain a data model and a view name;
the page template layer comprising;
a searching module for obtaining a corresponding view object by searching corresponding relationships between view names and view objects according to the obtained view name; and
an invoking and output module for invoking a method corresponding to the obtained view object to render and output the data model to the client-side for display.
1 Assignment
0 Petitions
Accused Products
Abstract
A Java application server and method for processing Web business are presented, which relate to the technical field of the Internet. The server comprises: a network framework layer (101), an application container layer (102) and a page template layer (103); the network framework layer (101) configured to obtain a uniform resource locator for accessing Web business sent by a client-side; the application container layer (102) comprising: an obtaining module for obtaining corresponding business logic by searching corresponding relationships between uniform resource locators and business logic according to the obtained uniform resource locator; an operation module for operating the obtained business logic to obtain a data model and a view name; the page template layer (103) comprising: a searching module for obtaining a corresponding view object by searching corresponding relationships between view names and view objects according to the obtained view name; and an invoking and output module for invoking a method corresponding to the obtained view object to render and output the data model to the client-side for display. The Java application server provided by the present invention has a higher throughput and a simple structure, thus making the deployment, the operation and the maintenance of the business logic be easier, and facilitating secondary development.
6 Citations
15 Claims
-
1. A Java application server, comprising a network framework layer, an application container layer and a page template layer;
-
the network framework layer configured to obtain a uniform resource locator for accessing Web business sent by a client-side; the application container layer comprising; an obtaining module for obtaining corresponding business logic by searching corresponding relationships between uniform resource locators and business logic according to the obtained uniform resource locator; and an operation module for operating the obtained business logic to obtain a data model and a view name; the page template layer comprising; a searching module for obtaining a corresponding view object by searching corresponding relationships between view names and view objects according to the obtained view name; and an invoking and output module for invoking a method corresponding to the obtained view object to render and output the data model to the client-side for display. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for processing Web business, comprising:
-
obtaining a uniform resource locator for accessing Web business sent by a client-side; obtaining corresponding business logic by searching corresponding relationships between uniform resource locators and business logic according to the obtained uniform resource locator; operating the obtained business logic to obtain a data model and a view name; obtaining a corresponding view object by searching corresponding relationships between view names and view objects according to the obtained view name; and invoking a method corresponding to the obtained view object to render and output the data model to the client-side for display. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15)
-
Specification