# Java project architecture examples

Interactive architecture diagrams of 465 open-source Java repositories with a GitDiagram architecture diagram, most stars first. Each diagram shows the project's main components, how they connect, and links every part to its file on GitHub.

Across the 200 most-starred Java projects here, the median diagram has 20 components. 55% draw a data store (most often a cache and a vector store), 13% have a command-line interface and 9% a web interface.

22% have a plugin or extension system.

The files their components link to most are Main.java (9) and MainActivity.java (8).

## Repositories 1 to 50 of 465

1. [iluwatar/java-design-patterns](https://gitdiagram.com/iluwatar/java-design-patterns) (94.8k stars): This repository is a catalog of Java design-pattern examples and tutorials, not one application with a shared runtime. Markdown: https://gitdiagram.com/iluwatar/java-design-patterns.md
2. [nationalsecurityagency/ghidra](https://gitdiagram.com/nationalsecurityagency/ghidra) (85.6k stars): Ghidra is an extensible software reverse-engineering framework for interactive and automated analysis. Markdown: https://gitdiagram.com/nationalsecurityagency/ghidra.md
3. [macrozheng/mall](https://gitdiagram.com/macrozheng/mall) (83.3k stars) Markdown: https://gitdiagram.com/macrozheng/mall.md
4. [spring-projects/spring-boot](https://gitdiagram.com/spring-projects/spring-boot) (81.8k stars): Spring Boot is a framework for creating and running Spring-powered Java applications, with build-plugin and CLI support. Markdown: https://gitdiagram.com/spring-projects/spring-boot.md
5. [doocs/advanced-java](https://gitdiagram.com/doocs/advanced-java) (79.2k stars): This repository is a curated learning resource for Java engineers, not an application that processes user data. Markdown: https://gitdiagram.com/doocs/advanced-java.md
6. [elastic/elasticsearch](https://gitdiagram.com/elastic/elasticsearch) (78.4k stars): Elasticsearch is a distributed search, analytics, and data platform. Markdown: https://gitdiagram.com/elastic/elasticsearch.md
7. [misterbooo/leetcodeanimation](https://gitdiagram.com/misterbooo/leetcodeanimation) (76.7k stars): LeetCodeAnimation is a curated learning repository for algorithm explanations. Markdown: https://gitdiagram.com/misterbooo/leetcodeanimation.md
8. [thealgorithms/java](https://gitdiagram.com/thealgorithms/java) (65.3k stars): Test Suite: Represent the “src/test/java” directory separately. Markdown: https://gitdiagram.com/thealgorithms/java.md
9. [kdn251/interviews](https://gitdiagram.com/kdn251/interviews) (65.2k stars): This is a Java interview-preparation repository: a collection of standalone solutions to coding problems plus reference material on data structures and algorithms. Markdown: https://gitdiagram.com/kdn251/interviews.md
10. [termux/termux-app](https://gitdiagram.com/termux/termux-app) (61.8k stars): Termux is an Android terminal application with a Linux shell environment; packages are installed inside the app but maintained by a separate repository. Markdown: https://gitdiagram.com/termux/termux-app.md
11. [spring-projects/spring-framework](https://gitdiagram.com/spring-projects/spring-framework) (60.3k stars): Spring Framework is a Java foundation for enterprise applications, spanning core utilities, data conversion, transaction management, and web/messaging capabilities. Markdown: https://gitdiagram.com/spring-projects/spring-framework.md
12. [dbeaver/dbeaver](https://gitdiagram.com/dbeaver/dbeaver) (51.9k stars): DBeaver is a Java/Eclipse desktop database client. Markdown: https://gitdiagram.com/dbeaver/dbeaver.md
13. [google/guava](https://gitdiagram.com/google/guava) (51.9k stars): Guava is a Java core-libraries product used by application developers through public APIs; results are supplied as library values and behaviors within their applications. Markdown: https://gitdiagram.com/google/guava.md
14. [skylot/jadx](https://gitdiagram.com/skylot/jadx) (50.7k stars): JADX decompiles Android and Java bytecode into Java source, with command-line and GUI front ends. Markdown: https://gitdiagram.com/skylot/jadx.md
15. [jeecgboot/jeecgboot](https://gitdiagram.com/jeecgboot/jeecgboot) (48.1k stars): JeecgBoot is an enterprise AI low-code platform: users configure or describe business needs, create online forms and data models, generate or run applications, and use AI… Markdown: https://gitdiagram.com/jeecgboot/jeecgboot.md
16. [lysine-dev/retrofit](https://gitdiagram.com/lysine-dev/retrofit) (43.9k stars): Retrofit is a multi-module, type-safe HTTP client library for Java 8+ and Android API 21+. Markdown: https://gitdiagram.com/lysine-dev/retrofit.md
17. [square/retrofit](https://gitdiagram.com/square/retrofit) (43.9k stars): Core Library (Retrofit Core): Represented by the “retrofit” directory. Markdown: https://gitdiagram.com/square/retrofit.md
18. [ashishps1/awesome-system-design-resources](https://gitdiagram.com/ashishps1/awesome-system-design-resources) (42.9k stars): This is a system-design learning resource repository, not a unified runtime service. Markdown: https://gitdiagram.com/ashishps1/awesome-system-design-resources.md
19. [apache/dubbo](https://gitdiagram.com/apache/dubbo) (41.6k stars): Apache Dubbo is a Java RPC and web framework for building microservices. Markdown: https://gitdiagram.com/apache/dubbo.md
20. [yunaiv/ruoyi-vue-pro](https://gitdiagram.com/yunaiv/ruoyi-vue-pro) (40.2k stars): Yudao is a modular Spring Boot business platform with Vue admin clients. Markdown: https://gitdiagram.com/yunaiv/ruoyi-vue-pro.md
21. [teamnewpipe/newpipe](https://gitdiagram.com/teamnewpipe/newpipe) (38.4k stars): - This repository is a multi-target NewPipe codebase: a mature Android app in app/, a newer Kotlin Multiplatform shared UI/core layer in shared/, plus thin desktop and iOS hosts… Markdown: https://gitdiagram.com/teamnewpipe/newpipe.md
22. [halo-dev/halo](https://gitdiagram.com/halo-dev/halo) (38.2k stars): – API Module: Located under “api”, containing the Java source for handling REST endpoints, business logic, event handling, and various endpoints (theme, content, user… Markdown: https://gitdiagram.com/halo-dev/halo.md
23. [keycloak/keycloak](https://gitdiagram.com/keycloak/keycloak) (37.6k stars): Keycloak is an identity and access management server, with adapters and clients that let applications use its authentication and authorization services. Markdown: https://gitdiagram.com/keycloak/keycloak.md
24. [alibaba/arthas](https://gitdiagram.com/alibaba/arthas) (37.6k stars): Arthas is a live Java diagnostics tool: an engineer attaches to a running JVM, issues commands through an interactive or remote interface, and receives diagnostic results without… Markdown: https://gitdiagram.com/alibaba/arthas.md
25. [doocs/leetcode](https://gitdiagram.com/doocs/leetcode) (36.6k stars): This repository is a multilingual algorithm-answer collection: readers find a problem or topic, then inspect or reuse a solution in a supported language. Markdown: https://gitdiagram.com/doocs/leetcode.md
26. [airbnb/lottie-android](https://gitdiagram.com/airbnb/lottie-android) (35.7k stars): Lottie for Android parses Bodymovin animation data into a composition and renders it through Android Views or Jetpack Compose. Markdown: https://gitdiagram.com/airbnb/lottie-android.md
27. [netty/netty](https://gitdiagram.com/netty/netty) (35.1k stars): Netty is an asynchronous, event-driven networking framework for protocol servers and clients. Markdown: https://gitdiagram.com/netty/netty.md
28. [bumptech/glide](https://gitdiagram.com/bumptech/glide) (35k stars) Markdown: https://gitdiagram.com/bumptech/glide.md
29. [seleniumhq/selenium](https://gitdiagram.com/seleniumhq/selenium) (34.5k stars): Selenium is a cross-browser automation project implementing the W3C WebDriver interface, with language bindings and browser-specific driver services. Markdown: https://gitdiagram.com/seleniumhq/selenium.md
30. [apache/kafka](https://gitdiagram.com/apache/kafka) (34.2k stars): Apache Kafka is a distributed event-streaming platform for producing, consuming, processing, and administering events. Markdown: https://gitdiagram.com/apache/kafka.md
31. [xkcoding/spring-boot-demo](https://gitdiagram.com/xkcoding/spring-boot-demo) (34.1k stars): This project is a comprehensive Spring Boot demo collection designed for deep learning and hands‐on experimentation with the Spring Boot ecosystem. Markdown: https://gitdiagram.com/xkcoding/spring-boot-demo.md
32. [zxing/zxing](https://gitdiagram.com/zxing/zxing) (34k stars): ZXing is a multi-module Java barcode library plus several applications around it. Markdown: https://gitdiagram.com/zxing/zxing.md
33. [yuliskov/smarttube](https://gitdiagram.com/yuliskov/smarttube) (33.9k stars): SmartTube is an Android TV media client. Markdown: https://gitdiagram.com/yuliskov/smarttube.md
34. [alibaba/easyexcel](https://gitdiagram.com/alibaba/easyexcel) (33.8k stars): API Frontend Layer: Include the public classes (for instance, EasyExcel, ExcelReader, and ExcelWriter) that expose simple read/write methods. Markdown: https://gitdiagram.com/alibaba/easyexcel.md
35. [alibaba/nacos](https://gitdiagram.com/alibaba/nacos) (33.4k stars): Nacos is a platform for service discovery and health checks, dynamic configuration, DNS-based routing, and service metadata management. Markdown: https://gitdiagram.com/alibaba/nacos.md
36. [binarywang/wxjava](https://gitdiagram.com/binarywang/wxjava) (33.1k stars): WxJava is a server-side Java SDK for integrating with WeChat APIs, organized into domain modules and framework-specific integration plugins. Markdown: https://gitdiagram.com/binarywang/wxjava.md
37. [conductor-oss/conductor](https://gitdiagram.com/conductor-oss/conductor) (32.3k stars): Conductor is a durable workflow and agent execution platform. Markdown: https://gitdiagram.com/conductor-oss/conductor.md
38. [chinabugotech/hutool](https://gitdiagram.com/chinabugotech/hutool) (30.3k stars): Hutool is a modular Java utility library: developers call focused APIs to perform common programming tasks, from collection and string operations to HTTP, database, cryptography… Markdown: https://gitdiagram.com/chinabugotech/hutool.md
39. [drklo/telegram](https://gitdiagram.com/drklo/telegram) (30.1k stars): Telegram for Android is a mobile messaging client. Markdown: https://gitdiagram.com/drklo/telegram.md
40. [xuxueli/xxl-job](https://gitdiagram.com/xuxueli/xxl-job) (30k stars): This module contains the entry point (main application class), web controllers (for managing jobs, logs, users, etc.), service implementations, business logic, and UI resources… Markdown: https://gitdiagram.com/xuxueli/xxl-job.md
41. [apolloconfig/apollo](https://gitdiagram.com/apolloconfig/apollo) (29.8k stars): Apollo is a configuration management system that supports real‐time configuration updates, namespaces, version management, grayscale releases, and auditing. Markdown: https://gitdiagram.com/apolloconfig/apollo.md
42. [alibaba/canal](https://gitdiagram.com/alibaba/canal) (29.6k stars): Data Source (MySQL Master): This is where the original binary logs are generated. Markdown: https://gitdiagram.com/alibaba/canal.md
43. [anuken/mindustry](https://gitdiagram.com/anuken/mindustry) (29.3k stars): Mindustry is a Java automation tower-defense RTS. Markdown: https://gitdiagram.com/anuken/mindustry.md
44. [alibaba/spring-cloud-alibaba](https://gitdiagram.com/alibaba/spring-cloud-alibaba) (29.2k stars): Spring Cloud Alibaba is a collection of Spring Cloud integrations for distributed application development. Markdown: https://gitdiagram.com/alibaba/spring-cloud-alibaba.md
45. [kestra-io/kestra](https://gitdiagram.com/kestra-io/kestra) (28.3k stars): Kestra is an event-driven orchestration platform for data, AI, and infrastructure workflows. Markdown: https://gitdiagram.com/kestra-io/kestra.md
46. [ottermind/chat2db](https://gitdiagram.com/ottermind/chat2db) (28.3k stars): Chat2DB Community is a local-first database client with a web client and Java server. Markdown: https://gitdiagram.com/ottermind/chat2db.md
47. [alibaba/druid](https://gitdiagram.com/alibaba/druid) (28.2k stars): Druid combines a JDBC connection pool with SQL parsing, security filters, statistics and monitoring, plus Spring Boot and high-availability integrations. Markdown: https://gitdiagram.com/alibaba/druid.md
48. [lenve/vhr](https://gitdiagram.com/lenve/vhr) (28k stars): VHR is a web-based HR management system: HR users sign in, receive role-dependent menus, and use the Vue client to manage employee records and other HR functions through Spring… Markdown: https://gitdiagram.com/lenve/vhr.md
49. [floci-io/floci](https://gitdiagram.com/floci-io/floci) (27.3k stars): Floci is a local AWS emulator: developers point existing AWS clients and infrastructure tools at its local endpoint, send AWS-shaped requests, and receive service-compatible… Markdown: https://gitdiagram.com/floci-io/floci.md
50. [crossoverjie/jcsprout](https://gitdiagram.com/crossoverjie/jcsprout) (26.8k stars): JCSprout is a Java core-knowledge repository of runnable examples, not one application with a shared runtime workflow. Markdown: https://gitdiagram.com/crossoverjie/jcsprout.md

Next page: https://gitdiagram.com/architecture-examples/java/2

More hubs: https://gitdiagram.com/architecture-examples

Counted over GitDiagram's stored diagrams of public repositories, from the names their components and groups carry and the files they link to; the rules are the ones in the [2026 open-source architecture report](https://gitdiagram.com/open-source-architecture-2026). Stars are GitHub's when the diagram was last made. Rebuilt daily: hubs grow as more repositories' languages are known.
