When comparing Servlet / JSP vs Ninja, the Slant community recommends Ninja for most people. In the question“What are the best JVM web frameworks?” Ninja is ranked 5th while Servlet / JSP is ranked 10th. The most important reason people chose Ninja is:
Once dependencies like maven are installed it is up and running in minutes with one simple command.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Very Fast Performance
Achieve more on less server hardware
Pro Mature, and relativly free from bugs.
As its an old framework, major updates rarely happen and are always backwards compatible. Relatively bug free as it has been around forever.
Pro Simple set up
Once dependencies like maven are installed it is up and running in minutes with one simple command.
Pro Easy horizontal scaling
Ninja is stateless by design. This makes horizontal scaling very easy and just a matter of adding servers.
Cons
Con Little user choice in organization
Since most of the code and folder structure are automatically generated, this leaves little room to the developer on how they will organize their project.