Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the advantages of the latest lightweight Java development framework

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces "what are the advantages of the latest version of lightweight Java development framework". In daily operation, I believe many people have doubts about the advantages of the latest lightweight Java development framework. I have consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts of "what are the advantages of the latest lightweight Java development framework?" Next, please follow the editor to study!

Hasor is an open source lightweight Java application development framework, its core goal is to provide a simple and necessary development environment for developers, developers can build more perfect applications on this basis.

Online API address: http://www.hasor.net/apis/1.0.0/index.html

Design thought

"microkernel + plug-in" is the main design idea of Hasor. Hasor extends by providing a unified interface, and enriches the required functions through extensions, even the core modules are implemented through extensions. As an extension, it can be removed at any time.

= Hasor-Core v1.0.0

* add:

01. Add DateUtils, time and date tool class.

02. A set of getProvider method methods has been added, and the Provider of Bean can be obtained through String or Class.

The expressionClass and expressionMethod methods of the 03.AopMatchers class are open to use.

04. Merge Hasor-MVC framework

-- MVC--

05. Migrate controller and result plug-ins.

06. Custom processing of Action return values is supported.

07. A new authentication mechanism is added, using Validation interface.

08.ResultProcess added a new way to handle exceptions.

09. Optimize the design of extension mechanism and further modularize the design.

The apiBinder method of the 10.LoadHellper class, and the ApiBinder type obtained is changed to return the WebApiBinder type.

The 11.loadController method adds an exception throw.

12.LoadHellper, a way to add a registration form validator.

* improvements:

The Order subclass of the 01.Paginator class is promoted to an interface, and the original class implementation is provided through SortFieldOrder.

This change helps to apply the paging tool class to a wider range of scenarios.

02. Modify the addMessage method of the Result interface so that its subclasses reduce the occurrence of warnings when overridden.

03.Hasor implements simplified refactoring related to factory internally.

The 04.resource plug-in feature is simplified, and the previous plug-in was migrated directly from the Hasor-WebUI project.

* repair:

01. Fixed an issue where singleton failures were declared using the "apiBinder.bindType (PojoBean.class). AsEagerSingleton ()" method.

At this point, the study on "what are the advantages of the latest lightweight Java development framework" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report