awesome-java

真棒的Java框架、库和软件的精选列表。(A curated list of awesome frameworks, libraries and software for the Java programming language.)

Github星跟蹤圖

Awesome Java

精彩的Java框架,库和软件清单。

Bean映射

简化bean映射的框架。

  • dOOv -为类型安全域模型验证和映射提供流畅的API。它使用注释、代码生成和类型安全的DSL来快速简便地进行bean验证和映射。
  • Dozer - 使用注释和API或XML配置将数据从一个对象复制到另一个对象的Mapper。
  • JMapper - 使用字节码操作进行快速映射。支持注释和API或XML配置。
  • MapStruct - 代码生成器,基于约定配置方法,简化不同bean类型之间的映射。
  • ModelMapper - 智能对象映射库,可自动将对象映射到彼此。
  • Orika - 递归复制的JavaBean映射框架(以及其他功能)从一个对象到另一个对象的数据。
  • Selma - 注释基于处理器的bean映射器。

构建

处理应用程序的构建周期和依赖关系的工具。

  • Apache Maven - 声明性构建和依赖性管理,支持约定优于配置。对于使用相当程序化方法并且难以维护的Apache Ant可能更可取。
  • Bazel - Google提供的工具,可快速可靠地构建代码。
  • Gradle - 通过Groovy编程的增量构建,而不是声明XML。适用于Maven的依赖管理。

字节码操作

库以编程方式操作字节码。

  • ASM - 全功能,低级字节码操作和分析。
  • Byte Buddy - 通过流畅的API进一步简化字节码生成。
  • Byteman - 在运行时通过DSL(规则)操作字节码;主要用于测试/故障排除。
  • cglib - 字节码生成库。
  • Javassist - 尝试简化字节码编辑。

缓存

提供缓存功能的库。

  • cache2k - 内存中的高性能缓存库。
  • Caffeine - 高性能,近乎最佳的缓存库。
  • Ehcache - 分布式通用缓存。
  • Infinispan - 用于缓存的高并发键/值数据存储。

群集管理

可以动态管理集群内应用程序的框架。

  • Apache Aurora - 用于长期运行的服务和cron作业的Mesos框架。
  • Apache Mesos - 将CPU,内存,存储和其他计算资源从机器中抽象出来。
  • Singularity - 使部署和操作变得简单的Mesos框架。它支持Web服务,后台工作人员,预定作业和一次性任务。

代码分析

提供指标和质量衡量的工具

  • Checkstyle - 编码约定和标准的静态分析。
  • Error Prone - 捕捉编译时错误时常见的编程错误。
  • Infer - 用于验证代码正确性的现代静态分析工具。
  • jQAssistant - 使用基于Neo4J的查询语言进行静态代码分析。
  • NullAway - 以较低的构建时间开销消除NullPointerException。
  • PMD - 用于查找错误编码实践的源代码分析。
  • SonarJava - SonarQube和SonarLint的静态分析器。
  • Sourcetrail![c] - 可视化源代码导航器。
  • Spoon - 用于分析和转换Java源代码的库。
  • Spotbugs - 静态分析字节码以查找潜在的错误。

代码覆盖

  • Clover![c] - 依赖源代码工具而不是字节码工具。
  • Cobertura - 依靠离线(或静态)字节码工具和类加载来收集代码覆盖度量。
  • JaCoCo - 使用离线和运行时字节码工具来收集代码覆盖率指标的框架。

代码生成器

为重复代码生成模式的工具,以减少冗长和容易出错。

  • ADT4J - 用于代数数据类型的JSR-269代码生成器。
  • Auto - 生成工厂,服务和价值类。
  • FreeBuilder - 自动生成Builder模式。
  • Immutables - 标注处理器以生成简单,安全和一致的值对象。
  • JavaPoet - API来生成源文件。
  • JHipster - 用于Spring Boot和AngularJS的Yeoman源代码生成器。
  • Joda-Bean - 为Java增加可查询属性的小型框架,增强了JavaBeans。
  • Lombok - 旨在减少冗长的代码生成器。

命令行参数解析器

可轻松解析命令行选项,参数等的库。

  • Airline - 基于注解的框架,用于解析类似Git的命令行参数。
  • args4j - 用于解析命令行参数的小型库。
  • JCommander - 通过实现接口自定义类型和验证的命令行参数解析框架。
  • JOpt Simple - 使用POSIX getopt()和GNU getopt_long()语法的简单分析器。使用流畅的API而不是注释。
  • picocli - 使用帮助中的ANSI颜色和样式。可以作为源来包含,以避免依赖。基于注释的POSIX/GNU /任何语法,子命令,强大的打字选项和位置参数。

编译器编译

有助于创建解析器,解释器或编译器的框架。

  • ANTLR - 用于自上而下解析的复杂全功能框架。
  • JavaCC - 生成自顶向下解析器的解析器生成器。允许词法状态切换并允许扩展BNF规范。
  • JFlex - 一个词法分析器生成器。

配置

提供外部配置的库。

  • centraldogma - 基于Git,ZooKeeper和HTTP/2的高度可用版本控制的服务配置库。
  • cfg4j - 用Java编写的分布式应用程序的现代配置库。
  • 配置 - JVM语言的配置库。
  • dotenv - 一个用于Java的十二因素配置库。
  • ini4j - 提供用于处理Windows'INI文件的API。
  • KAConf - 用于Java和Kotlin的基于注释的配置系统。
  • 所有者 - 减少属性样板。

约束满足问题求解器

帮助实现优化和可满足性问题的库。

  • Choco - 使用约束编程技术的现成约束满足问题解决器。
  • JaCoP - 包含FlatZinc语言界面,使其能够执行MiniZinc模型。
  • OptaPlanner - 业务规划和资源调度优化解决方案。

CSV

简化读取/写入CSV数据的框架和库。

  • jackson-dataformat-csv - 用于读取和写入CSV的杰克逊扩展。
  • opencsv - 简单的CSV解析器。
  • Super CSV - 功能强大的CSV解析器,支持Dozer,Joda-Time和Java 8。 LI>
  • uniVocity-parsers - 最快和功能最齐全的解析器之一。还附带解析器用于TSV和固定宽度记录。

数据库

简化与数据库交互的所有内容。

  • Apache Phoenix - 针对低延迟应用程序的HBase上的高性能关系数据库层。
  • Chronicle Map - 高效的内存中(可选择持久保存到磁盘),堆外关键值存储
  • eXist - NoSQL文档数据库和应用程序平台。
  • FlexyPool - 为最常见的连接池解决方案提供指标和故障转移策略。
  • Flyway - 简单的数据库迁移工具。
  • H2 - 小型SQL数据库以其内存中功能而闻名。
  • HikariCP - 高性能JDBC连接池。
  • JDBI - 方便地提取JDBC。
  • Jedis - 用于与Redis交互的小型客户端,以及用于命令的方法。
  • Jest - Elasticsearch REST API的客户端。
  • jetcd - 用于etcd的客户端库。
  • Jinq - 通过符号执行Java 8 Lambdas进行类型安全数据库查询(在JPA或jOOQ之上)。
  • jOOQ - 基于SQL模式生成类型安全代码。
  • Liquibase - 用于跟踪,管理和应用数据库模式更改的与数据库无关的库。
  • MapDB - 嵌入式数据库引擎,提供支持磁盘或堆内存的并发集合。
  • MariaDB4j - 适用于MariaDB的启动器,无需安装或外部依赖。
  • OrientDB - 嵌入Hazelcast之上的分布式数据库。
  • Presto - 针对大数据的分布式SQL查询引擎。
  • Querydsl - 类型安全统一查询。
  • Realm - 移动数据库直接在手机,平板电脑或可穿戴设备中运行。
  • Redisson - 允许在Redis服务器上分布式和可扩展的数据结构。
  • requery - 一个现代,轻量但功能强大的对象映射和SQL生成器。轻松映射或创建数据库,或者从任何使用Java的平台执行查询和更新。
  • Speedment - 使用Java 8的Stream API进行查询的数据库访问库。
  • sql2o - 精简JDBC包装器,简化数据库访问并提供ResultSets到POJO的简单映射。
  • Vibur DBCP - 具有高级性能监控功能的JDBC连接池库。
  • Xodus - 高并发事务模式和ACID兼容的嵌入式数据库。

数据结构

高效且具体的数据结构。

  • Apache Avro - 数据交换格式包含动态类型,未标记的数据以及缺少手动分配的ID。
  • Apache Orc - 为基于Hadoop的工作负载提供快速高效的列式存储格式。
  • Apache Parquet - 基于Google的Dremel论文中汇编算法的列式存储格式。
  • Apache Thrift - 源于Facebook的数据交换格式。
  • Big Queue - 基于内存映射文件的大而快速且持久的队列。
  • Persistent Collection - 持久且不变的Java集合框架模拟。
  • Protobuf - Google的数据交换格式。
  • SBE - 简单的二进制编码,是最快速的消息格式之一。
  • Tape - 一种闪电般快速的基于文件的交易式FIFO。
  • Wire - 干净,轻量级的协议缓冲区。

日期和时间

与处理日期和时间有关的库。

依赖注入

帮助实现控制反转范式。

  • Apache DeltaSpike - CDI扩展框架。
  • Dagger2 - 编译时注入框架没有反射。
  • Feather - 超轻量级,兼容JSR-330的依赖注入库。
  • Governator - 增强Google Guice的扩展程序和实用程序。
  • Guice - 轻量级和自以为是的框架,可以完成Dagger。
  • HK2 - 轻量级和动态依赖注入框架。

开发

  • AspectJ - 无缝面向方面的编程扩展。
  • DCEVM - JVM修改,允许在运行时无限重新定义加载的类。
  • Faux Pas - 通过绕过Java运行时中没有任何功能接口的问题来简化错误处理的库默认情况下允许抛出检查的异常。
  • HotswapAgent - 无限制的运行时间类和资源重新定义。
  • JavaParser - 解析,修改和生成Java代码。
  • JavaSymbolSolver - Java的符号解析器。
  • JRebel![c] - 即时重新加载代码和配置更改,无需重新部署。
  • NoException - 允许在功能接口中检查异常并将异常转换为可选返回。

分布式应用程序

用于编写分布式和容错应用程序的库和框架。

  • Apache Geode - 内存数据管理系统,可提供可靠的异步事件通知并保证消息传递。
  • Apache Storm - 实时计算系统。
  • Apache ZooKeeper - 针对大型分布式系统的分布式配置,同步和命名注册中心的协调服务。
  • Atomix - 容错分布式协调框架。
  • Axon Framework - 创建CQRS应用程序的框架。
  • 复制模式 - 容错状态机复制框架。
  • Dropwizard断路器 - Dropwizard的断路器设计模式。
  • Failsafe - 通过重试和断路器简单处理故障
  • Hazelcast![c] - 具有免费开源版本的高度可扩展内存数据网格。
  • Hystrix - 提供延迟和容错功能。
  • JGroups - 用于可靠消息传递和群集创建的工具包。
  • 轨道 - 虚拟角色;为传统演员增添了另一个抽象层次。
  • Quasar - JVM的轻量级线程和actor。
  • resilience4j - 功能容错库。
  • ScaleCube - 基于SWIM和八卦协议的嵌入式群集 - 成员资格库。
  • Zuul - 提供动态路由,监控,弹性,安全性等的网关服务。

分布式交易

分布式事务处理提供了一种机制,可确保在出现并发访问和部分故障时数据更新的一致性。

  • Atomikos - 为RTA,SOA和微服务提供事务处理,支持JTA和XA。
  • Bitronix - 简单但完整的JTA 1.1 API实现。
  • Narayana - 为传统ACID和报酬交易提供支持,同时符合JTA,JTS和其他标准。

分发

处理以原生格式分发应用程序的工具。

  • Bintray![c] - 处理发布的二进制文件的版本控制。兼容Maven或Gradle,提供免费的开源软件计划以及多项商业计划。
  • Boxfuse - 使用不可变基础架构的原则将JVM应用程序部署到AWS。
  • Capsule - 简单而强大的打包和部署。类固醇上的胖JAR,或支持JVM优化容器的“Docker for Java”。
  • Central Repository - 最大的二进制组件存储库,可作为免费服务提供给开源社区。默认由Apache Maven使用,并可在所有其他构建工具中使用。
  • IzPack - 用于跨平台部署的设置创作工具。
  • JitPack - 易于使用的GitHub软件包存储库。按需构建Maven/Gradle项目并发布随时可用的软件包。
  • Nexus![c] - 具有代理和缓存功能的二进制管理。
  • packr - 在Windows,Linux和Mac OS X上打包JAR,资产和用于本机分发的JVM。
  • really-executable-jars-maven-plugin - Maven插件,用于自动执行JAR文件。

文件处理

协助处理办公文件格式的库。

  • Apache POI - 支持OOXML(XLSX,DOCX,PPTX)以及OLE2(XLS,DOC或PPT)。
  • documents4j - 使用第三方转换器(如MS Word)进行文档格式转换的API。
  • docx4j - 创建和操作Microsoft Open XML文件。

正式验证

形式化方法工具:证明助手,模型检查,符号执行等。

  • CATG - Concolic单元测试引擎。使用正式方法自动生成单元测试。
  • Checker Framework - 可插入式系统。包括无效类型,物理单位,不变性类型等等。
  • Daikon - 检测可能的程序不变量并根据这些不变量生成JML规范。
  • Java Path Finder(JPF) - 包含模型检查器等的JVM形式验证工具。由美国国家航空航天局创建。
  • JMLOK 2.0 - 通过反馈指导的随机测试生成来检测代码和JML规范之间的不一致性,以及建议检测到每个不符合项的可能原因。
  • KeY - 正式的软件开发工具,旨在将面向对象软件的设计,实现,形式化规范和形式化验证集成为尽可能无缝地。使用JML进行规范和符号执行以进行验证。
  • OpenJML - 将JML规范转换为SMT-LIB格式,并将程序隐含的证明问题传递给后端求解器。

函数式编程

促进函数式编程的库。

  • 独眼巨人反应 - Monad和流实用程序,理解,模式匹配,所有JDK集合的功能扩展,未来流,蹦床等等。
  • derive4j - 用于派生代数数据类型构造函数,模式匹配和态射的Java 8注释处理器和框架。
  • 赋格 - 对Guava的功能扩展。
  • 功能性Java - 实现许多基本和高级编程抽象,以协助面向组合的开发。
  • jOOλ - 对Java 8的扩展,旨在通过提供大量缺失类型和一组丰富的顺序流来修复lambda中的空白API补充。
  • protonpack - 流程实用程序的集合。
  • StreamEx - 增强Java 8 Streams。
  • Vavr - 功能组件库,提供持久数据类型和功能控制结构。

游戏开发

支持游戏开发的框架

  • FXGL - JavaFX游戏开发框架。
  • jMonkeyEngine - 适用于现代3D开发的游戏引擎。
  • libGDX - 全面的跨平台高级框架。
  • LWJGL - 强大的框架,可以抽象OpenGL/CL/AL等库。

地理空间

用于处理地理空间数据和算法的库。

  • Apache SIS - 用于开发地理空间应用程序的库。
  • Geo - Java中的GeoHash实用程序。
  • Geotoolkit.org - 用于开发地理空间应用程序的库。建立在Apache SIS项目之上。
  • GeoTools - 提供地理空间数据工具的库。
  • GraphHopper - 道路引导引擎。用作Java库或独立Web服务。
  • H2GIS - H2数据库的空间扩展。
  • Jgeohash - 使用GeoHash算法的库。
  • Mapsforge - 基于OpenStreetMap数据的地图渲染。
  • Spatial4j - 通用空间/地理空间库。

GUI

用于创建现代图形用户界面的库。

  • JavaFX - Swing的继任者。
  • Scene Builder - 用于JavaFX应用程序的可视布局工具。
  • SWT - 标准小工具工具包,一个图形小工具工具包。

高性能

关于从集合到特定库的高性能计算的一切。

HTTP客户端

帮助创建HTTP请求和/或绑定响应的库。

  • Async Http Client - 异步HTTP和WebSocket客户端库。
  • Feign - 受Retrofit,JAXRS-2.0和WebSocket启发的HTTP客户端联编程序。
  • OkHttp - HTTP + SPDY客户端。
  • restQL-core - 从多个服务获取信息的微服务查询语言。
  • Retrofit - Typesafe REST客户端。
  • Ribbon - 客户端IPC库,在云计算中经过实战测试。
  • riiptide - Spring RestTemplate的客户端响应路由。

超媒体类型

处理序列化为超媒体类型的库。

IDE

试图简化开发的几个方面的集成开发环境。

  • Eclipse - 建立了支持大量插件和语言的开源项目。
  • IntelliJ IDEA![c] - 支持许多JVM语言,并为Android开发提供了很好的选择。商业版面向企业部门。
  • NetBeans - 提供从数据库访问到HTML5的几个Java SE和EE特性的集成。
  • Visual Studio Code - 通过使用来自内部市场的扩展,以简单、现代的工作流为轻量级项目提供Java支持。

影像

帮助创建,评估或操纵图形图像的库。

  • Imgscalr - 在纯Java 2D中实现的简单,高效和硬件加速的图像缩放库。
  • Tess4J - 用于Tesseract OCR API的JNA包装。
  • Thumbnailator - 高品质缩略图生成库。
  • TwelveMonkeys - 收集插件,扩大支持的图像文件格式数量。
  • ZXing - 多格式一维/二维条码图像处理库。

JSON

  • Genson - 功能强大且易于使用的Java到JSON转换库。
  • Gson - 将对象序列化为JSON,反之亦然。随时随地使用,表现出色。
  • HikariJSON - 高性能JSON解析器,比Jackson快两倍。
  • jackson-modules-java8 - 用于Java 8数据类型和功能的杰克逊模块集。
  • Jackson-datatype-money - 开源杰克逊模块,支持JSON序列化和JavaMoney数据类型的反序列化
  • Jackson - 与GSON类似,但如果您需要更频繁地实例化库,则会提高性能。
  • JSON-io - 将Java转换为JSON。将JSON转换为Java。漂亮的打印JSON。 Java JSON序列化程序。
  • jsoniter - 使用迭代器和惰性解析API的快速灵活的库。
  • LoganSquare - 基于Jackson流媒体API的JSON解析和序列化库。胜过GSON&杰克逊的库。
  • Moshi - 现代JSON库,少见,并使用List和Map等内置类型。
  • Yasson - 类与JAXB之间的绑定层与JAXB类似。

JSON处理

用于处理JSON格式数据的库。

  • fastjson - 速度非常快的处理器,无需额外的依赖性和完整的数据绑定。
  • Jolt - JSON转换为JSON转换工具。
  • JsonPath - 使用类似XPATH的语法从JSON中提取数据。
  • JsonSurfer - 流式处理JsonPath处理器,专用于处理庞大复杂的JSON数据。

JVM和JDK

JVM/JDK的当前实现。

  • Avian - 兼容JIT和AOT模式的JVM。包含iOS端口。
  • OpenJ9 - 高性能,企业级,灵活许可,公开管理的跨平台Java虚拟机扩展和增强运行时技术组件来自Eclipse OMR和OpenJDK项目。
  • OpenJDK - 针对Linux的开源实施。
  • ParparVM - 具有适用于iOS的非阻塞并发GC的VM。
  • Zulu OpenJDK 9 - 早期访问的OpenJDK 9适用于Windows,Linux和Mac OS X
  • Zulu OpenJDK - OpenJDK通过Java 8为Windows,Linux和Mac OS X构建。

登录

记录应用程序行为的库。

  • Apache Log4j 2 - 使用强大的插件和配置体系结构完成重写。
  • Graylog - 适用于扩展角色和权限管理的开源聚合器。
  • Kibana - 分析和可视化日志文件。某些功能需要付款。
  • Logback - 强大的日志库,通过Groovy提供有趣的配置选项。
  • Logbook - 可扩展的开源库,用于HTTP请求和响应日志记录。
  • Logstash - 管理日志文件的工具。
  • SLF4J - 抽象层/简单记录外观。
  • tinylog - 具有静态记录器类的轻量级日志记录框架。
  • Tracer - 在分布式系统中调用跟踪和日志关联。

机器学习

为数据学习提供特定统计算法的工具。

  • Apache Flink - 快速,可靠的大型数据处理引擎。
  • Apache Mahout - 可扩展算法,专注于协作过滤,集群和分类。
  • Apache Spark - 数据分析集群计算框架。
  • DatumBox - 为自然语言处理提供多种算法和预先训练的模型。
  • DeepDive - 从非结构化数据创建结构化信息并将其集成到现有数据库中。
  • Deeplearning4j - 分布式和多线程的深度学习库。
  • H2O - 用于统计大数据的分析引擎。
  • JSAT - 支持多线程执行的预处理,分类,回归和聚类算法。
  • Oryx 2 - 构建实时大型机器学习应用程序的框架。包括用于协作过滤,分类,回归和群集的端到端应用程序。
  • Smile - 统计机器智能和学习引擎提供了一套机器学习算法和一个可视化库。
  • Weka - 从预处理到可视化的数据挖掘任务的算法集合。

信息

有助于在客户端之间发送消息以确保协议独立性的工具。

  • Aeron - 高效,可靠,单播和组播信息传输。
  • Apache ActiveMQ - 实现JMS并将同步转换为异步通信的消息代理。
  • Apache Camel - 通过企业集成模式将不同的传输API集合在一起。
  • Apache Kafka - 高吞吐量的分布式消息传递系统。
  • Hermes - 建立在Kafka之上的快速可靠的消息代理。
  • JeroMQ - 实施ZeroMQ。
  • Nakadi - 在Kafka上提供RESTful API。
  • RocketMQ - 一个快速,可靠且可扩展的分布式消息传递平台。
  • Smack - 跨平台的XMPP客户端库。

杂类

其他。

  • Codename One - 用于编写原生移动应用程序的跨平台解决方案。
  • CQEngine - Java集合上的超快速,类似于SQL的查询。
  • 设计模式 - 实现和解释最常见的设计模式。
  • Failsafe - 通过重试和断路器简单处理故障
  • FF4J - Java特性标志。
  • J2ObjC - 用于将Android库移植到iOS的Java-to-Objective-C翻译器。
  • JavaX - 重新设计和扩展Java,重点在于简单性。
  • JBake - 静态网站生成器。
  • JBot - 构建聊天机器人的框架。
  • Jimfs - 内存中的文件系统。
  • Joda-Money - JDK未提供的基本货币和货币类别和算法。
  • JPad - 片段亚军。
  • Lanterna - 简易控制台文本-GUI库,类似于curses。
  • LightAdmin - 可快速应用程序开发的可插入CRUD UI库。
  • Maven Wrapper - Maven的Gradle Wrapper模拟器,可以在不安装Maven的情况下构建项目。
  • Membrane Service Proxy - 用Java编写的开源,反向代理框架。
  • MinimalFTP - 轻量级,小型且可定制的FTP服务器。
  • 现代Java - Java 8指南 - 受欢迎的Java 8指南。
  • Modernizer - 检测旧版Java API的使用情况。
  • 多操作系统引擎 - 开发源代码的跨平台引擎手机(iOS,Android等)应用程序。
  • OpenRefine - 处理杂乱数据的工具:清理,转换,扩展Web服务并将其链接到数据库。
  • Maven的Polyglot - 用于Maven 3.3.1+的扩展,允许以XML以外的方言编写POM模型
  • Smooks - 用于构建处理意味着绑定,转换,消息处理和充实的数据的应用程序的可扩展框架。
  • Togglz - 实施特征切换模式。
  • TypeTools - 解决泛型类型的工具。
  • XMLBeam - 通过在代码中使用注释或XPath来处理XML。
  • OctoLinker - 浏览器扩展程序,可以更有效地浏览GitHub上的代码。

微服务

用于管理微服务的工具:即创建,协调或发现。

  • Apollo - 用于编写组合式微服务的库。
  • consul-api - Consul API:分布式,高可用性和数据中心感知注册/发现服务。
  • Eureka - 基于REST的服务注册管理器,实现永续负载均衡和故障转移。
  • Lagom - 创建基于微服务的系统的框架。

监控

监视生产应用程序的工具。

  • AppDynamics![c] - 性能监视器。
  • Automon - 将AOP的强大功能与监控和/或记录工具结合在一起。
  • BugSnag![c] - 通过集成多个第三方工具实现异常和错误监控,实现更好的工作流程和免费爱好者层。
  • Failsafe执行器 - 在Spring-Boot环境中对Failsafe断路器进行开箱即用的监控。
  • Glowroot - 开源Java APM。
  • inspectIT - 通过可以在运行中更改的钩子捕获详细的运行时信息。它支持通过OpenTracing API跟踪多个系统,并可将数据与最终用户监控进行关联。
  • Instrumental![c] - 实时Java应用程序性能监控。具有免费开发账户的商业服务。
  • JavaMelody - 性能监控和性能分析。
  • jmxtrans - 连接到多个JVM并通过JMX查询它们的属性。它的查询语言基于JSON,它允许非Java程序员访问JVM属性。支持不同的输出写入,包括Graphite,Ganglia和StatsD。
  • Jolokia - JMX over REST。
  • Kamon - 用于监控在JVM上运行的应用程序的工具。
  • Metrics - 通过JMX或HTTP公开指标并将它们发送到数据库。
  • New Relic![c] - 性能监视器。
  • nudge4j - Jav浏览器的远程开发者控制台一个8通过字节码注入。
  • OverOps![c] - 生产中错误监控和调试。
  • Pinpoint - 开源APM工具。
  • Prometheus - 提供多维数据模型,DSL,自主服务器节点等等。
  • SPM![c] - 为JVM应用程序分配事务跟踪的性能监视器。
  • Stagemonitor - JVM应用程序的开源性能监控和事务跟踪。
  • Sysmon - 用于Java VM的轻量级平台监控工具。

本地

用于使用平台特定的本机库。

  • JavaCPP - 提供对原生C ++的高效且简单的访问。
  • JNA - 在不编写JNI的情况下使用本地库。还提供通用系统库的接口。
  • JNR - 在不编写JNI的情况下使用本地库。还提供通用系统库的接口。与JNA相同的目标,但速度更快,并成为即将到来的巴拿马项目的基础。

自然语言处理

专门处理文本的库。

  • CogCompNLP - 为纯文本输入提供常用注释器。
  • CoreNLP - 为标记,命名实体识别和情感分析等任务提供一组基本工具。
  • DKPro - 用于语言预处理,机器学习,词汇资源等的可重用NLP工具的集合。
  • LingPipe - 从POS标记到情感分析的工具包。

联网

用于构建网络服务器的库。

  • Comsat - 将标准Java网络相关API与Quasar光纤和演员集成。
  • Dubbo - 高性能RPC框架。
  • Finagle - 用于构建高并发服务器的可扩展RPC系统。它为多种协议实现统一的客户端和服务器API,并且与协议无关,以简化新协议的实现。
  • Grizzly - NIO框架。用作Glassfish中的网络层。
  • gRPC - 基于protobuf和HTTP/2的RPC框架。
  • KryoNet - 为使用NIO和Kryo进行高效的TCP和UDP客户端/服务器网络通信提供干净而简单的API。
  • MINA - 通过Java NIO通过TCP/IP和UDP/IP进行网络操作的抽象,事件驱动的异步I/O API
  • Netty - 构建高性能网络应用程序的框架。
  • Nifty - 在Netty上实施Thrift客户端和服务器。
  • sshj - 以编程方式使用SSH,SCP或SFTP。
  • Undertow - Web服务器提供基于NIO的阻塞API和非阻塞API。用作WildFly中的网络层。
  • urnlib - 表示,解析和编码URN,如RFC 2141中所述。

ORM

处理对象持久性的API。

  • Apache Cayenne - 为数据访问提供干净的静态API。还包括用于处理数据库映射的GUI Modeler,以及数据库逆向工程和生成。
  • Ebean - 提供简单而快速的数据访问。
  • EclipseLink - 支持许多持久标准:JPA,JAXB,JCA和SDO。
  • Hibernate - 稳健且广泛使用,并具有活跃的社区。
  • MyBatis - 将对象与存储过程或SQL语句耦合。
  • SimpleFlatMapper - 简单的数据库和CSV映射器。

PaaS

Java平台即服务。

PDF

用于帮助创建PDF文件的工具。

性能分析

用于性能分析,分析和基准测试的工具。

  • fastThread![c] - 使用免费的基于云端的上传界面分析和可视化线程转储。
  • GCeasy![c] - 分析和可视化GC日志的工具。它提供了一个免费的基于云的上传界面。
  • honest-profiler - 低开销,无偏差的采样分析器。
  • jHiccup - 记录和记录平台JVM摊位。
  • JITWatch - 分析由HotSpot JVM制作的JIT编译器优化。
  • JMH - 用于构建,运行和分析nano/micro/milli /以Java和其他面向JVM的语言编写的宏基准测试。
  • JProfiler![c] - 针对JDBC,JPA和NoSQL的数据库分析,带有JEE支持。
  • LatencyUtils - 用于延迟测量和报告的实用程序。
  • XRebel![c] - 使用浏览器中的小部件对Web应用程序进行实时分析。
  • YourKit Java Profiler![c] - 用于在JVM上运行的任何应用程序的Profiler。

平台

包含多个类别的多个库的套件框架。

  • CUBA平台 - 基于Spring,EclipseLink和Vaadin开发具有丰富Web界面的企业应用程序的高级框架。
  • Light-Java - 一个快速,轻量且高效的微服务框架,内置security
  • Orienteer - 用于快速配置/开发CRM,ERP,LMS和其他应用程序的开源商业应用程序平台。
  • Spring - 为依赖注入,面向方面的编程,安全性等提供了许多包。

反应性库

用于开发反应式应用程序的库。

  • Akka - 用于构建并发、分布式、容错和事件驱动的应用程序的工具包和运行时。
  • Reactive Streams - 为非阻塞背压提供异步流处理标准。
  • Reactor - 用于构建反应式快速数据应用程序的库。
  • vert.x - Polyglot事件驱动的应用程序框架。

REST框架

专门用于创建RESTful服务的框架。

  • Dropwizard - 使用Jetty、Jackson、Jersey和Metrics建立现代Web应用程序的自己使用的框架。
  • Jersey - JAX-RS参考实施。
  • Microserver - 一个方便、可扩展的微服务插件系统,用于Spring和Spring Boot。 它拥有超过30个插件并且不断增长,它支持微型单块和纯微型服务。
  • Rapidoid - 由嵌入式HTTP服务器、GUI组件和依赖项注入组成的简单、安全且速度极快的框架。
  • rest.li - 使用类型安全绑定和异步的、非阻塞的IO构建健壮的、可伸缩的RESTful架构的框架,使用端到端开发人员工作流来促进干净的实践、统一的接口设计和一致的数据建模。
  • RESTEasy - 充分认证并可移植的JAX-RS规范实现。
  • RestExpress - JBoss Netty HTTP堆栈上的精简包装,提供可扩展性和性能。
  • Restlet Framework - 具有强大路由和过滤功能的开创性框架,以及统一的客户端和服务器API。
  • Spark - 受Sinatra启发的框架。
  • Crnk - JSON API规范的实现,通过排序、过滤、分页、链接、对象图、类型安全、批量更新、集成等构建面向资源的REST端点。

科学

用于科学计算,分析和可视化的库。

  • DataMelt - 科学计算,数据分析和数据可视化环境。
  • Erdos - 用于理论算法的模块化、简单易用的图表框架。
  • GraphStream - 用于建模和分析动态图的库。
  • JGraphT - 提供数学图论对象和算法的图库。
  • JGraphX - 用于可视化(主要是Swing)和与节点边缘图交互的库。
  • 矿山Java工具包 - 用于地球物理科学计算,可视化和数字信号分析的库。
  • Morpheus - 提供一种称为DataFrame的多功能二维内存高效表格数据结构,以实现高效的内存在JVM上进行科学计算的分析。
  • Tablesaw - 包括数据框架,嵌入式列存储以及数百种转换,汇总或过滤数据的方法。
  • XChart - 用于绘制数据的轻量级库。 可以使用许多可自定义的图表类型。

搜索

为搜索和分析索引文档的引擎。

  • Apache Lucene - 高性能,全功能,跨平台的文本搜索引擎库。
  • Apache Solr - 针对大量流量进行优化的企业级搜索引擎。
  • Elasticsearch - 具有REST风格网页界面和无模式JSON文档的分布式多租户功能全文搜索引擎。/LI>

安全

处理安全性,身份验证,授权或会话管理的库。

  • Apache Shiro - 执行身份验证,授权,加密和会话管理。
  • Bouncy Castle - 全功能加密库和JCA提供商,提供从基本帮手到PGP的各种功能/ SMIME操作。
  • 加密器 - 对云中文件进行多平台,透明的客户端加密。
  • Hdiv - 运行时应用程序可排除OWASP Top 10中包含的应用程序安全风险,包括SQL注入,跨站点脚本,跨站请求伪造,数据篡改和强力攻击。
  • jjwt - 用于Java和Android的JSON Web令牌。
  • Keycloak - 用于浏览器应用程序和RESTful Web服务的集成SSO和IDM。
  • Keyczar - 易于使用且安全的加密框架,包含关键版本。
  • Keywhiz - 分发和管理机密的系统。
  • Nbvcxz - 高级密码强度估算。
  • OACC - 提供基于许可的au授权服务。
  • pac4j - 安全引擎。
  • PicketLink - 用于安全和身份管理的Umbrella项目。
  • Vault - 保护,存储并严格控制对令牌,密码,证书,API密钥和其他秘密的访问。它处理租赁,关键吊销,关键滚动和审计。通过统一的API,用户可以访问加密的密钥/值存储和网络加密即服务,或者生成AWS IAM/STS凭证,SQL/NoSQL数据库,X.509证书,SSH凭证等。 LI>

序列化

高效处理序列化的库。

  • FlatBuffers - 内存高效的序列化库,可以访问序列化的数据而无需解压缩和解析它。
  • FST - JDK兼容的高性能对象图序列化。
  • Kryo - 快速高效的对象图形序列化框架。
  • MessagePack - 高效的二进制序列化格式。
  • PHP序列化程序 - 以PHP序列化格式序列化对象。

服务器

专门用于部署应用程序的服务器。

  • Apache Tomcat - 强大的Servlet和JSP全能服务器。
  • Apache TomEE - Tomcat plus Java EE。
  • Jetty - 提供Web服务器和javax.servlet容器,并支持HTTP/2,WebSocket,OSGi,JMX ,JNDI,JAAS和其他许多集成。
  • nanohttpd - 小巧,易于嵌入的HTTP服务器。
  • WebSphere Liberty - 由IBM开发的轻量级模块化服务器。
  • WildFly - 以前称为JBoss,由Red Hat开发并提供广泛的Java EE支持。

模板引擎

在模板中替换表达式的工具。

  • Handlebars.java - 无逻辑和语义的小胡子模板。
  • Jade4J - 实施Pug(以前称为Jade)。
  • Jtwig - 模块化,可配置且经过充分测试的模板引擎。
  • Pebble - 受Twig的启发,并将其自身与其继承功能和易于阅读的语法分开。它内置自动转义安全功能,并包含对国际化的集成支持。
  • Thymeleaf - 旨在替代JSP并适用于XML文件。

测试

从模型测试到视图的工具。

异步

简化测试异步服务的工具。

教程

通俗易懂、容易上手的教程。(easy-to-follow, easy-to-use tutorials.)

概覽

名稱與所有者akullpp/awesome-java
主編程語言
編程語言 (語言數: 0)
平台
許可證Other
發布數0
創建於2014-07-09 10:12:43
推送於2024-05-05 17:52:13
最后一次提交2024-04-22 00:52:51
星數40k
關注者數2.2k
派生數7.3k
提交數1.7k
已啟用問題?
問題數129
打開的問題數1
拉請求數678
打開的拉請求數1
關閉的拉請求數272
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

Awesome Java Awesome

A curated list of awesome Java frameworks, libraries and software.

Contents

Projects

Bean Mapping

Frameworks that ease bean mapping.

  • dOOv - Provides fluent API for typesafe domain model validation and mapping. It uses annotations, code generation and a type safe DSL to make bean validation and mapping fast and easy.
  • Dozer - Mapper that copies data from one object to another using annotations and API or XML configuration.
  • JMapper - Uses byte code manipulation for lightning-fast mapping. Supports annotations and API or XML configuration.
  • MapStruct - Code generator that simplifies mappings between different bean types, based on a convention-over-configuration approach.
  • ModelMapper - Intelligent object mapping library that automatically maps objects to each other.
  • Orika - JavaBean-mapping framework that recursively copies (among other capabilities) data from one object to another.
  • reMap - Lambda and method handle-based mapping which requires code and not annotations if objects have different names.
  • Selma - Annotation processor-based bean mapper.

Build

Tools that handle the build cycle and dependencies of an application.

  • Apache Maven - Declarative build and dependency management that favors convention over configuration. It might be preferable to Apache Ant, which uses a rather procedural approach and can be difficult to maintain.
  • Bazel - Tool from Google that builds code quickly and reliably.
  • Buck - Encourages the creation of small, reusable modules consisting of code and resources.
  • Gradle - Incremental builds programmed via Groovy instead of declaring XML. Works well with Maven's dependency management.

Bytecode Manipulation

Libraries to manipulate bytecode programmatically.

  • ASM - All-purpose, low-level bytecode manipulation and analysis.
  • Byte Buddy - Further simplifies bytecode generation with a fluent API.
  • bytecode-viewer - Java 8 Jar & Android APK reverse engineering suite. (GPL-3.0-only)
  • Byteman - Manipulate bytecode at runtime via DSL (rules); mainly for testing/troubleshooting. (LGPL-2.1-or-later)
  • cglib - Bytecode generation library.
  • Javassist - Tries to simplify bytecode editing.
  • Mixin - Manipulate bytecode at runtime using real Java code.
  • Perses - Dynamically injects failure/latency at the bytecode level according to principles of chaos engineering.

Caching

Libraries that provide caching facilities.

  • cache2k - In-memory high performance caching library.
  • Caffeine - High-performance, near-optimal caching library.
  • Ehcache - Distributed general-purpose cache.
  • Infinispan - Highly concurrent key/value datastore used for caching.

CLI

Libraries for everything related to the CLI.

  • ASCII Table - Library to draw tables in ASCII.
  • Airline - Annotation-based framework for parsing Git-like command-line arguments.
  • args4j - Small library to parse command-line arguments.
  • Jansi - ANSI escape codes to format console output.
  • Java ASCII Render - Graphical primitives for the console.
  • JCommander - Command-line argument-parsing framework with custom types and validation via implementing interfaces.
  • jbock - Typesafe, reflection-free, annotation based command-line parser.
  • Jexer - Advanced console (and Swing) text user interface (TUI) library, with mouse-draggable windows, built-in terminal window manager, and sixel image support. Looks like Turbo Vision.
  • JLine - Includes features from modern shells like completion or history.
  • JOpt Simple - Fluent parser that uses the POSIX#getopt and GNU#getopt_long syntaxes.
  • picocli - ANSI colors and styles in usage help with annotation-based POSIX/GNU/any syntax, subcommands, strong typing for both options and positional args.
  • Text-IO - Aids the creation of full console-based applications.
  • Lanterna - Easy console text-GUI library, similar to curses. (LGPL-3.0-only)

Cluster Management

Frameworks that can dynamically manage applications inside of a cluster.

  • Apache Aurora - Mesos framework for long-running services and cron jobs.
  • Apache Mesos - Abstracts CPU, memory, storage, and other compute resources away from machines.
  • Singularity - Mesos framework that makes deployment and operations easy. It supports web services, background workers, scheduled jobs, and one-off tasks.

Code Analysis

Tools that provide metrics and quality measurements.

  • Checkstyle - Static analysis of coding conventions and standards. (LGPL-2.1-or-later)
  • Error Prone - Catches common programming mistakes as compile-time errors.
  • Infer - Modern static analysis tool for verifying the correctness of code.
  • jQAssistant - Static code analysis with Neo4J-based query language. (GPL-3.0-only)
  • NullAway - Eliminates NullPointerExceptions with low build-time overhead.
  • PMD - Source code analysis for finding bad coding practices.
  • SonarJava - Static analyzer for SonarQube & SonarLint. (LGPL-3.0-only)
  • Sourcetrail - Visual source code navigator.
  • Spoon - Library for analyzing and transforming Java source code.
  • Spotbugs - Static analysis of bytecode to find potential bugs. (LGPL-2.1-only)

Code Coverage

Frameworks and tools that enable code coverage metrics collection for test suites.

  • Clover - 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. (GPL-2.0-only)
  • JaCoCo - Framework that enables collection of code coverage metrics, using both offline and runtime bytecode instrumentation.

Code Generators

Tools that generate patterns for repetitive code in order to reduce verbosity and error-proneness.

  • ADT4J - JSR-269 code generator for algebraic data types.
  • Auto - Generates factory, service, and value classes.
  • FreeBuilder - Automatically generates the Builder pattern.
  • Immutables - Annotation processors to generate simple, safe and consistent value objects.
  • JavaPoet - API to generate source files.
  • JHipster - Yeoman source code generator for Spring Boot and AngularJS.
  • Joda-Beans - Small framework that adds queryable properties to Java, enhancing JavaBeans.
  • Lombok - Code generator that aims to reduce verbosity.

Compiler-compiler

Frameworks that help to create parsers, interpreters or compilers.

  • ANTLR - Complex full-featured framework for top-down parsing.
  • JavaCC - Parser generator that generates top-down parsers. Allows lexical state switching and permits extended BNF specifications.
  • JFlex - Lexical analyzer generator.

Configuration

Libraries that provide external configuration.

  • centraldogma - Highly-available version-controlled service configuration repository based on Git, ZooKeeper and HTTP/2.
  • cfg4j - Modern configuration library for distributed apps written in Java.
  • config - Configuration library for JVM languages.
  • dotenv - Twelve-factor configuration library which uses environment-specific files.
  • ini4j - Provides an API for handling Windows' INI files.
  • KAConf - Annotation-based configuration system for Java and Kotlin.
  • owner - Reduces boilerplate of properties.

Constraint Satisfaction Problem Solver

Libraries that help with implementing optimization and satisfiability problems.

  • Choco - Off-the-shelf constraint satisfaction problem solver that uses constraint programming techniques.
  • JaCoP - Includes an interface for the FlatZinc language, enabling it to execute MiniZinc models. (AGPL-3.0)
  • OptaPlanner - Business planning and resource scheduling optimization solver.

CSV

Frameworks and libraries that simplify reading/writing CSV data.

  • jackson-dataformat-csv - Jackson extension for reading and writing CSV.
  • opencsv - Simple CSV parser.
  • Super CSV - Powerful CSV parser with support for Dozer, Joda-Time and Java 8.
  • uniVocity-parsers - One of the fastest and most feature-complete parsers. Also comes with parsers for TSV and fixed-width records.

Data Structures

Efficient and specific data structures.

  • Apache Avro - Data interchange format with dynamic typing, untagged data, and 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 Google's paper on Dremel.
  • Apache Thrift - Data interchange format that originated at Facebook.
  • Big Queue - Fast and persistent queue based on memory-mapped files.
  • HyperMinHash-java - Probabilistic data structure for computing union, intersection, and set cardinality in loglog space.
  • 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.
  • Tape - Lightning-fast, transactional, file-based FIFO.
  • Wire - Clean, lightweight protocol buffers.

Database

Everything that simplifies interactions with the database.

  • Apache Drill - Distributed, schema on-the-fly, ANSI SQL query engine for Big Data exploration.
  • Apache Phoenix - High-performance relational database layer over HBase for low-latency applications.
  • AranoDB - ArangoDB Java driver.
  • Chronicle Map - Efficient, in-memory (opt. persisted to disk), off-heap key-value store.
  • druid - High-performance, column-oriented, distributed data store.
  • eXist - NoSQL document database and application platform. (LGPL-2.1-only)
  • 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.
  • jasync-sql - Async DB driver for MySQL and PostgreSQL.
  • JDBI - Convenient abstraction of JDBC.
  • Jedis - Small client for interaction with Redis, with methods for commands.
  • Jest - Client for the Elasticsearch REST API.
  • jetcd - Client library for etcd.
  • Jinq - Typesafe database queries via symbolic execution of Java 8 Lambdas (on top of JPA or jOOQ).
  • jOOQ - Generates typesafe code based on SQL schema.
  • Leaf - Distributed ID generate service.
  • 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.
  • MariaDB4j - Launcher for MariaDB that requires no installation or external dependencies.
  • Modality - Lightweight ORM with database reverse engineering features.
  • 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.
  • requery - Modern, lightweight but powerful object mapping and SQL generator. Easily map to or create databases, or perform queries and updates from any Java-using platform.
  • Speedment - Database access library that utilizes Java 8's Stream API for querying.
  • sql2o - Thin JDBC wrapper that simplifies database access and provides simple mapping of ResultSets to POJOs.
  • Vibur DBCP - JDBC connection pool library with advanced performance monitoring capabilities.
  • Xodus - Highly concurrent transactional schema-less and ACID-compliant embedded database.

Date and Time

Libraries related to handling date and time.

  • Almanac Converter - Simple conversion between different calendar systems.
  • iCal4j - Parse and build iCalendar RFC 5545 data models.
  • ThreeTen-Extra - Additional date-time classes that complement those in JDK 8.
  • Time4J - Advanced date and time library. (LGPL-2.1-only)

Dependency Injection

Libraries that help to realize the Inversion of Control paradigm.

  • Apache DeltaSpike - CDI extension framework.
  • Dagger - Compile-time injection framework without reflection.
  • Feather - Ultra-lightweight, JSR-330-compliant dependency injection library.
  • Governator - Extensions and utilities that enhance Google Guice.
  • Guice - Lightweight and opinionated framework that completes Dagger.
  • HK2 - Lightweight and dynamic dependency injection framework.
  • JayWire - Lightweight dependency injection framework. (LGPL-3.0-only)

Development

Augmentation of the development process at a fundamental level.

  • AspectJ - Seamless aspect-oriented programming extension.
  • DCEVM - JVM modification that allows unlimited redefinition of loaded classes at runtime. (GPL-2.0-only)
  • Faux Pas - Library that simplifies error handling by circumventing the issue that none of the functional interfaces in the Java Runtime is allowed by default to throw checked exceptions.
  • HotswapAgent - Unlimited runtime class and resource redefinition. (GPL-2.0-only)
  • JavaParser - Parse, modify and generate Java code.
  • JavaSymbolSolver - Symbol solver.
  • Manifold - Re-energizes Java with powerful features like type-safe metaprogramming, structural typing and extension methods.
  • NoException - Allows checked exceptions in functional interfaces and converts exceptions to Optional return.
  • SneakyThrow - Ignores checked exceptions without bytecode manipulation. Can also be used inside Java 8 stream operations.

Distributed Applications

Libraries and frameworks for writing distributed and fault-tolerant applications.

  • Apache Geode - In-memory data management system that provides reliable asynchronous event notifications and guaranteed message delivery.
  • Apache Storm - Realtime computation system.
  • Apache ZooKeeper - Coordination service with distributed configuration, synchronization, and naming registry for large distributed systems.
  • Atomix - Fault-tolerant distributed coordination framework.
  • Axon - Framework for creating CQRS applications.
  • Dropwizard Circuit Breaker - Circuit breaker design pattern for Dropwizard. (GPL-2.0-only)
  • Failsafe - Simple failure handling with retries and circuit breakers.
  • Hazelcast - Highly scalable in-memory datagrid with a free open-source version.
  • JGroups - Toolkit for reliable messaging and cluster creation.
  • Orbit - Virtual actors; adds another level of abstraction to traditional actors.
  • Quasar - Lightweight threads and actors for the JVM.
  • resilience4j - Functional fault tolerance library.
  • ScaleCube Services - Embeddable Cluster-Membership library based on SWIM and gossip protocol.
  • Zuul - Gateway service that provides dynamic routing, monitoring, resiliency, security, and more.

Distributed Transactions

Distributed transactions provide a mechanism for ensuring consistency of data updates in the presence of concurrent access and partial failures.

  • Atomikos - Provides transactions for REST, SOA and microservices with support for JTA and XA.
  • Bitronix - Simple but complete implementation of the JTA 1.1 API.
  • Narayana - Provides support for traditional ACID and compensation transactions, also complies with JTA, JTS and other standards. (LGPL-2.1-only)
  • Seata - Delivers high performance and easy to use distributed transaction services under a microservices architecture.

Distribution

Tools that handle the distribution of applications in native formats.

  • Boxfuse c - Deployment of JVM applications 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.
  • jlink.online - Builds optimized runtimes over HTTP.
  • Nexus c - Binary management with proxy and caching capabilities.
  • packr - Packs JARs, assets and the JVM for native distribution on Windows, Linux and macOS.
  • really-executable-jars-maven-plugin - Maven plugin for making self-executing JARs.

Document Processing

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 - Create and manipulate Microsoft Open XML files.
  • zerocell - Annotation-based API for reading data from Excel sheets into POJOs with focus on reduced overhead.

Financial

Libraries related to the financial domain.

  • Parity - Platform for trading venues.
  • Philadelphia - Low-latency financial information exchange.
  • Square - Integration with the Square API.
  • Stripe - Integration with the Stripe API.

Formal Verification

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. (GPL-2.0-only WITH Classpath-exception-2.0)
  • Daikon - Detects likely program invariants and generates JML specs based on those invariants.
  • Java Path Finder (JPF) - JVM formal verification tool containing a model checker and more. Created by NASA.
  • JMLOK 2.0 - Detects inconsistencies between code and JML specification through feedback-directed random tests generation, and suggests a likely cause for each nonconformance detected. (GPL-3.0-only)
  • KeY - 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. (GPL-2.0-or-later)
  • OpenJML - Translates JML specifications into SMT-LIB format and passes the proof problems implied by the program to backend solvers. (GPL-2.0-only)

Functional Programming

Libraries that facilitate functional programming.

  • Cyclops - 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 and morphisms. (GPL-3.0-only)
  • Fugue - Functional extensions to Guava.
  • Functional Java - Implements numerous basic and advanced programming abstractions that assist composition-oriented development.
  • jOOλ - Extension to Java 8 that aims to fix gaps in lambda by providing numerous missing types and a rich set of sequential Stream API additions.
  • protonpack - Collection of stream utilities.
  • StreamEx - Enhances Java 8 Streams.
  • Vavr - Functional component library that provides persistent data types and functional control structures.

Game Development

Frameworks that support the development of games.

  • FXGL - JavaFX Game Development Framework.
  • 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.

Geospatial

Libraries for working with geospatial data and algorithms.

  • Apache SIS - Library for developing geospatial applications.
  • Geo - GeoHash utilities in Java.
  • Geotoolkit.org - Library for developing geospatial applications. Built on top of the Apache SIS project. (LGPL-2.1-only)
  • GeoTools - Library that provides tools for geospatial data. (LGPL-2.1-only)
  • GraphHopper - Road-routing engine. Used as a Java library or standalone web service.
  • H2GIS - Spatial extension of the H2 database. (LGPL-3.0-only)
  • Jgeohash - Library for using the GeoHash algorithm.
  • Mapsforge - Map rendering based on OpenStreetMap data. (LGPL-3.0-only)
  • Spatial4j - General-purpose spatial/geospatial library.

GUI

Libraries to create modern graphical user interfaces.

  • JavaFX - Successor of Swing.
  • Scene Builder - Visual layout tool for JavaFX applications.
  • SWT - Graphical widget toolkit.

High Performance

Everything about high-performance computation, from collections to specific libraries.

  • Agrona - Data structures and utility methods that are common in high-performance applications.
  • Disruptor - Inter-thread messaging library.
  • Eclipse Collections - Collections framework inspired by Smalltalk.
  • fastutil - Fast and compact type-specific collections.
  • HPPC - Primitive collections.
  • JCTools - Concurrency tools currently missing from the JDK.
  • Koloboke - Hash sets and hash maps.

HTTP Clients

Libraries that assist with creating HTTP requests and/or binding responses.

  • Async Http Client - Asynchronous HTTP and WebSocket client library.
  • Feign - HTTP client binder inspired by Retrofit, JAXRS-2.0, and WebSocket.
  • OkHttp - HTTP and SPDY client.
  • Play WS - Typesafe client with reactive streams and caching.
  • restQL-java - Microservice query language that fetches information from multiple services.
  • Retrofit - Typesafe REST client.
  • Ribbon - Client-side IPC library that is battle-tested in cloud.
  • Riptide - Client-side response routing for Spring's RestTemplate.
  • unirest-java - Simplified, lightweight HTTP client library.

Hypermedia Types

Libraries that handle serialization to hypermedia types.

  • JSON-LD - JSON-LD implementation.
  • Siren4J - Library for the Siren specification.

IDE

Integrated development environments that try to simplify several aspects of development.

  • Eclipse - Established open-source project with support for lots of plugins and languages.
  • IntelliJ IDEA c - Supports many JVM languages and provides good options for Android development. The commercial edition targets the enterprise sector.
  • jGRASP - Created to provide software visualizations that work in conjunction with the debugger such as Control Structure Diagrams, UML class diagrams and Object Viewer.
  • NetBeans - Provides integration for several Java SE and EE features, from database access to HTML5.
  • Visual Studio Code - Provides Java support for lightweight projects with a simple, modern workflow by using extensions from the internal marketplace.

Imagery

Libraries that assist with the creation, evaluation or manipulation of graphical images.

  • Imgscalr - Simple, efficient and hardware-accelerated image-scaling library implemented in pure Java 2D.
  • Tess4J - JNA wrapper for Tesseract OCR API.
  • Thumbnailator - High-quality thumbnail generation library.
  • TwelveMonkeys - Collection of plugins that extend the number of supported image file formats.
  • ZXing - Multi-format 1D/2D barcode image processing library.
  • image-comparison - Compares two images with the same sizes and shows the differences visually by drawing rectangles.

Introspection

Libraries that help make the Java introspection and reflection API easier and faster to use.

  • ClassGraph - ClassGraph (formerly FastClasspathScanner) is an uber-fast, ultra-lightweight, parallelized classpath scanner and module scanner for Java, Scala, Kotlin and other JVM languages.
  • jOOR - jOOR stands for jOOR Object Oriented Reflection. It is a simple wrapper for the java.lang.reflect package.
  • Mirror - Mirror was created to bring light to a simple problem, usually named ReflectionUtil, which is on almost all projects that rely on reflection to do advanced tasks.
  • Objenesis - Allows dynamic instantiation without default constructor, e.g. constructors which have required arguments, side effects or throw exceptions.
  • ReflectASM - ReflectASM is a very small Java library that provides high performance reflection by using code generation.
  • Reflections - Reflections scans your classpath, indexes the metadata, allows you to query it on runtime and may save and collect that information for many modules within your project.

Job Scheduling

Libraries for scheduling background jobs.

  • Quartz - Feature-rich, open source job scheduling library that can be integrated within virtually any Java application.
  • Sundial - Lightweight framework to simply define jobs, define triggers and start the scheduler.
  • Wisp - Simple library with minimal footprint and straightforward API.
  • db-scheduler - Persistent and cluster-friendly scheduler.

JSON

Libraries for serializing and deserializing JSON to and from Java objects.

  • DSL-JSON - JSON library with advanced compile time databinding.
  • Genson - Powerful and easy-to-use Java-to-JSON conversion library.
  • Gson - Serializes objects to JSON and vice versa. Good performance with on-the-fly usage.
  • HikariJSON - High-performance JSON parser, 2x faster than Jackson.
  • jackson-modules-java8 - Set of Jackson modules for Java 8 datatypes and features.
  • Jackson-datatype-money - Open-source Jackson module to support JSON serialization and deserialization of JavaMoney data types.
  • Jackson - Similar to GSON, but offers performance gains if you need to instantiate the library more often.
  • JSON-io - Convert Java to JSON. Convert JSON to Java. Pretty print JSON. Java JSON serializer.
  • jsoniter - Fast and flexible library with iterator and lazy parsing API.
  • LoganSquare - JSON parsing and serializing library based on Jackson's streaming API. Outperforms GSON & Jackson's library.
  • Moshi - Modern JSON library, less opinionated and uses built-in types like List and Map.
  • Yasson - Binding layer between classes and JSON documents similar to JAXB.
  • fastjson - Very fast processor with no additional dependencies and full data binding.
  • Jolt - JSON to JSON transformation tool.
  • JsonPath - Extract data from JSON using XPATH-like syntax.
  • JsonSurfer - Streaming JsonPath processor dedicated to processing big and complicated JSON data.

JVM and JDK

Current implementations of the JVM/JDK.

  • Adopt Open JDK - Community-driven OpenJDK builds, including both HotSpot and OpenJ9.
  • Avian - JVM with JIT, AOT modes and iOS port.
  • Corretto - No-cost, multiplatform, production-ready distribution of OpenJDK by Amazon. (GPL-2.0-only WITH Classpath-exception-2.0)
  • Graal - Polyglot embeddable JVM. (GPL-2.0-only WITH Classpath-exception-2.0)
  • Liberica JDK - Built from OpenJDK, thoroughly tested and passed the JCK. (GPL-2.0-only WITH Classpath-exception-2.0)
  • OpenJ9 - High performance, enterprise-calibre, flexibly licensed, openly-governed cross-platform JVM extending and augmenting the runtime technology components from the Eclipse OMR and OpenJDK project.
  • Open JDK - Open JDK community home. (GPL-2.0-only WITH Classpath-exception-2.0)
  • ParparVM - VM with non-blocking, concurrent GC for iOS. (GPL-2.0-only WITH Classpath-exception-2.0)
  • RedHat Open JDK - RedHat's OpenJDK distribution. (GPL-2.0-only WITH Classpath-exception-2.0)
  • SAP Machine - SAP's no-cost, rigorously tested and JCK-verified OpenJDK friendly fork. (GPL-2.0-only WITH Classpath-exception-2.0)
  • Zulu - OpenJDK builds for Windows, Linux, and macOS. (GPL-2.0-only WITH Classpath-exception-2.0)

Logging

Libraries that log the behavior of an application.

  • Apache Log4j 2 - Complete rewrite with a powerful plugin and configuration architecture.
  • Graylog - Open-source aggregator suited for extended role and permission management. (GPL-3.0-only)
  • Kibana - Analyzes and visualizes log files. Some features require payment.
  • Logback - Robust logging library with interesting configuration options via Groovy.
  • Logbook - Extensible, open-source library for HTTP request and response logging.
  • [Logstash](https://www.elastic.co /logstash) - Tool for managing log files.
  • p6spy - Enables logging for all JDBC transactions without changes to the code.
  • SLF4J - Abstraction layer/simple logging facade.
  • tinylog - Lightweight logging framework with static logger class.
  • OpenTracing Toolbox - Collection of libraries that build on top of OpenTracing and provide extensions and plugins to existing instrumentations.

Machine Learning

Tools that provide specific statistical algorithms for learning from data.

  • Apache Flink - Fast, reliable, large-scale data processing engine.
  • Apache Mahout - Scalable algorithms focused on collaborative filtering, clustering and classification.
  • Apache Spark - Data analytics cluster-computing framework.
  • DatumBox - Provides several algorithms and pre-trained models for natural language processing.
  • DeepDive - Creates structured information from unstructured data and integrates it into an existing database.
  • Deeplearning4j - Distributed and multi-threaded deep learning library.
  • H2O - Analytics engine for statistics over big data.
  • JSAT - Algorithms for pre-processing, classification, regression, and clustering with support for multi-threaded execution. (GPL-3.0-only)
  • Oryx 2 - Framework for building real-time, large-scale machine learning applications. Includes end-to-end applications for collaborative filtering, classification, regression, and clustering.
  • Smile - Statistical Machine Intelligence and Learning Engine provides a set of machine learning algorithms and a visualization library.
  • Synapses - Lightweight library for neural networks.
  • Weka - Collection of algorithms for data mining tasks ranging from pre-processing to visualization. (GPL-3.0-only)

Messaging

Tools that help send messages between clients to ensure protocol independency.

  • Aeron - Efficient, reliable, unicast and multicast message transport.
  • Apache ActiveMQ - Message broker that implements JMS and converts synchronous to asynchronous communication.
  • Apache Camel - Glues together different transport APIs via Enterprise Integration Patterns.
  • Apache Kafka - High-throughput distributed messaging system.
  • Apache Pulsar - Distributed pub/sub-messaging system.
  • Apache RocketMQ - Fast, reliable, and scalable distributed messaging platform.
  • Apache Qpid - Apache Qpid makes messaging tools that speak AMQP and support many languages and platforms.
  • EventBus - Simple publish/subscribe event bus.
  • Hermes - Fast and reliable message broker built on top of Kafka.
  • JeroMQ - Implementation of ZeroMQ.
  • Nakadi - Provides a RESTful API on top of Kafka.
  • RabbitMQ Java client - RabbitMQ client.
  • Smack - Cross-platform XMPP client library.
  • NATS client - NATS client.

Microservice

Tools for creating and managing microservices.

  • Apollo - Libraries for writing composable microservices.
  • Armeria - Asynchronous RPC/REST client/server library built on top of Java 8, Netty, HTTP/2, Thrift and gRPC.
  • consul-api - Client for the Consul API: a distributed, highly available and datacenter-aware registry/discovery service.
  • Eureka - REST-based service registry for resilient load balancing and failover.
  • Helidon - Two-style approach for writing microservices: Functional-reactive and as an implementation of MicroProfile.
  • Lagom - Framework for creating microservice-based systems.
  • Micronaut - Modern full-stack framework with focus on modularity, minimal memory footprint and startup time.
  • Nacos - Dynamic service discovery, configuration and service management platform for building cloud native applications.
  • Quarkus - Kubernetes stack tailored for the HotSpot and Graal VM.

Miscellaneous

Everything else.

  • Codename One - Cross-platform solution for writing native mobile apps. (GPL-2.0-only WITH Classpath-exception-2.0)
  • CQEngine - Ultra-fast, SQL-like queries on Java collections.
  • Design Patterns - Implementation and explanation of the most common design patterns.
  • Failsafe - Simple failure handling with retries and circuit breakers.
  • FF4J - Feature Flags for Java.
  • FizzBuzz Enterprise Edition - No-nonsense implementation of FizzBuzz made by serious businessmen for serious business purposes. (No explicit license)
  • J2ObjC - Java-to-Objective-C translator for porting Android libraries to iOS.
  • JavaCV - Java interface to OpenCV, FFmpeg, and more.
  • JavaX - Reinventing and extending Java with a focus on simplicity. (No explicit license)
  • JBake - Static website generator.
  • JBot - Framework for building chatbots. (GPL-3.0-only)
  • JCuda - JCuda offers Java bindings for CUDA and CUDA-related libraries.
  • Jimfs - In-memory file system.
  • Joda-Money - Basic currency and money classes and algorithms not provided by the JDK.
  • JPad - Snippet runner.
  • Maven Wrapper - Analogue of Gradle Wrapper for Maven, allows building projects without installing maven.
  • Membrane Service Proxy - Open-source, reverse-proxy framework.
  • MinimalFTP - Lightweight, small and customizable FTP server.
  • Modern Java - A Guide to Java 8 - Popular Java 8 guide.
  • Modernizer - Detect uses of legacy Java APIs.
  • Multi-OS Engine - Open-source, cross-platform engine to develop native mobile (iOS, Android, etc.) apps.
  • OctoLinker - Browser extension which allows to navigate through code on GitHub more efficiently.
  • OpenRefine - Tool for working with messy data: cleaning, transforming, extending it with web services and linking it to databases.
  • PipelinR - Small utility library for using handlers and commands with pipelines.
  • Polyglot for Maven - Extensions for Maven 3.3.1+ that allows writing the POM model in dialects other than XML.
  • Simple Java Mail - Mailing with a clean and fluent API.
  • Smooks - Extensible framework for building applications that process data which means bindings, transformations, message processing and enrichment. (LGPL-3.0-only)
  • Togglz - Implementation of the Feature Toggles pattern.
  • TypeTools - Tools for resolving generic types.
  • XMLBeam - Processes XML by using annotations or XPath within code.
  • yGuard - Obfuscation via renaming and shrinking.

Monitoring

Tools that monitor applications in production.

  • Automon - Combines the power of AOP with monitoring and/or logging tools.
  • LeakCanary - Memory leak detection.
  • Failsafe Actuator - Out of the box monitoring of Failsafe Circuit Breaker in Spring-Boot environment.
  • Glowroot - Open-source Java APM.
  • inspectIT - Captures detailed run-time information via hooks that can be changed on the fly. It supports tracing over multiple systems via the OpenTracing API and can correlate the data with end user monitoring.
  • Instrumental c - Real-time Java application performance monitoring. A commercial service with free development accounts.
  • JavaMelody - Performance monitoring and profiling.
  • Jaeger client - Jaeger client.
  • jmxtrans - Connect to multiple JVMs and query them for their attributes via JMX. Its query language is based on JSON, which allows non-Java programmers to access the JVM attributes. Supports different output writes, including Graphite, Ganglia, and StatsD.
  • Jolokia - JMX over REST.
  • Kamon c - Tool for monitoring applications running on the JVM.
  • Metrics - Expose metrics via JMX or HTTP and send them to a database.
  • Datadog c - Modern monitoring & analytics.
  • nudge4j - Remote developer console from the browser for Java 8 via bytecode injection.
  • Pinpoint - Open-source APM tool.
  • Prometheus - Provides a multi-dimensional data model, DSL, autonomous server nodes and much more.
  • SPM c - Performance monitor with distributing transaction tracing for JVM apps.
  • Stagemonitor - Open-source performance monitoring and transaction tracing for JVM apps.
  • Sysmon - Lightweight platform monitoring tool for Java VMs.
  • zipkin - Distributed tracing system which gathers timing data needed to troubleshoot latency problems in microservice architectures.

Native

For working with platform-specific native libraries.

  • JavaCPP - Provides efficient and easy access to native C++.
  • JNA - Work with native libraries without writing JNI. Also provides interfaces to common system libraries.
  • JNR - Work with native libraries without writing JNI. Also provides interfaces to common system libraries. Same goals as JNA, but faster, and serves as the basis for the upcoming Project Panama.

Natural Language Processing

Libraries that specialize in processing text.

  • Beagle - Stored full-text search query engine.
  • CogCompNLP - Provides common annotators for plain text input. (Research and Academic Use License)
  • CoreNLP - Provides a set of fundamental tools for tasks like tagging, named entity recognition, and sentiment analysis. (GPL-3.0-or-later)
  • DKPro - Collection of reusable NLP tools for linguistic pre-processing, machine learning, lexical resources, etc.
  • Lingua - Natural language detection library, especially suited for short paragraphs of text.
  • LingPipe - Toolkit for tasks ranging from POS tagging to sentiment analysis.

Networking

Libraries for building network servers.

  • AkkaGRPC - Support for building streaming gRPC servers and clients on top of Akka Streams.
  • Comsat - Integrates standard Java web-related APIs with Quasar fibers and actors.
  • Dubbo - High-performance RPC framework.
  • Finagle - Extensible RPC system for constructing high-concurrency servers. It implements uniform client and server APIs for several protocols, and is protocol-agnostic to simplify implementation of new protocols.
  • Grizzly - NIO framework. Used as a network layer in Glassfish.
  • gRPC - RPC framework based on protobuf and HTTP/2.
  • KryoNet - Provides a clean and simple API for efficient TCP and UDP client/server network communication using NIO and Kryo.
  • MINA - Abstract, event-driven async I/O API for network operations over TCP/IP and UDP/IP via Java NIO.
  • Netty - Framework for building high-performance network applications.
  • Drift - Easy-to-use, annotation-based library for creating Thrift clients and serializable types.
  • ServiceTalk - Framework built on Netty with APIs tailored to specific protocols and support for multiple programming paradigms.
  • sshj - Programatically use SSH, SCP or SFTP.
  • TLS Channel - Implements a ByteChannel interface over SSLEngine, enabling easy-to-use (socket-like) TLS.
  • Undertow - Web server providing both blocking and non-blocking APIs based on NIO. Used as a network layer in WildFly. (LGPL-2.1-only)
  • urnlib - Represent, parse and encode URNs, as in RFC 2141. (GPL-3.0-only)

ORM

APIs that handle the persistence of objects.

  • Apache Cayenne - Provides a clean, static API for data access. Also includes a GUI Modeler for working with database mappings, and DB reverse engineering and generation.
  • Doma - Database access framework that verifies and generates source code at compile time using annotation processing as well as native SQL templates called two-way SQL.
  • Ebean - Provides simple and fast data access.
  • EclipseLink - Supports a number of persistence standards: JPA, JAXB, JCA and SDO.
  • Hibernate - Robust and widely used, with an active community. (LGPL-2.1-only)
  • MyBatis - Couples objects with stored procedures or SQL statements.
  • SimpleFlatMapper - Simple database and CSV mapper.

PaaS

Java platform as a service.

PDF

Tools to help with PDF file creation.

  • Apache FOP - Creates PDFs from XSL-FO.
  • Apache PDFBox - Toolbox for creating and manipulating PDFs.
  • Dynamic Jasper - Abstraction layer to JasperReports. (LGPL-3.0-only)
  • DynamicReports - Simplifies JasperReports. (LGPL-3.0-only)
  • flyingsaucer - XML/XHTML and CSS 2.1 renderer. (LGPL-2.1-or-later)
  • iText c - Creates PDF files programmatically.
  • JasperReports - Complex reporting engine. (LGPL-3.0-only)
  • Open HTML to PDF - Properly supports modern PDF standards based on flyingsaucer and Apache PDFBox.
  • OpenPDF - Open-source iText fork. (LGPL-3.0-only & MPL-2.0)

Performance analysis

Tools for performance analysis, profiling and benchmarking.

  • fastThread c - Analyze and visualize thread dumps with a free cloud-based upload interface.
  • GCeasy c - Tool to analyze and visualize GC logs. It provides a free cloud-based upload interface.
  • honest-profiler - Low-overhead, bias-free sampling profiler.
  • jHiccup - Logs and records platform JVM stalls.
  • JITWatch - Analyze the JIT compiler optimisations made by the HotSpot JVM.
  • JMH - Harness for building, running, and analysing nano/micro/milli/macro benchmarks written in Java and other languages targeting the JVM. (GPL-2.0 only WITH Classpath-exception-2.0)
  • LatencyUtils - Utilities for latency measurement and reporting.

Platform

Frameworks that are suites of multiple libraries encompassing several categories.

Apache Commons

  • BCEL - Byte Code Engineering Library - analyze, create, and manipulate Java class files.
  • BeanUtils - Easy-to-use wrappers around the Java reflection and introspection APIs.
  • BeanUtils2 - Redesign of Commons BeanUtils.
  • BSF - Bean Scripting Framework - interface to scripting languages, including JSR-223.
  • Chain - Chain of Responsibility pattern implementation.
  • ClassScan - Find Class interfaces, methods, fields, and annotations without loading.
  • CLI - Command-line arguments parser.
  • CLI2 - Redesign of Commons CLI.
  • Codec - General encoding/decoding algorithms, e.g. phonetic, base64 or URL.
  • Collections - Extends or augments the Java Collections Framework.
  • Compress - Defines an API for working with tar, zip and bzip2 files.
  • Configuration - Reading of configuration/preferences files in various formats.
  • Convert - Commons-Convert aims to provide a single library dedicated to the task of converting an object of one type to another.
  • CSV - Component for reading and writing comma separated value files.
  • Daemon - Alternative invocation mechanism for unix-daemon-like java code.
  • DBCP - Database connection pooling services.
  • DbUtils - JDBC helper library.
  • Digester - XML-to-Java-object mapping utility.
  • Email - Library for sending e-mail from Java.
  • Exec - API for dealing with external process execution and environment management in Java.
  • FileUpload - File upload capability for your servlets and web applications.
  • Finder - Java library inspired by the UNIX find command.
  • Flatfile - Java library for working with flat data structures.
  • Functor - Function that can be manipulated as an object, or an object representing a single, generic function.
  • Graph - General purpose graph APIs and algorithms.
  • I18n - Adds the feature of localized message bundles that consist of one or many localized texts that belong together.
  • Id - Id is a component used to generate identifiers.
  • Imaging - Image library.
  • IO - Collection of I/O utilities.
  • Javaflow - Continuation implementation to capture the state of the application.
  • JCI - Java Compiler Interface.
  • JCS - Java Caching System.
  • Jelly - XML based scripting and processing engine.
  • Jexl - Expression language which extends the Expression Language of the JSTL.
  • JNet - JNet allows to use dynamically register url stream handlers through the java.net API.
  • JXPath - Utilities for manipulating Java Beans using the XPath syntax.
  • Lang - Provides extra functionality for classes in java.lang.
  • Logging - Wrapper around a variety of logging API implementations.
  • Math - Lightweight, self-contained mathematics and statistics components.
  • Monitoring - Monitoring aims to provide a simple but extensible monitoring solution for Java applications.
  • Nabla - Nabla provides automatic differentiation classes that can generate derivative of any function implemented in the Java language.
  • Net - Collection of network utilities and protocol implementations.
  • OGNL - Object-graph navigation language.
  • OpenPGP - Interface to signing and verifying data using OpenPGP.
  • Performance - Small framework for microbenchmark clients, with implementations for Commons DBCP and Pool.
  • Pipeline - Provides a set of pipeline utilities designed around work queues that run in parallel to sequentially process data objects.
  • Pool - Generic object pooling component.
  • Proxy - Library for creating dynamic proxies.
  • RDF - Common implementation of RDF 1.1 that could be implemented by systems on the JVM.
  • RNG - Commons Rng provides implementations of pseudo-random numbers generators.
  • SCXML - Implementation of the State Chart XML specification aimed at creating and maintaining a Java SCXML engine.
  • Validator - Framework to define validators and validation rules in an xml file.
  • VFS - Virtual File System component for treating files, FTP, SMB, ZIP and such like as a single logical file system.
  • Weaver - Provides an easy way to enhance (weave) compiled bytecode.

Other

  • CUBA Platform - High-level framework for developing enterprise applications with a rich web interface, based on Spring, EclipseLink and Vaadin.
  • Light-4J - Fast, lightweight and productive microservices framework with built-in security.
  • Orienteer - Open-source business application platform for rapid configuration/development of CRM, ERP, LMS and other applications.
  • Spring - Provides many packages for dependency injection, aspect-oriented programming, security, etc.

Processes

Libraries that help the management of operating system processes.

  • ch.vorburger.exec - Convenient API around Apache Commons Exec.
  • zt-exec - Provides a unified API to Apache Commons Exec and ProcessBuilder.
  • zt-process-killer - Stops processes started from Java or the system processes via PID.

Reactive libraries

Libraries for developing reactive applications.

  • Akka - Toolkit and runtime for building concurrent, distributed, fault-tolerant and event-driven applications.
  • Reactive Streams - Provides a standard for asynchronous stream processing with non-blocking backpressure.
  • Reactor - Library for building reactive fast-data applications.
  • RxJava - Allows for composing asynchronous and event-based programs using observable sequences.
  • vert.x - Polyglot event-driven application framework.

REST Frameworks

Frameworks specifically for creating RESTful services.

  • Dropwizard - Opinionated framework for setting up modern web applications with Jetty, Jackson, Jersey and Metrics.
  • Elide - Opinionated framework for JSON- or GraphQL-APIs based on a JPA data model.
  • javalin - Javalin is just a few thousand lines of code on top of Jetty, which means its performance is almost equivalent to pure Jetty.
  • Jersey - JAX-RS reference implementation.
  • Microserver - Convenient, extensible microservices plugin system for Spring & Spring Boot. With more than 30 plugins and growing, it supports both micro-monolith and pure microservices styles.
  • Rapidoid - Simple, secure and extremely fast framework consisting of an embedded HTTP server, GUI components and dependency injection.
  • rest.li - Framework for building robust, scalable RESTful architectures using typesafe bindings and asynchronous, non-blocking IO with an end-to-end developer workflow that promotes clean practices, uniform interface design and consistent data modeling.
  • RESTEasy - Fully certified and portable implementation of the JAX-RS specification.
  • RestExpress - Thin wrapper on the JBoss Netty HTTP stack that provides scaling and performance.
  • Restlet Framework - Pioneering framework with powerful routing and filtering capabilities, and a unified client and server API.
  • Spark - Sinatra inspired framework.
  • Crnk - Implementation of the JSON API specification to build resource-oriented REST endpoints with sorting, filtering, paging, linking, object graphs, type-safety, bulk updates, integrations and more.
  • springdoc-openapi - Automates the generation of API documentation using Spring Boot projects.
  • Swagger - Standard, language-agnostic interface to REST APIs.

Science

Libraries for scientific computing, analysis and visualization.

  • DataMelt - Environment for scientific computation, data analysis and data visualization. (GPL-3.0-or-later)
  • Erdos - Modular, light and easy graph framework for theoretic algorithms.
  • GraphStream - Library for modeling and analyzing dynamic graphs.
  • JFreeChart - 2D chart library for Swing, JavaFX and server-side applications. (LGPL-2.1-only)
  • JGraphT - Graph library that provides mathematical graph-theory objects and algorithms.
  • JGraphX - Library for visualizing (mainly Swing) and interacting with node-edge graphs.
  • Mines Java Toolkit - Library for geophysical scientific computation, visualization and digital signal analysis.
  • Morpheus - Provides a versatile two-dimensional memory efficient tabular data structure called a DataFrame to enable efficient in-memory analytics for scientific computing on the JVM.
  • Orson-Charts - Generates a wide variety of 3D charts that can be displayed with Swing and JavaFX or exported to PDF, SVG, PNG and JPEG. (GPL-3.0-only)
  • Tablesaw - Includes a data-frame, an embedded column store, and hundreds of methods to transform, summarize, or filter data.
  • XChart - Light-weight library for plotting data. Many customizable chart types are available.

Engines that index documents for search and analysis.

  • Apache Lucene - High-performance, full-featured, cross-platform, text search engine library.
  • Apache Solr - Enterprise search engine optimized for high-volume traffic.
  • Elasticsearch - Distributed, multitenant-capable, full-text search engine with a RESTful web interface and schema-free JSON documents.
  • Indexer4j - Simple and light full text indexing and searching library.

Security

Libraries that handle security, authentication, authorization or session management.

  • Apache Shiro - Performs authentication, authorization, cryptography and session management.
  • Bouncy Castle - All-purpose cryptographic library and JCA provider offering a wide range of functions, from basic helpers to PGP/SMIME operations.
  • Cryptomator - Multiplatform, transparent, client-side encryption of files in the cloud. (GPL-3.0-only)
  • Hdiv - Runtime application that repels application security risks included in the OWASP Top 10, including SQL injection, cross-site scripting, cross-site request forgery, data tampering, and brute force attacks.
  • jjwt - JSON web token for Java and Android.
  • Jwks RSA - JSON Web Key Set parser.
  • Kalium - Binding for the Networking and Cryptography (NaCl) library.
  • Keycloak - Integrated SSO and IDM for browser apps and RESTful web services.
  • Keywhiz - System for distributing and managing secrets.
  • Nbvcxz - Advanced password strength estimation.
  • OACC - Provides permission-based authorization services.
  • pac4j - Security engine.
  • SecurityBuilder - Fluent Builder API for JCA and JSSE classes and especially X.509 certificates.
  • Themis - Multi-platform high-level cryptographic library provides easy-to-use encryption for protecting sensitive data: secure messaging with forward secrecy, secure data storage (AES256GCM); suits for building end-to-end encrypted applications.
  • Tink - Provides a simple and misuse-proof API for common cryptographic tasks.
  • Vault - Secures, stores, and tightly controls access to tokens, passwords, certificates, API keys, and other secrets. It handles leasing, key revocation, key rolling, and auditing. Through a unified API, users can access an encrypted Key/Value store and network encryption-as-a-service, or generate AWS IAM/STS credentials, SQL/NoSQL databases, X.509 certificates, SSH credentials, and more.

Serialization

Libraries that handle serialization with high efficiency.

  • FlatBuffers - Memory-efficient serialization library that can access serialized data without unpacking and parsing it.
  • FST - JDK-compatible, high-performance object graph serialization.
  • Kryo - Fast and efficient object graph serialization framework.
  • MessagePack - Efficient binary serialization format.
  • PHP Serializer - Serializing objects in the PHP serialization format.

Server

Servers specifically used to deploy applications.

  • Apache Tomcat - Robust, all-round server for Servlet and JSP.
  • Apache TomEE - Tomcat plus Java EE.
  • Jetty - Provides a Web server and javax.servlet container, plus support for HTTP/2, WebSocket, OSGi, JMX, JNDI, JAAS and many other integrations.
  • nanohttpd - Tiny, easily embeddable HTTP server.
  • WildFly - Formerly known as JBoss and developed by Red Hat with extensive Java EE support. (LGPL-2.1-only)

Template Engine

Tools that substitute expressions in a template.

  • Handlebars.java - Logicless and semantic Mustache templates.
  • Jade4J - Implementation of Pug (formerly known as Jade).
  • Jtwig - Modular, configurable and fully tested template engine.
  • Pebble - Inspired by Twig and separates itself with its inheritance feature and its easy-to-read syntax. It ships with built-in autoescaping for security and it includes integrated support for internationalization.
  • Rocker - Optimized, memory efficient and speedy template engine producing statically typed, plain objects.
  • Thymeleaf - Aims to be a substitute for JSP and works for XML files.

Testing

Tools that test from model to the view.

Asynchronous

Tools that simplify testing asynchronous services.

  • Awaitility - DSL for synchronizing asynchronous operations.
  • ConcurrentUnit - Toolkit for testing multi-threaded and asynchronous applications.
  • GreenMail - In-memory email server for integration testing. Supports SMTP, POP3 and IMAP including SSL. (GPL-2.0-only)
  • Hoverfly Java - Native bindings for Hoverfly, a proxy which allows you to simulate HTTP services.
  • REST Assured - DSL for easy testing of REST/HTTP services.
  • Karate - DSL that combine API test-automation, mocks and performance-testing making testing REST/HTTP services easy.

BDD

Testing for the software development process that emerged from TDD and was heavily influenced by DDD and OOAD.

  • Cucumber - Provides a way to describe features in a plain language which customers can understand.
  • Cukes-REST - Collection of Gherkin steps for REST-service testing using Cucumber.
  • J8Spec - Follows a Jasmine-like syntax.
  • JBehave - Extensively configurable framework that describes stories.
  • JGiven - Provides a fluent API which allows for simpler composition.
  • Lamdba Behave - Aims to provide a fluent API to write tests in long and descriptive sentences that read like plain English.
  • Serenity BDD - Automated Acceptance testing and reporting library that works with Cucumber, JBehave and JUnit to make it easier to write high quality executable specifications.

Fixtures

Everything related to the creation and handling of random data.

Frameworks

Provide environments to run tests for a specific use case.

  • ArchUnit - Test library for specifying and asserting architecture rules.
  • Apache JMeter - Functional testing and performance measurements.
  • Arquillian - Integration and functional testing platform for Java EE containers.
  • Citrus - Integration testing framework that focuses on both client- and server-side messaging.
  • Gatling - Load testing tool designed for ease of use, maintainability and high performance.
  • JUnit - Common testing framework.
  • jqwik - Engine for property-based testing built on JUnit 5.
  • Pact JVM - Consumer-driven contract testing.
  • PIT - Fast mutation-testing framework for evaluating fault-detection abilities of existing JUnit or TestNG test suites.

Matchers

Libraries that provide custom matchers.

  • AssertJ - Fluent assertions that improve readability.
  • Hamcrest - Matchers that can be combined to create flexible expressions of intent.
  • JSONAssert - Simplifies testing JSON strings.
  • Truth - Google's fluent assertion and proposition framework.
  • XMLUnit - Simplifies testing for XML output.

Miscellaneous

Other stuff related to testing.

  • junit-dataprovider - TestNG-like data provider/runner for JUnit.
  • Mutability Detector - Reports whether instances of a given class are immutable.
  • raml-tester - Tests if a request/response matches a given RAML definition.
  • TestContainers - Provides throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
  • pojo-tester - Automatically performs tests on basic POJO methods. (LGPL-3.0-only)

Mocking

Tools which mock collaborators to help testing single, isolated units.

  • JMockit - Integration testing, API mocking and faking, and code coverage.
  • Mockito - Mocking framework that lets you write tests with a clean and simple API.
  • MockServer - Allows mocking of systems integrated with HTTPS.
  • Moco - Concise web services for stubs and mocks.
  • PowerMock - Mocks static methods, constructors, final classes and methods, private methods, and removal of static initializers.
  • WireMock - Stubs and mocks web services.

Utility

Libraries which provide general utility functions.

  • bucket4j - Rate limiting library based on token-bucket algorithm.
  • cactoos - Collection of object-oriented primitives.
  • CRaSH - Provides a shell into a JVM that's running CRaSH. Used by Spring Boot and others. (LGPL-2.1-or-later)
  • Dex - Java/JavaFX tool capable of powerful ETL and data visualization.
  • Embulk - Bulk data loader that helps data transfer between various databases, storages, file formats, and cloud services.
  • fswatch - Micro library to watch for directory file system changes, simplifying java.nio.file.WatchService.
  • Gephi - Cross-platform for visualizing and manipulating large graph networks. (GPL-3.0-only)
  • Guava - Collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O, and more.
  • JADE - Framework and environment for building and debugging multi-agent systems. (LGPL-2.0-only)
  • JavaVerbalExpressions - Library that helps with constructing difficult regular expressions.
  • JGit - Lightweight, pure Java library implementing the Git version control system.
  • minio-java - Provides simple APIs to access any Amazon S3-compatible object storage server.
  • Protégé - Provides an ontology editor and a framework to build knowledge-based systems.
  • Underscore-java - Port of Underscore.js functions.

Version Managers

Utilities that help create the development shell environment and switch between different Java versions.

  • jabba - Java Version Manager inspired by nvm. Supports macOS, Linux and Windows.
  • jenv - Java Version Manager inspired by rbenv. Can configure globally or per project. Tested on Debian and macOS.
  • SDKMan - Java Version Manager inspired by RVM and rbenv. Supports UNIX-based platforms and Windows.

Web Crawling

Libraries that analyze the content of websites.

  • Apache Nutch - Highly extensible, highly scalable web crawler for production environments.
  • Crawler4j - Simple and lightweight web crawler.
  • jsoup - Scrapes, parses, manipulates and cleans HTML.
  • StormCrawler - SDK for building low-latency and scalable web crawlers.
  • webmagic - Scalable crawler with downloading, url management, content extraction and persistent.

Web Frameworks

Frameworks that handle the communication between the layers of a web application.

  • Apache Tapestry - Component-oriented framework for creating dynamic, robust, highly scalable web applications.
  • Apache Wicket - Component-based web application framework similar to Tapestry, with a stateful GUI.
  • Blade - Lightweight, modular framework that aims to be elegant and simple.
  • Bootique - Minimally opinionated framework for runnable apps.
  • Firefly - Asynchronous framework for rapid development of high-performance web application.
  • Grails - Groovy framework that provides a highly productive environment by favoring convention over configuration, no XML and support for mixins.
  • Jooby - Scalable, fast and modular micro-framework that offers multiple programming models.
  • Ninja - Full-stack web framework.
  • Pippo - Small, highly modularized, Sinatra-like framework.
  • Play - Built on Akka, it provides predictable and minimal resource consumption (CPU, memory, threads) for highly-scalable applications in Java and Scala.
  • PrimeFaces - JSF framework with both free and commercial/support versions and frontend components.
  • Ratpack - Set of libraries that facilitate fast, efficient, evolvable and well-tested HTTP applications.
  • Takes - Opinionated web framework which is built around the concepts of True Object-Oriented Programming and immutability.
  • Vaadin - Event-driven framework that uses standard web components. Server-side architecture with Ajax on the client side.

Resources

Awesome Lists

Awesome lists related to the Java & JVM ecosystem.

Communities

Active discussions.

Frontends

Websites that provide a frontend for this list. Please note, there won't be an official website. We don't associate with a particular website and everybody is allowed to create one.

Influential Books

Books that made a big impact and are still worth reading.

Podcasts and Screencasts

Something to look at or listen to while programming.

Twitter

Active accounts to follow. Descriptions from Twitter.

  • Adam Bien - Freelance author, JavaOne Rockstar speaker, consultant, Java Champion.
  • Aleksey Shipilëv - Performance geek, benchmarking czar, concurrency bug hunter.
  • Antonio Goncalves - Java Champion, JUG Leader, Devoxx France, Java EE 6/7, JCP, Author.
  • Arun Gupta - Java Champion, JavaOne Rockstar, JUG Leader, Devoxx4Kids-er, VP of Developer Advocacy at Couchbase.
  • Brian Goetz - Java Language Architect at Oracle.
  • Bruno Borges - Product Manager/Java Jock at Oracle.
  • Chris Richardson - Software architect, consultant, and serial entrepreneur, Java Champion, JavaOne Rock Star, *POJOs in Action- author.
  • Ed Burns - Consulting Member of the Technical Staff at Oracle.
  • Eugen Paraschiv - Author of the Spring Security Course.
  • Heinz Kabutz - Java Champion, speaker, author of The Java Specialists' Newsletter, concurrency performance expert.
  • Holly Cummins - Technical Lead of IBM London's Bluemix Garage, Java Champion, developer, author, JavaOne rockstar.
  • James Weaver - Java/JavaFX/IoT developer, author and speaker.
  • Java EE - Official Java EE Twitter account.
  • Java Magazine - Official Java Magazine account.
  • Java - Official Java Twitter account.
  • Javin Paul - Well-known Java blogger.
  • Josh Long - Spring Advocate at Pivotal, author of O'Reilly's Cloud Native Java- and Building Microservices with Spring Boot, JavaOne Rock Star.
  • Lukas Eder - Java Champion, speaker, JUG.ch co-leader, Founder and CEO Data Geekery (jOOQ).
  • Mario Fusco - RedHatter, JUG coordinator, frequent speaker and author.
  • Mark Heckler - Pivotal Principal Technologist and Developer Advocate, conference speaker, published author, and Java Champion, focusing on Internet of Things and the cloud.
  • Mark Reinhold - Chief Architect, Java Platform Group, Oracle.
  • Markus Eisele - Java EE evangelist, Red Hat.
  • Martijn Verburg - London JUG co-leader, speaker, author, Java Champion and much more.
  • Martin Thompson - Pasty faced performance gangster.
  • Monica Beckwith - Performance consultant, JavaOne Rock Star.
  • OpenJDK - Official OpenJDK account.
  • Peter Lawrey - Peter Lawrey, Java performance expert.
  • Randy Shoup - Stitch Fix VP Engineering, speaker, JavaOne Rock Star.
  • Reza Rahman - Java EE/GlassFish/WebLogic evangelist, author, speaker, open source hacker.
  • Sander Mak - Java Champion, author.
  • Simon Maple - Java Champion, VirtualJUG founder, LJC leader, RebelLabs author.
  • Spencer Gibb - Software Engineer, Dad, Geek, Co-founder and Lead of Spring Cloud Core @pivotal.
  • Stephen Colebourne - Java Champion, speaker.
  • Trisha Gee - Java Champion and speaker.
  • Venkat Subramaniam - Author, University of Houston professor, MicroSoft MVP award recipient, JavaOne Rock Star, Java Champion.
  • Vlad Mihalcea - Java Champion working on Hypersistence Optimizer, database aficionado, author of High-Performance Java Persistence book.

Websites

Sites to read.

Contributing

Contributions are very welcome!

Please have a look at the CONTRIBUTING guidelines and the validation tools.

去到頂部