1
0
Fork 0
mirror of https://github.com/akullpp/awesome-java.git synced 2025-02-10 15:45:12 -05:00
A curated list of awesome frameworks, libraries and software for the Java programming language.
Find a file
2014-07-12 09:22:42 +02:00
CONTRIBUTING.md Update CONTRIBUTING.md 2014-07-12 09:22:42 +02:00
README.md Update README.md 2014-07-12 09:19:27 +02:00
TOPICS.md Update TOPICS.md 2014-07-11 21:57:11 +02:00

Awesome Java

A curated list of awesome Java frameworks, libraries and software. Inspired by awesome-python.

Build Tool

Tools which handle the buildcycle of an application

  • Apache Maven - Declarative lifecycle and dependency managment which favors convention over configuration. It's regarded as spiritual successor to Apache Ant.
  • Gradle - Incremental builds which are programmed via Groovy.

Code Analysis

Tools that provide metrics and quality measurements of static code

  • SonarQube - Inspection tool for code quality.
  • FindBugs - Static analysis to find potential bugs.
  • Metrics - Measures the behavior of critical components.

Compiler-compiler

Tools that create parsers, interpreters or compilers

  • ANTLR - Complex full-featured framework.
  • JavaCC - More specific and slightly easier to learn.

Continuous Integration

Tools which support continuously building, testing and releasing applications

  • Jenkins - Provides server-based CI services, often seen as the successor to Hudson.

Database

Everything which simplifies interactions with the database

  • jOOQ - Generates typesafe code based on SQL schema.
  • Liquibase - Source control for your database which can be embedded.
  • MapDB - Database engine with optimized datastructures.

Date and Time

Libraries related to date and time.

Dependency Injection

Libraries that help to realize the Inversion Of Control paradigm

  • Dagger - Compile-time injection framework without reflection, mainly for Android.
  • Google Guice - Lightweight DI framework.
  • Spring - The Spring Context module provides DI.
  • Weld - CDI reference implementation.

Development Tools

  • DCEVM - Modification of the JVM that allows unlimited redefinition of loaded classes at runtime.
  • JRebel - Instantly reloads code and configuration changes without redeploys.

Distributed Applications

Libraries and frameworks used to ease writing distributed and fault-tolerant applications

  • Akka - Toolkit and runtime for building highly concurrent, distributed, and fault tolerant event-driven applications on the JVM.
  • JGroups - Toolkit for reliable messaging and creating clusters whose nodes can send messages to each other.
  • Apache ZooKeeper - Coordination service with distributed configuration, synchronization, and naming registry for large distributed systems.

GUI

Libraries to create modern graphical user interfaces

Game Development

Frameworks that support the development of games

  • LWJGL - Robust framework that abstracts libraries like OpenGL/CL/AL.
  • libGDX - Allround cross-plattform, high-level framework.

High Performance

Everything about high performance computation, from collections to specific libraries

  • Trove - Primitive collections.
  • HPPC - Primitive collections.
  • Disruptor - Inter-thread messaging library.
  • Javalution - Library for real-time and embedded systems.

IDE

Integrated development environments that try to simplify several aspects of development

  • NetBeans - Integrates a lot of features and provides tools ranging from Java SE to EE starting with database access and servers to HTML5 and AngularJS.
  • Eclipse - Does a lot of things in the background. Noteworthy are its large amount of plugins.
  • IntelliJ IDEA - Supports a lot of JVM languages and provides good options for Android development. The commercial edition targets the enterprise sector.

JVM and JDK

Various implementations of the JVM/JDK

  • HotSpot - Official JVM.
  • JDK 9 - Early access releases of JDK 9.
  • OpenJDK - Open source implementation.

JSON

Libraries that simplify JSON processing

  • Google Gson - Serializes Java objects to JSON and vice versa. Good performance with on-the-fly usage.
  • Jackson - Similar to GSON but has performance gains if you need to instantiate the library more often.

Logging

Libraries that log the behavior of an application

  • Apache Log4j 2 - Complete rewrite of the previous software. Now has a powerful plugin and configuration architecture.
  • Logback - Founded by the same developer as Log4j and proves to be a robust logging library with interesting configuration options via Groovy.
  • SLF4J - Abstraction layer which is to be used with an implementation.

Machine Learning

Tools that allow to learn from data via a set of specific algorithms

  • Apache Hadoop - Open-source software framework for storage and large-scale processing of data-sets on clusters of commodity hardware.
  • Apache Mahout - Scalable algorithms focused on collaborative filtering, clustering and classification.
  • Apache Spark - Open-source data analytics cluster computing framework.
  • Weka - Collection of algorithms for data mining tasks ranging from pre-processing to visualization.

Messaging

Tools that help sending messages between clients to ensure protocol independency

  • Apache ActiveMQ - Open-source message broker that implements JMS and converts synchronous to asynchronous communication
  • JBoss HornetQ - Clear, concise, modular and made to be embedded.

Miscellaneous

Everything else

  • Jimfs - In-memory file system.
  • Lombok - Code-generator which aims to reduce the verbosity of Java.

Natural Language Processing

Libraries that are specialized on processing text

  • Apache OpenNLP Toolkit for common tasks like tokenization.
  • LingPipe - Toolkit for a variety of tasks ranging from POS tagging to sentiment analysis.
  • Mallet - Statistical natural language processing, document classification, clustering, topic modeling, etc.

ORM

APIs which handle the persistence of objects

  • EclipseLink Supports a number of persistence standards: JPA, JAXB, JCA and SDO
  • Hibernate Robust and widely used with an active community.

PDF

Everything that helps with the creation of PDF files

  • Apache FOP - Creates PDF from XSL-FO.
  • Apache PDFBox - Toolbox for creating and manipulating PDF.
  • JasperReports - Complex reporting engine.
  • DynamicReports - Simplifies JasperReports.
  • iText - Easy to use PDF library which creates PDF files programmatically but requires a license for commercial purposes.

Security

Libraries that handle security, authentication, authorization or session management

  • Apache Shiro - Performs authentication, authorization, cryptography and session management.
  • Keycloak - Integrated SSO and IDM for browser apps and RESTful web services. Currently in beta but looks very promising.
  • PicketLink - PicketLink is an umbrella project for security and identity management for Java Applications.
  • Spring Security - Focuses on authentication and authorization and protects against several attack vectors.

Science

Libraries for scientific computing and analysis

  • JScience - Comprehensive framework of science related libraries.
  • JTransforms - Multithread FFT library.
  • Parallel Colt - Multithread high performance scientific and technical computing.
  • SCaVis - Environment for scientific computation, data analysis and data visualization.

Server

Servers which are specifically used to deploy applications

  • GlassFish - Open source reference implementation for Java EE sponsored by Oracle.
  • WildFly - Formerly known as JBoss and developed by Red Hat with extensive Java EE support.
  • Jetty - Lightweight, small server often embedded in projects. Part of the Eclipse Foundation.
  • Apache Tomcat - Robust allround server for Servlet and JSP.
  • Apache TomEE - Tomcat plus Java EE.

Template Engine

Tools which substitute expressions in a template

Testing

Tools that test from object to interface level including performance and other benchmarks

  • AssertJ - Fluent assertions.
  • Apache JMeter - Functional testing and performance measurements.
  • Arquillian - Integration and functional testing platform with integration of Java EE containers.
  • Calipher - Microbenchmarking framework.
  • FEST - Collection of testing libraries.
  • Hamcrest - Framework for writing declarative assertion matchers.
  • JMH - Microbenchmarking.
  • JUnit - Testing framework.
  • Mockito - Creation of test double objects in automated unit tests for the purpose of TDD or BDD.
  • Selenium - Portable software testing framework for web applications.
  • TestNG - Testing framework.
  • VisualVM - Visual interface for viewing detailed information about Java applications while they are running on a JVM

Utility

Libraries which provide unspecific functionality, e.g. optimized datastructures

Web Crawling

Libraries that analyze the content of websites

Web Frameworks

Frameworks that handle the communication between the layers of an web application

REST Frameworks

Frameworks specifically for creating RESTful services

  • Dropwizard - Opinionated framework for setting up modern web applications, includes Jetty, Jackson, Jersey and Metrics.
  • Jersey - JAX-RS reference implementation.
  • RESTEasy - Fully certified and portable implementation of the JAX-RS specification.

Resources

Twitter

People to follow

Websites

Sites to read

Communities

Active discussions

  • r/java - Subreddit for the Java community.

Influental Books

Books about Java that had a high impact and are still worth reading

Contributing

Contributions are very welcome!

Please have a look at CONTRIBUTING for guidelines.

Topics which have no libraries as of yet are located in TOPICS.