Jboot v3.1.4 release, as well as better support jdk11 + fatjar operating mode

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.

After Jboot 3.1.0 release, you get a lot of feedback students, such as the portal gateway Gateway supports custom interceptors, to facilitate unified authentication and security control functions through the Gateway.

Meanwhile, in the Jboot of fatjar mode (all rely on packaged into a jar run), can not dynamically modify some configuration problems, these students feedback on last week conducted a rapid iterations, rapid direct small version released.

Jboot v3.1.4 update as follows:

  • Added: Gateway Gateway Gateway add custom interceptors support, facilitate authentication and other operations through the gateway
  • Added: Gateway Gateway portal new configuration error retry number of convenient gateway retry configuration
  • New: jboot.properties configuration value in the value added $ {para} parameter support
  • Add: undertow port configuration, add support -1, -1 arranged by random ports available
  • New: Added support for JDK11 +, theoretical support JDK11 ~ JDK14, but the key is in JDK11 test
  • New: JbootRpcApplication, for convenience only RPC Service to start the service for providing services to consumers
  • Fix: Fix the problem when @RPCInject used in the interceptor in error
  • Repair: RPC tools Utils.appendAnnotation not correct to int, boolean parameter assignment problem
  • Optimization: When not in Dubbo qos configuration is set to off by default, to facilitate development and debugging stand-alone situation
  • Optimization: Reconstruction ClassScanner, improve scanning performance in fatjar mode
  • Optimization: Reconstruction ConfigManager, in order to better support the configuration file in read mode fatjar
  • Optimization: Reconstruction JbootCoreConfig, easy to accurately read html files and other resources in fatjar
  • Optimization: Reconstruction JbootCoreConfig, provided the JFinal-Weixin not necessarily dependent
  • Documentation: Update Gateway Gateway related documents

 

maven dependence:

<dependency>
    <groupId>io.jboot</groupId>
    <artifactId>jboot</artifactId>
    <version>3.1.4</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/114479/jboot-3-1-4-released