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

Toolbelt Trifecta: Connecting to Neo4j with Java and AWS Lambda

Toolbelt Trifecta: Connecting to Neo4j with Java and AWS Lambda

Java, AWS Lambda, Neo4j – one or more of these technologies might be familiar to us, but how do we use them together? In this session, we will take a look at each of these technologies by themselves, and then assemble some code to combine them. We will start with the available example code, and then see how to improve and update that code with the latest and greatest features and efficiencies offered. Through live coding, we will work through the challenges, find answers to questions, and piece together the code. As a result, we will have a working solution for a cloud function in Java that runs a query in Neo4j and returns the results. Join us to combine these technologies for a powerful trifecta!

Jennifer Reif

June 08, 2022
Tweet

More Decks by Jennifer Reif

Other Decks in Technology

Transcript

  1. Jennifer Reif
    Email: [email protected]
    Twitter: @JMHReif
    LinkedIn: linkedin.com/in/jmhreif
    Github: GitHub.com/JMHReif
    Website: jmhreif.com
    Toolbelt Trifecta
    Connecting to Neo4j with Java and AWS Lambda

    View Slide

  2. Who Am I?
    • Developer + Advocate

    • Continuous learner

    • Blogger

    • Conference speaker

    • Other: geek
    Jennifer Reif
    Email: [email protected]
    Twitter: @JMHReif
    LinkedIn: linkedin.com/in/jmhreif
    Github: GitHub.com/JMHReif
    Website: jmhreif.com

    View Slide

  3. Architecture

    View Slide

  4. Background
    • Very few examples (esp Java + Neo4j)

    • Goal: utilize example code

    • Version1 of code

    • Now updated with AWS CDK!

    • Future:

    • Update CDK v2

    • Update some dependencies

    View Slide

  5. Code Mashup

    View Slide

  6. V1 Handler

    View Slide

  7. Demo Time!

    View Slide

  8. Resources
    • Code repository: github.com/JMHReif/aws-lambda-java-neo4j

    • Neo4j AuraDB: bit.ly/neo4j-aura

    • AWS docs: docs.aws.amazon.com/cdk/v2/guide/work-with-cdk-java.html

    • AWS walkthrough: aws.amazon.com/de/blogs/opensource/packaging-and-
    deploying-aws-lambda-functions-written-in-java-with-aws-cloud-
    development-kit/

    • Blog: bit.ly/jmhreif-blog
    Jennifer Reif
    Email: [email protected]
    Twitter: @JMHReif
    LinkedIn: linkedin.com/in/jmhreif
    Github: GitHub.com/JMHReif
    Website: jmhreif.com

    View Slide