Blade is a small Java web framework on JDK 8 and Netty that emphasizes simple routing, templates, middleware, and runnable fat JAR deployment.
Overview
Blade is a minimalist Java web framework built on Java 8 and Netty 4, aimed at REST-style services and MVC pages without the footprint of traditional Java web stacks.
It provides annotation and hard-coded routing, parameter binding, template rendering with built-in or Jetbrick engines, static resources, uploads, sessions, CSRF and XSS helpers, basic authentication, cron tasks, and a plugin model.
Projects compile to runnable JARs that start an embedded web server, and documentation highlights high throughput in benchmark scenarios alongside streams-style APIs.
The codebase is intentionally small so new users can read the framework quickly, and Maven or Gradle quick starts demonstrate a hello-world service.
Key features
- Netty 4 embedded server
- REST and MVC routing styles
- Template rendering support
- Built-in middleware and hooks
- CSRF and XSS helpers
- Cron-based scheduled tasks
- Executable fat JAR deployment
Use cases
- Build small Java microservices
- Create REST APIs with minimal dependencies
- Teach lightweight Java web routing
- Ship standalone JAR web utilities