The invention provides a
java-based
web development middleware. The
java-based
web development middleware comprises an action module and a
data access module, wherein the action module is in charge of receiving http request data, sending the data to an appointed logic
treatment unit for
processing, generating webpage data in required format for
treatment results of corresponding logic treatment units, and displaying the webpage data in a browser; the
data access module is in charge of receiving and executing an operation request on a
database, achieving automatic mapping of the
database and a javabean object by utilizing an MQL (MetaQuotes Language) script language, and converting the complex operation on the
database into the operation on the javabean object; in the logic treatment process, the need of
personalized treatment is met in a way of inserting an interceptor; and in the webpage
generation process, a template mode and a non-template mode are provided at the same time, and in the template mode, a webpage generation format is defined by a
template based on an
XML (Extensive Markup Language) marking mode. By utilizing the development
middleware, the
web development process is flexible and quick, the complex database operation is simplified, the web development cycle can be shortened, and the development efficiency is improved.