A more modern framework for Java application development: faster, smaller, and freer. No Spring, no Servlet, no JavaEE;Independent lightweight ecology. The main frame is only 0.1 MB.
@Controller
public class App {
public static void main(String[] args) {
Solon.start(App.class, args);
}
@Get
@Socket
@Mapping("/hello")
public String hello(@Param(defaultValue = "java") String name) {
return String.format("Hello %s!", name);
}
}
Getting started exploration video (user recorded):
Projects relative to Spring Boot and Spring Cloud:
- Startup is 5 to 10 times faster. (faster)
- qps is 2 to 3 times higher. (higher)
- Save 1/3 ~ 1/2 of memory at runtime. (less)
- Packing can be reduced to 1/2 ~ 1/10; for example, 300Mb becomes 23Mb. (smaller)
- Registration discovery based on service name corresponds to k8s svc
- Support Service Mesh architecture deployment scheme
- Support jdk8, jdk11, jdk17, jdk19 at the same time
- No Spring, no Servlet, no JavaEE; independent lightweight ecology
This update:
- Added local-solon-cloud-plugin plugin (local simulation implementation of solon cloud specification)
- Added solon.data.dynamic plugin (provide dynamic-datasource support)
- Fix the quartz-solon-plugin plugin, when cron7x=”10d”, it will become 10 seconds
- Add mybatis-solon-plugin plug-in Mybatis::use interface
- Add Props::loadAddIfAbsent interface
- Add server.context-path configuration support
- Adjust subBeansOfType, subWarpsOfType to get existing ones so that they can ignore time
- Optimize @Body for compatibility between from and json
- Optimize content type executor’s qualified handling of @Body
- Upgrade sqltoy to 5.2.22
- Upgrade forest to 1.5.28
- Upgrade snakeyaml to 1.33
- Upgrade jackson to 2.14.1
- Upgrade snack3 to 3.2.48
- Upgrade wood to 1.0.5
- upgrade fastjson2 2.0.19
Learn more about Solon:
Project repository:
#Solon #v1113 #released #101st #release #version #News Fast Delivery