Now it's time to review the advantages of Spark (and then we'll review another exciting framework called Dropwizard):
- Java-8-EE-based and based on the lambda philosophy (less verbose)
- Facilitates rapid development
- Enables App developers to create scalable REST APIs
- Fast and lightweight
- Best suited and excellent fit for rapid prototyping purposes
- Scores high on the speed factor as Spark is a thin wrapper around Java EE's servlet API
- Simplified and effective routing
- Brings better productivity by providing a simple domain-specific language (DSL) for routing API endpoints to handlers
- Maven and Gradle support