Major update, Jboot v3.1.0 official release

Jboot is a microprocessor-based service framework JFinal, JFinal-Undertow, Dubbo such as the development of micro-services help developers reduce development threshold. While perfect support in idea, the eclipse maven multi module for java code, html, css, js and other resource files heat load. Shuang Shuang development and happy life.

Jboot 3.1.0 The main updates are as follows:

 

A: RPC perfect reconstruction

Jboot 3.1.0 of RPC has been completely reconstructed, in order to facilitate the need to change the configuration of normal use, API has not changed, all can be smoothly upgraded to Jboot 3.1.0, although the API has not changed, but the realization send a complete change. 

For Dubbo, under 2.7.x added a lot of features, such as meta data center, distribution center and other functions, after Jboot reconstructed, support for all of the contents of Dubbo be configured to support multiple registry under a single Application, and more service agreements and other support. More flexible configuration.

 

II: New Gateway portal

Jboot v3.1.0 also added a portal gateway, which supports different conditions host, path, query and other configurations, high performance, while limiting supports distributed under the Sentinel and much more.

 

Three: distributed cache operation and maintenance support

In many secondary cache distributed cache, such as J2Cache, EHRedis, etc., may be due to its cache memory cache, which is the need to update or redis dependent on the MQ Pub / Sub to notice, but in some extreme cases , the notification will still appear MQ not cause problems in some node-level cache can not be updated, Jboot provides access to all of cacheName, and its function can refresh (refresh), and in particular some extreme cases, you can manually refresh the cache by peacekeeping operation, so that all nodes in the distributed cache cache synchronization.

 

Jboot v3.1.0 update as follows:

  • New: Added support for gateways, routing rules support three modes host, path, query, etc., and supports limiting configuration Sentinel
  • New: Added support for Dubbo multi-protocol, multi-registry, etc.
  • New: Added support for annotations @Configuration can be constructed by its instance name
  • New: JbootAopInterceptor can dynamically add or remove interceptor
  • Added: Profiles can be configured to support Map, Set, List and arrays
  • New: JbootCache known as Names can get new features, easy operation and maintenance of cache
  • New: JbootCache new distributed cache can be refreshed to facilitate the operation and maintenance of cache
  • Added: Support jboot-system.properties for alternative -D startup parameter, the use of third-party components are more convenient time
  • bug fixes JbootHttpImpl not upload file: Repair
  • Fix: Unable to get the problem repaired JbootHttpImpl gzip compressed content correctly
  • Optimization: Reconstruction of RPC module to make it more simple and clear
  • Optimization: fastsjon upgrade to the latest version and other related dependent, modify some wrong spelling of method name, etc.
  • Documentation: improve the relevant documents of AOP
  • Documentation: Documentation Sentinel limiting the perfect
  • Documentation: perfect RPC related documents
  • Documents: new gateway is configured to use the related documentation

maven dependence:

<dependency>
    <groupId>io.jboot</groupId>
    <artifactId>jboot</artifactId>
    <version>3.1.0</version>
</dependency>

Hello World:

@RequestMapping("/")
public class HelloworldController extends JbootController {

    public void index(){
        renderText("hello world");
    }

    public static void main(String[] args){
        JbootApplication.run(args);
    }
}

 

Guess you like

Origin www.oschina.net/news/114300/jboot-3-1-0-released