No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
mini-ioc
mini-mvc
mini-rpc
.gitignore
.travis.yml
README.md
pom.xml

README.md

Mini-framework

Build Status Maven Central

<properties>
    <mini-framework.version>1.1.0</mini-framework.version>
</properties>

Mini-IoC

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

JUnit Supports

@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");
    }
}

Mini-MVC

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

Mini-RPC

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