Web Client Programming

Juzu makes client side programming easy as it supports declarative assets for JavaScript and Stylesheet.

You can also easily reuse client-side web libraries in your project with the Webjars support.

@WebJars(@WebJar("jquery"))
  @Scripts(
     {
         @Script(id = "jquery", value = "jquery/1.10.2/jquery.js"),
         @Script(value = "javascripts/myJs.js", depends = "jquery")
       }
   )
  @Assets("*")

Controller

Process all the requests of your application using controllers: a simply annotated method of the application with @View, @Action, @Resources or @Event.

Controllers request parameters can be Primitive Types, Multivalued Type and Bean types.

@View 
  public Response.Content index() { 
    ...
  }

  @Action 
  public Response login(@Mapped User user) {
    ...
  }

Graphical component libraries

Create your own libraries of Graphical Component and reuse it in any Juzu application by implementing simple tags.

Simple tags allow creation of custom tags with templates.

//my reusable footer
<div class="footer">
Created with <a href="http://www.github.com/juzu">juzu</a>
</div>
Hello Juzu.
This is how to make a simple hello word in Juzu!
1.0.0

Tutorial: Weather, JuZcret

Guide: Reference, Extension

Doc: Javadoc

0.6.2

Tutorial: Weather

Guide: Reference

Doc: Javadoc

Tomcat

or Any Servlet container

eXo Platform

The Enterprise Social Platform

Vert.x

Application platform for the JVM

GateIn

Open Source Website Framework