Skip to main content
Windward

Windward

Light Web Framework For Java

Get StartedIntroduction

Simplicity First👀

Only Function Needed,NO Annotation NO Predefined Setting.

Netty-Powered💪

Enjoy The Speed Of Netty.

Light🏂

Interface Is Function.

Fast🚀🚀🚀

Faster Than Others.

🛠 Install

Important

JDK Minimum Requirements 8

Add Windward library

Add JSON library

Add Logging library

Add logback.xml

<configuration>
    <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
        <layout class="ch.qos.logback.classic.PatternLayout">
            <Pattern>
                %d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n
            </Pattern>
        </layout>
    </appender>
    <statusListener class="ch.qos.logback.core.status.NopStatusListener"/>
    <logger name="org.flmelody" level="info" additivity="false">
        <appender-ref ref="CONSOLE"/>
    </logger>
    <!--add your package name-->
    <!--    <logger name="your package" level="info" additivity="false">
            <appender-ref ref="CONSOLE"/>
        </logger>-->

    <root level="error">
        <appender-ref ref="CONSOLE"/>
    </root>

</configuration>

🚀 Run

Windward.setup().get("/", () -> "Hello World!").run();

🛸 Cheers

  _      ___         __                   __
 | | /| / (_)__  ___/ /    _____ ________/ /
 | |/ |/ / / _ \/ _  / |/|/ / _ `/ __/ _  /
 |__/|__/_/_//_/\_,_/|__,__/\_,_/_/  \_,_/

     Windward Version 1.5.3-RELEASE
23:12:57.369 [main] INFO  o.f.core.netty.NettyHttpServer - Service started successfully, listening on port 8080

300 concurrent connections

5 million requests of hello world application

Ubuntu 22.04

32GB of RAM and Intel i7-10070 processor