Spark: A miminal JDK web framework
Ever felt that Java web framework requiring the Enterprise Edition, servlets, application servers and data management systems are just a little overkill? Enter Spark.
Spark is very minimal: it doesn't even support the whole MVC stack: you'll have to import other libraries for the model (Java Mongo) and the views. The HTTP/servlet part is delegated to Jetty.
Once dealt with importing the library into the project (using Maven?), you might also have to change the build settings to use the JDK 7 to compile (in Eclipse: Project -> Properties/Java Compiler) and the JRE 7 to run the compiled bytecode (in Eclipse: Project -> Properties/Build Path/Libraries)
Then, we're ready for the Hello World code.