Skip to content

Comment on Java call stack – from HTTP upto JDBC as a picture (2006)parent

Comments

common in the Enterprise Java development space especially around 2006

Can you mention which frameworks and glues are common today ?

I feel like I get pretty far with just https://javalin.io/ or http://sparkjava.com/. They're pretty similar but Javalin is being built by a maintainer of Spark and inherits many of the lessons learned from it.

These are basically thin wrappers on Jetty.

SQL: Mybatis or JDBI.

SQL Migrations: Flyway

JSON: Jackson, usually

Redis: Jedis

Spring Boot, but that includes Spring Security (was Acegi) and Spring MVC. Spring Data (JPA) has taken over from Hibernate.

You can get a long way with just Spark: https://github.com/perwendel/spark

Official website, for those wondering

http://sparkjava.com/

http://vertx.io/ is extremely powerful and relatively popular. We've used in production for years. Note that it is a non-blocking framework so there is a bit of a learning curve coming from e.g. Java EE.

Acegi/Spring/Hibernate :>

dropwizard.io

+1 for dropwizard; Spring is too big, dropwizard is just right. I've always preferred JDBI over JPA too.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.