Kalpana Kalpana (Editor)

Spark (software)

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Original author(s)
  
Per Wendel

License
  
Apache License 2.0

Written in
  
Java

Spark (software)

Stable release
  
2.5 / 3 May 2016; 10 months ago (2016-05-03)

Operating system
  
Cross-platform (Java Virtual Machine)

Type
  
Web application framework

Spark is a free and open-source software web application framework and domain-specific language written in Java. It is an alternative to other Java web application frameworks such as JAX-RS, Play framework and Spring MVC. It runs on an embedded Jetty web server by default, but can be configured to run on other webservers.

Inspired by Sinatra, it does not follow the model–view–controller pattern used in other frameworks, such as Spring MVC. Instead, Spark is intended for "quickly creating web-applications in Java with minimal effort."

Spark was created and open-sourced in 2011 by Per Wendel, and was completely rewritten for version 2 in 2014. The rewrite was hugely centered on the Java 8 lambda philosophy, so Java 7 is officially not supported in version 2 and above.

Supported template engines

Spark supports these template engines:

  • FreeMarker
  • Mustache
  • Apache Velocity
  • Thymeleaf
  • Jade
  • Jetbrick
  • Handlebars
  • Water
  • References

    Spark (software) Wikipedia


    Similar Topics