jawn:jawn-templates-rocker

java-web-planet / jawn - A simple web framework in Java

License

License

Categories

Categories

Net
GroupId

GroupId

net.javapla.jawn
ArtifactId

ArtifactId

jawn-templates-rocker
Last Version

Last Version

0.9.12
Release Date

Release Date

Type

Type

jar
Description

Description

jawn:jawn-templates-rocker
java-web-planet / jawn - A simple web framework in Java
Project URL

Project URL

https://github.com/MTDdk/jawn
Source Code Management

Source Code Management

https://github.com/MTDdk/jawn

Download jawn-templates-rocker

How to add to project

<!-- https://jarcasting.com/artifacts/net.javapla.jawn/jawn-templates-rocker/ -->
<dependency>
    <groupId>net.javapla.jawn</groupId>
    <artifactId>jawn-templates-rocker</artifactId>
    <version>0.9.12</version>
</dependency>
// https://jarcasting.com/artifacts/net.javapla.jawn/jawn-templates-rocker/
implementation 'net.javapla.jawn:jawn-templates-rocker:0.9.12'
// https://jarcasting.com/artifacts/net.javapla.jawn/jawn-templates-rocker/
implementation ("net.javapla.jawn:jawn-templates-rocker:0.9.12")
'net.javapla.jawn:jawn-templates-rocker:jar:0.9.12'
<dependency org="net.javapla.jawn" name="jawn-templates-rocker" rev="0.9.12">
  <artifact name="jawn-templates-rocker" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.javapla.jawn', module='jawn-templates-rocker', version='0.9.12')
)
libraryDependencies += "net.javapla.jawn" % "jawn-templates-rocker" % "0.9.12"
[net.javapla.jawn/jawn-templates-rocker "0.9.12"]

Dependencies

compile (3)

Group / Artifact Type Version
net.javapla.jawn : jawn-core jar 0.9.12
com.fizzed : rocker-runtime jar 0.22.0
com.fizzed : rocker-compiler jar 0.22.0

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.hamcrest : java-hamcrest jar 2.0.0.0

Project Modules

There are no modules declared in this project.
     ____.  _____  __      _________   
    |    | /  _  \/  \    /  \      \  
    |    |/  /_\  \   \/\/   /   |   \ 
/\__|    /    |    \        /    |    \ 
\________\____|__  /\__/\  /\____|__  /
  web framework  \/      \/         \/ http://www.javapla.net

Carry on being lazy, almost drowsy

jawn strives to be a super simple and productive framework for web development.

import net.javapla.jawn.core.Jawn;

public class App extends Jawn {
  
  {
    get("/", Results.text("Up and running!"));
    get("/json", Results.json(new Object()));
  }

  public static void main(String[] args) {
    run(args);
  }
}

Documentation

Head over to the wiki for a thorough walk-through.

If you ever want to try this framework out for yourself or in the wild, do not hesitate to give me a ping [email protected]

Latest version

Maven Central Build Status

Versions

Version
0.9.12
0.9.11
0.9.10
0.9.9
0.9.8
0.9.7