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 loaded hot, cool-cool development.
Jboot v2.2.8 update as follows:
- Added: new tools NamedThreadFactory, convenient for building a thread pool
- Added: new tools NamedThreadPools, convenience instead of using the Executors
- Added: New Model copy tools ModelCopier, easy to copy Model
- Added: Support for caching comment @Cacheable of new returnCopyEnable
- Added: New errorCode configure validator annotations and other support @EmptyValidate
- Optimization: Optimization of some unusual call text in the wrong JbootMQ
- Optimization: Add JWt of validityPeriod configuration instructions
- Optimization: Add thread ScheduleManager name of ScheduledThreadPoolExecutor
maven dependence:
<dependency>
<groupId>io.jboot</groupId>
<artifactId>jboot</artifactId>
<version>2.2.8</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);
}
}