Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Seamless Java-NoSQL integration via Eclipse JNoSQL 1.0.0, effortlessly switch NoSQL providers

Seamless Java-NoSQL integration via Eclipse JNoSQL 1.0.0, effortlessly switch NoSQL providers

Jakarta Tech Talk - Unleashing the Power of Jakarta Data: Exploring API-driven Data Access for Relational and NoSQL Databases.

Join us for an enlightening presentation on Eclipse JNoSQL 1.0.0, a robust framework that streamlines the integration of Java and NoSQL databases. In this session, we will delve into the latest advancements of Eclipse JNoSQL and discuss the future roadmap for the Jakarta NoSQL specification.

We will showcase the exciting new features and enhancements introduced in version 1.0.0 through a series of live code demonstrations. Discover how Eclipse JNoSQL empowers developers to seamlessly work with various NoSQL databases, including MongoDB, Couchbase, Redis, Neo4J, Cassandra, and more!

During the presentation, we will highlight the key benefits of using Eclipse JNoSQL, such as simplified data modeling, flexible querying capabilities, and seamless integration with Java frameworks. You will learn how to leverage JNoSQL's robust APIs and abstractions to optimize your NoSQL database operations and improve application performance.

Furthermore, we will discuss the significance of the Jakarta NoSQL specification and its role in standardizing NoSQL development within the Java ecosystem. Gain insights into the future direction of Jakarta NoSQL and its compatibility with Eclipse JNoSQL.

Whether you are a Java developer looking to explore NoSQL databases or an experienced JNoSQL user interested in the latest advancements, this presentation will provide valuable insights and practical knowledge. Join us to learn how Eclipse JNoSQL 1.0.0 can simplify your Java and NoSQL integration and pave the way for future developments in the Jakarta NoSQL specification.

Ref: https://www.youtube.com/watch?v=8OouJygJBiI

Otavio Santana

August 16, 2023
Tweet

More Decks by Otavio Santana

Other Decks in Technology

Transcript

  1. @otaviojava
    Jakarta NoSQL
    The simple way to succeed polyglot
    persistence
    Otávio Santana
    Software Engineer & Architect and Open Source
    Committer
    [email protected]

    View full-size slide

  2. @otaviojava
    NoSQL
    key value
    key
    key
    key
    value
    value
    value
    Column Family Graph Document Key Value
    NoSQL Database

    View full-size slide

  3. @otaviojava
    Jakarta Data + NoSQL
    Eclipse JNoSQL
    Common Annotation
    Multiple APIs
    Extensions
    Graph (Apache Tinkerpop) Document
    Column Key Graph
    Communication
    Mapping
    Entity

    View full-size slide

  4. @otaviojava
    Easy Java with NoSQL
    Eclipse JNoSQL
    key value
    key
    key
    key
    value
    value
    value
    Column Family Graph Document Key Value

    View full-size slide

  5. @otaviojava
    Repository
    Rest Client
    JPA
    NoSQL
    Jakarta Data

    View full-size slide

  6. @otaviojava
    Motivation
    Jakarta NoSQL
    BaseDocument baseDocument = new BaseDocument();
    baseDocument.addAttribute(name, value);
    Document document = new Document();
    document.append(name, value);
    JsonObject jsonObject = JsonObject.create();
    jsonObject.put(name, value);
    ODocument document = new ODocument(“collection”);
    document.field(name, value);

    View full-size slide

  7. @otaviojava
    Making it easy
    Jakarta NoSQL
    DocumentEntity entity = DocumentEntity.of("collection");
    entity.add(name, value);

    View full-size slide

  8. @otaviojava
    Making it easy
    Jakarta NoSQL
    DEMO

    View full-size slide

  9. @otaviojava
    Making it easy
    Jakarta NoSQL
    @Entity
    public record Pokemon (@Id String id,@Column String name,
    @Column String location){
    }

    View full-size slide

  10. @otaviojava
    Making it easy
    Jakarta NoSQL
    @Inject
    Template template;
    Pokemon pokemon = new Pokemon(id, name, location);
    template.insert(pokemon);

    View full-size slide

  11. @otaviojava
    Making it easy
    Jakarta NoSQL
    @Inject
    DocumentTemplate template;
    Pokemon pokemon = new Pokemon(id, name, location);
    template.insert(pokemon);

    View full-size slide

  12. @otaviojava
    Making it easy
    Jakarta NoSQL
    Template
    OtherTemplates
    DocumentTemplate
    ArangoDBTemplate MongoDBTemplate CouchbaseTemplate

    View full-size slide

  13. @otaviojava
    Making it easy
    Jakarta NoSQL
    @Inject
    DocumentTemplate template;
    Pokemon pokemon = new Pokemon(id, name, location);
    template.insert(pokemon);

    View full-size slide

  14. @otaviojava
    Making it easy
    Jakarta NoSQL
    @Repository
    public interface PokemonRepository extends PageableRepository {
    List findByName(String name);
    }

    View full-size slide

  15. @otaviojava
    Making it easy
    Jakarta NoSQL
    @Repository
    public interface PokemonRepository extends PageableRepository {
    List findByName(String name);
    }

    View full-size slide

  16. @otaviojava
    Making it easy
    Jakarta NoSQL
    DataRepository
    CrudRepository
    PageableRepository
    ArangoDBRepository
    MongoDBRepository CouchbaseRepository

    View full-size slide

  17. @otaviojava
    Repository
    Rest Client
    JPA
    NoSQL
    Jakarta Data

    View full-size slide

  18. Thank you!
    Otávio Santana
    Software Engineer & Architect
    [email protected]
    @otaviojava
    @otaviojava

    View full-size slide