<properties>
<mini-framework.version>1.1.0</mini-framework.version>
</properties>
A Spring-style simple Ioc container.
<dependency>
<groupId>com.youthlin</groupId>
<artifactId>mini-ioc</artifactId>
<version>${mini-framework.version}</version>
</dependency>
examples: https://github.com/YouthLin/examples/tree/master/example-my-ioc
@RunWith(MiniRunner.class) //Use MiniRunner to run Test
@Scan("com.youthlin.examples") //Scan packages
public class MyServiceTest{
@Resource
private IHelloService helloService;
@Test
public void test(){
helloService.sayHello("JUnit");
}
}
A Spring MVC style simple MVC framework, which supports MyBatis3, Thymeleaf, etc.
<dependency>
<groupId>com.youthlin</groupId>
<artifactId>mini-mvc</artifactId>
<version>${mini-framework.version}</version>
</dependency>
examples: https://github.com/YouthLin/examples/tree/master/example-mini-mvc
A Mini RPC framework, which supports callback, async, etc.
<dependency>
<groupId>com.youthlin</groupId>
<artifactId>mini-rpc</artifactId>
<version>${mini-framework.version}</version>
</dependency>
examples: https://github.com/YouthLin/examples
example-rpc-api/provider/consumer