Spark – A micro web framework in Java

Spark is a micro web framework in Java, inspired from Sinatra (a popular lightweight web framework in Ruby). Using spark, you can quickly build web applications in Java, with minimal effort (without going through the boring xml configurations steps). If you learning java, then you can learn a lot by reading the source (since, it’s a free and open source framework).



  • its simplicity
  • fast development
  • high productivity (get more done, in fewer lines of code)

Getting started with Spark

1. First setup spark

Download Spark (If you’re using Apache Maven, then it would be much easier for you)

2. Write some code

Code in image ? Ha Ha .. just to remind you that it’s not a good habit to copy/paste code! Type it.

3. Launch

Now, you can see your little app in action :


Recommended Link(s)
Read official – getting started guide for Spark

  • patadejaguar

    Nice!!… Developer in shell mode…. args $1 $2… 😀