AWS has released a library to help convert a Spring Boot application into an AWS Lambda. We look at how to use this library and how to deal with long cold start times.
Search Results for: compilation
Difference Between Javac and the Eclipse Compiler
A comparison between the Java compiler and the Eclipse compiler.
VarArgs vs Array Input Parameters in Java
A quick and practical comparison between varargs and arrays as input parameters.
Ahead of Time Optimizations in Spring 6
What’s the concept of AOT and how is applied in Spring 6 looking at pros and cons.
Compiling and Executing Code From a String in Java
Learn how to turn a String containing Java source code into a compiled class and then execute it.
Lambda Expression vs. Anonymous Inner Class
A quick and practical comparison between lambda expressions and anonymous inner classes.
Java Weekly, Issue 469
GraalVM in OpenJDK, entity listeners, MicroProfile 6.0, RabbitMQ vs Kafka, and data pipelines at scale!
Java Generics PECS – Producer Extends Consumer Super
Explore the usage of Java Generics when it comes to producing and consuming collections.
Java Weekly, Issue 466
Spring Boot 3, from 1RPS to 26RPS, caching effect, K8S secrets, and unusual stack traces!
Java Weekly, Issue 465
Spring 6, Quarkus Jakarta EE migration, Kotlin on RaspberryPi, REST API over database schema, and logical replication.
Can a Java Application Use More Memory Than the Heap Size?
Learn how to restrict the total memory usage in Java.
Using Groovy in Spring
Explore the Spring framework’s extensive support for Groovy and learn how to create bean definitions using different approaches.
Fixing the “java: integer number too large” Error
Learn two common pitfalls when we work with integer literals in Java.
Variable Instantiation on Declaration vs. on Constructor in Java
Learn that using either field declaration or constructor initialization is more of a preference.
Java Weekly, Issue 454
JIT internals, project Loom, DTO/entity mapping, micro-batching, monolith to microservices, and object storage in K8S!
Guide to Find the Java .class Version
Learn how to find the Java release version for .class and jar files.
Implementing a Map with Multiple Keys in Java
A practical guide to using multiple keys in a map.
A Guide to Java Source and Target Options
Learn how the -source and -target options work in Java 8 and how they’ve evolved from Java 9 onwards
Java “int/char Cannot Be Dereferenced” Error
Take a closer look at the Java error “int cannot be dereferenced”, learn the leading cause of the exception, and see how to fix it.
Configure MongoDB Collection Name for a Class in Spring Data
Learn how to configure MongoDB collection names for classes using Spring Data.