Hacker News new | ask | show | jobs
by yazr 3023 days ago
> common in the Enterprise Java development space especially around 2006

Can you mention which frameworks and glues are common today ?

6 comments

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.