Over a million developers have joined DZone.

Blade: A Simple, Elegant Java Web Framework

Blade is a lightweight Java MVC framework based on the principles of simplicity and elegance.

· Java Zone

Navigate the Maze of the End-User Experience and pick up this APM Essential guide, brought to you in partnership with CA Technologies

Image title

What Is Blade?

Blade is a lightweight MVC framework. It is based on the principles of simplicity and elegance. If you like it, you can Star and Fork, thanks!


  •  Lightweight. The code is simple and structure is clear
  •  Modular (you can choose which components to use)
  •  Support plug-in extension mechanism
  •  Restful style routing interface
  •  Multiple configuration files support (currently properties, json and coding)
  •  Eembed jetty server and template engine support
  •  Support jdk1.6 or higher version


  • Simplicity. The design is simple, easy to understand, and doesn't introduce many layers between you and the standard library. It is a goal of the project that users should be able to understand the whole framework in a single day.
  • Elegance. Support the REST style routing interface, provide DSL grammar to write, no invasive interceptors.

Getting Started

To get started, first include the Blade library and then create a class with a main method like this:

public class App extends Bootstrap {

    public void init() {}

    public static void main(String[] args) throws Exception {
        Blade blade = Blade.me();
        blade.get("/").run(request, response) -> {
            response.html("<h1>Hello blade!</h1>");
            return null;

Run it and point your browser to http://localhost:9001. There you go, you've just created your first Blade app!

OK, all this may seem simple, refer to the guidelines to use more ready-made examples for your reference:


  1. Improve the document
  2. Add the routing configuration way
  3. To develop personalized social applications
  4. Maintain and optimize the code


update log


Blade Framework based on the Apache2 License


Thrive in the application economy with an APM model that is strategic. Be E.P.I.C. with CA APM.  Brought to you in partnership with CA Technologies.

javaee mvc ,java framework ,mvc framework

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}