Blog (page 5)

Spring Cloud Function Example for AWS Lambdas

The Spring Cloud Function library combined with Spring Boot is an excellent way to create an application framework which can run quickly and easily within an AWS Lambda. This article will guide you on how to create a Spring Cloud Function and deploy this application within an Amazon AWS Lambda function. Getting Started with Spring Cloud …

SpringBootRequestHandler is now Deprecated

Prior to version 3 of Spring Cloud, an application had to extend the SpringBootRequestHandler which provided a number of different request handler methods which could be overridden to define how your application functioned when invoked in a lambda-like context. For example, here is what your codebase would have looked like prior to Spring Cloud version …

Install GraalVM and Native-Image on a Mac

The GraalVM documentation is not very helpful when it comes to installing the updater and other tools on a Mac device. This will guide you on the easiest way to install GraalVM along with the Native Image plugin on your MacOS devices. Install GraalVM using Homebrew You can easily install the GraalVM Java Virtual Machine and libraries …

AWS Neptune Example using Tinkerpop

Amazon’s Neptune service (formerly known as Blazegraph) is a fault-tolerant, highly performant, graph database which is intended for large scale applications which require graph storage in the cloud. It has native integration with Apache TinkerPop, Gremlin, and SPARQL so that you can easily interact with the database without needing any extra AWS libraries or utilities. …

Apache Calcite Tutorial

Introduction to Apache Calcite Apache Calcite is a Java-based framework that provides a unified SQL query engine for processing queries in various storage engines. Calcite is intended to be embeddable, flexible, and extensible; and is intended for use at the core of next-generation, big-data products. Calcite contains its own SQL Parser Layer, optimizers, and JDBC layer - …

Spring Native Application Example

Please note, Spring Native is an experimental release and implementation may be changed prior to the final release. The Spring Native Framework allows developers to create natively compiled images of their applications. These native images encapsulate all the different functions of your code, libraries, resources, and JDK into a singular package which has been optimized …

S3 Encryption Client v2 using AWS Java API

These examples utilize the second version of the AmazonS3EncryptionClient (AmazonS3EncryptionClientV2) as it is generally accepted as an improved offering in terms of security and vulnerability mitigation. A number of insecure encryption options like AES-CBC have been removed from the client and are effectively in a read-only mode and new objects will be encrypted instead with …