objectbox/objectbox-java — explained in plain English
Analysis updated 2026-06-26
Add a local database to an Android app where users can save and retrieve data offline without writing any SQL.
Build an Android app with on-device AI-powered similarity search that finds related items without sending data to a server.
Store Java or Kotlin objects with relationships between them using a simple annotation-based API, no schema migration scripts needed.
Replace SQLite in a Java or Kotlin desktop app with a faster, simpler object-oriented database.
| objectbox/objectbox-java | apache/rocketmq-externals | redspider1/concurrent | |
|---|---|---|---|
| Stars | 4,610 | 4,611 | 4,615 |
| Language | Java | Java | Java |
| Setup difficulty | easy | hard | easy |
| Complexity | 2/5 | 4/5 | 1/5 |
| Audience | developer | ops devops | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires adding the ObjectBox Gradle plugin to your build files, works on Android 5.0+ and Java 8+, no external server needed.
ObjectBox is a database library for Android apps and Java or Kotlin programs that run on a computer. It lets you store and retrieve data without writing SQL queries. Instead of working with tables and rows the way a traditional database requires, you define a plain Java or Kotlin class, mark it with an annotation, and ObjectBox handles the rest. You put objects in, you get objects out. The core idea is that saving a "Person" object should be as simple as calling box.put(person), and reading it back should be box.get(id). The library generates the necessary database code for you based on the class definition, so you spend less time on boilerplate. It supports creating, reading, updating, and deleting records, as well as defining relationships between different types of objects. One feature the README highlights is on-device vector search. This is a way of finding records that are similar to a given input, which is the same technique used in AI-powered search and recommendation systems. ObjectBox claims to be the first database of its kind to offer this capability directly on a device, without sending data to a server. The README connects this to use cases like building apps that include local AI features. The library works on Android 5.0 and newer, and on desktop or server systems running Linux, macOS, or Windows. It supports Java 8 and newer, and Kotlin 1.7 and newer. Setup is done through Gradle or Maven, the standard build tools for Java projects. The README includes detailed configuration steps for both. ObjectBox is released under the Apache 2.0 license, which allows free use in commercial and open-source projects. The project also offers paid plans with additional features, as noted in the linked documentation.
ObjectBox is a fast, easy-to-use database for Android, Java, and Kotlin apps that lets you store and retrieve objects directly without SQL, and uniquely offers on-device vector search for building local AI features.
Mainly Java. The stack also includes Java, Kotlin, Android.
Free to use for any purpose including commercial projects as long as you keep the copyright and license notice.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.