just documents or key-value caches. It spans six structural paradigms: Key-Value Ultra-low latency lookups. Ideal for web sessions and volatile caches. Document Stores rich hierarchical JSON/BSON natively. Built for fast application entities. Column-Family High-throughput, distributed write performance for massive IoT logging streams. Graph Maps deep, hyper-connected networks of metadata relationships directly. Vector Databases The Engine of AI. Stores mathematical embeddings for semantic search and LLM context. Time Series Tracks sequence telemetry timestamps sequentially over active timelines. WHAT IS NOSQL? THE MODERN TYPES
provided separate isolation layers: Jakarta EE is the only major platform missing an open, vendor-neutral persistence specification for NoSQL. Spring Data NoSQL Uses highly fragmented, isolated independent framework modules (Spring Data MongoDB, Spring Data Redis, etc.). Locks systems into proprietary spring container conventions. Quarkus Panache Implements rapid Active-Record patterns specifically optimized for single engines like MongoDB. Ideal for microservices but lacks cross-vendor platform portability. Micronaut Data Leverages ahead-of-time compilation parameters for document engines. Highly performant, but limits engineering tasks within custom build pipelines. CURRENT JAVA LANDSCAPE FRAGMENTATION
are the undisputed leaders in AI. • Handles complex embedding similarity. • Powers RAG (Retrieval-Augmented Gen). • Prevents platform abandonment for AI apps.
through columns and tables. High-dimensional vector embeddings generated by LLMs require similarity calculations (like Cosine distance) across millions of coordinates instantly. Relational systems suffer massive compute penalties attempting this; Vector databases are the undisputed leaders here. The Strategic Mandate If Jakarta EE remains exclusively tied to Relational (JPA) frameworks, enterprise developers will abandon the ecosystem to build modern AI and RAG (Retrieval-Augmented Generation) architectures on alternative, non-Java stacks. AI WORKLOADS: VECTOR DATABASES LEAD
paradigms is the exact catalyst that inspired the unified Jakarta Data repository pattern. Unified Repositories Developers use a consistent programming model. Swap out underlying engine structures smoothly without restructuring the business tier logic. The Need for Jakarta Query Introduces type-safe, fluent database interaction. Generates queries securely at compile-time, bringing strict validation across highly flexible environments. THE SOLUTION: JAKARTA NOSQL BENEFITS
Mapping We cannot control proprietary vendor drivers, nor can we predict how every emerging database will handle serialization protocols. Optional Communication Layer: Provides decoupled hooks without forcing strict connection pipelines on vendors. Foundation on Java Strength: Focuses explicitly on making the Mapping Layer bulletproof. Leverages Java’s rich type system, CDI, and annotations to create an unshakeable developer interface, regardless of wire protocol. Jakarta NoSQL Tiering Mapping Layer (Strong Java Foundation) Communication Layer (Decoupled & Optional) Allows the platform to adapt smoothly to new engines without breaking specs.
assumption: communication serialization always travels a single path. It translates everything into rigid text-based SQL queries and flat tabular result streams over standard connections. Polyglot Driver Reality NoSQL engines use wildly complex, asynchronous serialization formats: • Binary BSON • Graph protocols • REST & gRPC streaming Forcing them through the singular pipeline of JDBC fundamentally cripples their native power and optimizations. THE JDBC BARRIER
relies on relational invariants. Forcing NoSQL schemas inside it compromises structural speed. 2. Divergent Behaviors Custom write guarantees, graph path traversals, or document structures alter transactional expectations radically. 3. Particular Behavior Matters Forcing a uniform API strips away the unique underlying optimizations of specific non-relational engines. The Unified Vehicle Fallacy Trying to design a single cockpit for a boat, plane, sub, and car forced to use the exact same controls. Boat Plane Sub Car One size does NOT fit all in database architecture.
to any Jakarta Persistence developer, minimizing technical friction. The Core Difference: Underneath the hood, these fields handle schema flexibility, non-tabular nested properties, and schema-agnostic structures gracefully without strict database-enforced schemas. @Entity public class Car { @Id private Long id; @Column private String name; @Column private CarType type; // Standard getters, setters... }
Car ferrari = Car.builder().id(1L).name( "Ferrari").build(); template.insert(ferrari); // Fluent API List<Car> sports = template.select( Car.class) .where("type").eq(CarType.SPORT) .orderBy("name").result(); Radical Boilerplate Reduction No messy string concatenations, manually opened connections, or manual mapping pipelines. The fluent structural pattern enables compile-time safety across different polyglot configurations seamlessly.
parameters to text queries, preventing code injections across distributed structures. Native Projections Extract focused view schemas directly into lightweight immutable Java record classes. // Secure Parameter Binding List<Car> cars = template.query( "FROM Car WHERE type = :type") .bind("type", CarType.SPORT) .result(); // Clean Immutable Projections via Java Records @Projection public record TechCarView(String name, CarType type) {} List<TechCarView> views = template .typedQuery("FROM Car WHERE type = 'SPORT'" , TechCarView.class) .result();
record = ...; manager.put(record); Optional<DocumentRecord > result = manager.findByKey( "user:10"); manager.deleteByKey( "user:10"); Pluggable Core Modules When custom performance tuning is necessary, the low-level API speaks directly to operational wire boundaries. Current Options: Document, Key-Value, Column, and Graph modules. Multi-engine extensibility allows more blueprints to join smoothly. LOW-LEVEL COMMUNICATION API
1.2 Target Platform: Jakarta EE 13 Update baseline dependencies & Java version support. Standardized Driver Comm API: Unifies/simplifies NoSQL vendor vendor extensions. Jakarta Query Support: Portability for fluent query structures. Prepared Statement Support: Parameterized security boundaries. Support for nested Map embedded entity mappings. Vector & Time-Series: Standardized communication APIs. Jakarta Batch Integration: High-throughput data orchestration. Jakarta Configuration Integration: Centralized externalized properties. Agentic API Support: Indigenous abstractions for active AI systems. THE STRATEGIC ROADMAP