A curated list of awesome Java frameworks, libraries and software.
- Awesome Java
- Ancients
- Bean Mapping
- Build
- Bytecode Manipulation
- Cluster Management
- Code Analysis
- Code Coverage
- Command-line Argument Parsers
- Compiler-compiler
- Configuration
- Constraint Satisfaction Problem Solver
- Continuous Integration
- CSV
- Data structures
- Database
- Date and Time
- Dependency Injection
- Development
- Distributed Applications
- Distributed Databases
- Distribution
- Document Processing
- Formal Verification
- Functional Programming
- Game Development
- Geospatial
- GUI
- High Performance
- IDE
- Imagery
- JSON Processing
- JSON
- JVM and JDK
- Logging
- Machine Learning
- Messaging
- Miscellaneous
- Monitoring
- Native
- Natural Language Processing
- Networking
- ORM
- Performance analysis
- Reactive libraries
- REST Frameworks
- Science
- Search
- Security
- Serialization
- Server
- Template Engine
- Testing
- Utility
- Web Crawling
- Web Frameworks
- Resources
- Contributing
In existence since the beginning of time and which will continue being used long after the hype has waned.
- Apache Ant - Build process management with XML.
- Apache Hadoop - Storage and large-scale processing of data-sets on clusters of commodity hardware.
- Apache OpenNLP - Toolkit for common tasks like tokenization.
- Apache Velocity - Templates for HTML pages, emails or source code generation in general.
- cglib - Bytecode generation library.
- FreeMarker - General templating engine without any heavyweight or opinionated dependencies.
- GlassFish - Application server and reference implementation for Java EE sponsored by Oracle.
- GWT - Toolbox which includes a Java-to-JavaScript compiler for client-side code, XML parser, API for RPC, JUnit integration, internationalization support and widgets for the GUI.
- HornetQ - Clear, concise, modular and made to be embedded.
- Hudson - Continuous integration server still in active development.
- Java Modeling Language (JML) - Behavioral interface specification language that can be used to specify the behavior of code modules. It combines the design by contract approach of Eiffel and the model-based specification approach of the Larch family of interface specification languages, with some elements of the refinement calculus. Used by several other verification tools.
- JavaCC - More specific and slightly easier to learn. Has syntactic lookahead.
- JavaServer Faces - Oracle's open-source implementation of the JSF standard, Mojarra.
- JavaServer Pages - Common templating for websites with custom tag libraries.
- JUnit - Common testing framework.
- Launch4j - Wraps JARs in lightweight and native Windows executables.
- TestNG - Testing framework.
- Trove - Primitive collections.
Frameworks that ease bean mapping.
- Dozer - Mapper that copies data from one object to another, using annotations, API or XML configuration.
- MapStruct - Code generator which simplifies mappings between different bean types, based on a convention over configuration approach.
- ModelMapper - ModelMapper is an intelligent object mapping library that automatically maps objects to each other.
- Orika - Orika is a Java Bean mapping framework that recursively copies (among other capabilities) data from one object to another.
- Selma - Stupid Simple Statically Linked Mapper. Selma is an Annotation Processor Based bean mapper.
Tools which handle the build cycle and dependencies of an application.
- Apache Maven - Declarative build and dependency management which favors convention over configuration. It might be preferable to Apache Ant which uses a rather procedural approach and can be difficult to maintain.
- Bazel - Build tool from Google that builds code quickly and reliably.
- Gradle - Incremental builds which are programmed via Groovy instead of declaring XML. Works well with Maven's dependency management.
Libraries to manipulate bytecode programmatically.
- ASM - All purpose, low level, bytecode manipulation and analysis.
- Byte Buddy - Further simplifies bytecode generation with a fluent API.
- Byteman - Manipulate bytecode at runtime via DSL (rules) mainly for testing/troubleshooting.
- Javassist - Tries to simplify the editing of bytecode.
Frameworks which can dynamically manage applications inside of a cluster.
- Apache Aurora - Apache Aurora is a Mesos framework for long-running services and cron jobs.
- Apache Mesos - Abstracts CPU, memory, storage, and other compute resources away from machines.
- Singularity - Singularity is a Mesos framework that makes deployment and operations easy. It supports web services, background workers, scheduled jobs, and one-off tasks.
Tools that provide metrics and quality measurements.
- Checkstyle - Static analysis of coding conventions and standards.
- Codacy - Continuous static analysis, code coverage, and software metrics to automate code reviews.
- Error Prone - Catches common programming mistakes as compile-time errors.
- FindBugs - Static analysis of bytecode to find potential bugs.
- jQAssistant - Static code analysis with Neo4J-based query language.
- PMD - Source code analysis for finding bad coding practices.
- SonarQube - Integrates other analysis components via plugins and provides an overview of the metrics over time.
Frameworks and tools that enable collection of code coverage metrics for test suites.
- Clover - Proprietary code coverage tool by Atlassian that relies on source-code instrumentation, instead of bytecode instrumentation.
- Cobertura - Relies on offline (or static) bytecode instrumentation and class loading to collect code coverage metrics; GPLv2 licensed.
- JaCoCo - Framework that enables collection of code coverage metrics, using both offline and runtime bytecode instrumentation; prominently used by EclEmma, the Eclipse code-coverage plugin.
Libraries that make it easy to parse command line options, arguments, etc.
- args4j - Small library to parse command like arguments similar to javac.
- JCommander - Command line arguments parsing framework with custom types and validation via implementing interfaces.
- JOpt Simple - Simple parser that uses the POSIX getopt() and GNU getopt_long() syntaxes. Does not use annotations, uses a fluent API instead.
Frameworks that help to create parsers, interpreters or compilers.
- ANTLR - Complex full-featured framework for top-down parsing.
Libraries that provide external configuration.
Libraries that help on implementing optimization and satisfiability problems.
- Choco - Off-the-shelf constraint satisfaction problem solver, which uses constraint programming techniques.
- JaCoP - Includes an interface for the FlatZinc language, enabling it to execute MiniZinc models.
- OptaPlanner - Business planning and resource scheduling optimization solver.
Tools which support continuously building, testing and releasing applications.
- Bamboo - Atlassian's solution with good integration of their other products. You can either apply for an open-source license or buy it.
- fabric8 - Integration platform for containers.
- Go - ThoughtWork's open-source solution.
- Jenkins - Provides server-based deployment services.
- TeamCity - JetBrain's CI solution with a free version.
- Travis - Hosted service often used for open-source projects.
Frameworks and libraries that simplify reading/writing CSV data.
- opencsv - Simple CSV parser with a commercial-friendly license.
- Super CSV - Powerful CSV parser with support for Dozer, Joda-Time and Java 8.
- uniVocity-parsers - One of the fastest and most feature-complete CSV. Also comes with parsers for TSV and fixed width records.
Everything which simplifies interactions with the database.
- Apache Hive - Data warehouse infrastructure built on top of Hadoop.
- Apache Phoenix - High performance relational database layer over HBase for low latency applications.
- eXist - A NoSQL document database and application platform.
- FlexyPool - Brings metrics and failover strategies to the most common connection pooling solutions.
- Flyway - Simple database migration tool.
- H2 - Small SQL Database notable for its in-memory functionality.
- HikariCP - High performance JDBC connection pool.
- JDBI - Convenient abstraction of JDBC.
- Jedis - A small client for interaction with redis, with methods for commands.
- jOOQ - Generates typesafe code based on SQL schema.
- Liquibase - Database-independent library for tracking, managing and applying database schema changes.
- MapDB - Embedded database engine that provides concurrent collections backed on disk or in off-heap memory.
- Presto - Distributed SQL query engine for big data.
- Querydsl - Typesafe unified queries.
- Realm - Mobile database to run directly inside phones, tablets or wearables.
- Redisson - Allows for distributed and scalable data structures on top of a Redis server.
- Speedment - A database access library that utilizes the Java 8 Stream API for querying.
- Vibur DBCP - JDBC connection pool library which offers advanced performance monitoring capabilities.
Efficient and specific data structures.
- Apache Avro - Data interchange format featuring among others: dynamic typing, untagged data, absence of manually assigned IDs.
- Apache Orc - Fast and efficient columnar storage format for hadoop based workloads.
- Apache Parquet - Columnar storage format based on assembly algorithms from the Dremel paper by Google.
- Apache Thrift - Data interchange format that originated at Facebook.
- Persistent Collection - Persistent and immutable analogue of the Java Collections Framework.
- Protobuf - Google's data interchange format.
- SBE - Simple Binary Encoding, one of the fastest message formats around.
- Wire - Clean, lightweight protocol buffers.
Libraries related to handling date and time.
- Almanac Converter - Simple conversion between different calendar systems.
- Joda-Time - De facto standard date/time-library before Java 8.
- ThreeTenBP - Port of JSR 310 (java.time package) by the author of Joda-Time.
- Time4J - Advanced date and time library.
Libraries that help to realize the Inversion of Control paradigm.
- Apache DeltaSpike - CDI extension framework.
- Dagger2 - Compile-time injection framework without reflection.
- Guice - Lightweight but powerful framework that completes Dagger.
- HK2 - Light-weight and dynamic dependency injection framework.
Augmentation of the development process at a fundamental level.
- ADT4J - JSR-269 code generator for algebraic data types.
- AspectJ - Seamless aspect-oriented programming extension.
- Auto - Collection of source code generators.
- DCEVM - Modification of the JVM that allows unlimited redefinition of loaded classes at runtime.
- HotswapAgent - Unlimited runtime class and resource redefinition.
- Immutables - Scala-like case classes.
- JHipster - Yeoman source code generator to create applications based on Spring Boot and AngularJS.
- JRebel - Commercial software that instantly reloads code and configuration changes without redeploys.
- Lombok - Code-generator which aims to reduce the verbosity.
- Spring Loaded - Class reloading agent.
Libraries and frameworks for writing distributed and fault-tolerant applications.
- Akka - Toolkit and runtime for building concurrent, distributed, and fault tolerant event-driven applications.
- Apache Storm - Realtime computation system.
- Apache ZooKeeper - Coordination service with distributed configuration, synchronization, and naming registry for large distributed systems.
- Axon Framework - Framework for creating CQRS applications.
- Ehcache - Distributed general purpose cache.
- Hazelcast - Highly scalable in-memory datagrid.
- Hystrix - Provides latency and fault tolerance.
- JGroups - Toolkit for reliable messaging and creating clusters.
- Lagom - Framework for creating microservice-based systems.
- Orbit - Virtual Actors, adding another level of abstraction to traditional actors.
- Pinpoint - Application performance management tool.
- Quasar - Lightweight threads and actors for the JVM.
Databases in a distributed system that appear to applications as a single data source.
- Apache Cassandra - Column-oriented and providing high availability with no single point of failure.
- Apache HBase - Hadoop database for big data.
- Druid - Real-time and historical OLAP data store that excel at aggregation and approximation queries.
- Infinispan - Highly concurrent key/value datastore used for caching.
- OpenTSDB - Scalable and distributed time series database written on top of Apache HBase.
Tools which handle the distribution of applications in native formats.
- Bintray - Version control for binaries which handles the publishing. Can also be used with Maven or Gradle and has a free plan for open-source software or several business plans.
- Boxfuse - Deployment of JVM application to AWS using the principles of Immutable Infrastructure.
- Capsule - Simple and powerful packaging and deployment. A fat JAR on steroids or a "Docker for Java" that supports JVM-optimized containers.
- Central Repository - Largest binary component repository available as a free service to the open-source community. Default used by Apache Maven and available in all other build tools.
- IzPack - Setup authoring tool for cross-platform deployments.
- JitPack - Easy to use package repository for GitHub. Builds Maven/Gradle projects on demand and publishes ready-to-use packages.
- Nexus - Binary management with proxy and caching capabilities.
- packr - Packs JARs, assets and the JVM for native distribution on Windows, Linux and Mac OS X.
Libraries that assist with processing office document formats.
- Apache POI - Supports OOXML (XLSX, DOCX, PPTX) as well as OLE2 (XLS, DOC or PPT).
- documents4j - API for document format conversion using third-party converters such as MS Word.
- docx4j - Creating and manipulating Microsoft Open XML files.
Formal-methods tools: proof assistants, model checking, symbolic execution etc.
- CATG - Concolic unit testing engine. Automatically generates unit tests using formal methods.
- Checker Framework - Pluggable type systems. Includes nullness types, physical units, immutability types and more.
- Daikon - Daikon detects likely program invariants and can generate JML specs based on those invariats.
- Java Path Finder (JPF) - JVM formal verification tool containing a model checker and more. Created by NASA.
- JMLOK 2.0 - Detects nonconformances between code and JML specification through the feedback-directed random tests generation, and suggests a likely cause for each nonconformance detected.
- KeY - The KeY System is a formal software development tool that aims to integrate design, implementation, formal specification, and formal verification of object-oriented software as seamlessly as possible. Uses JML for specification and symbolic execution for verification.
- OpenJML - Translates JML specifications into SMT-LIB format and passes the proof problems implied by the program to backend solvers.
Libraries that facilitate functional programming.
- cyclops-react - Monad and stream utilities, comprehensions, pattern matching, functional extensions for all JDK collections, future streams, trampolines and much more.
- derive4j - Java 8 annotation processor and framework for deriving algebraic data types constructors, pattern-matching, morphisms.
- Fugue - Functional extensions to Guava.
- Functional Java - Implements numerous basic and advanced programming abstractions that assist composition-oriented development.
- Javaslang - Functional component library that provides persistent data types and functional control structures.
- jOOλ - Extension to Java 8 which aims to fix gaps in lambda, providing numerous missing types and a rich set of sequential Stream API additions.
Frameworks that support the development of games.
- jMonkeyEngine - Game engine for modern 3D development.
- libGDX - All-round cross-platform, high-level framework.
- LWJGL - Robust framework that abstracts libraries like OpenGL/CL/AL.