Table of Contents Fourteen days have passed, and it is time to present a fresh collection of readings that could influence developments in the field of artificial intelligence. Fourteen days have passed, and it is time to present a fresh …
-
Here’s Java 25, Ready to Perform to the Limit
Table of Contents JEP OverviewNew featuresCore LibsHotSpotSecurity LibsJava Flight RecorderRepreviews and FinalizationsJEP 505: Structured Concurrency (Fifth Preview)JEP 506: Scoped ValuesJEP 507: Primitive Types in Patterns, instanceof, and switch (Third Preview)JEP 508: Vector API (Tenth Incubator)JEP 510: Key Derivation Function APIJEP …
-
Foojay Podcast #78: Welcome to OpenJDK 25!
Table of Contents VideoPodcast (Audio Only)GuestsContent We’re excited to present the first episode of the Foojay Podcast’s fifth season, marking the release of OpenJDK 25! For the first time, an OpenJDK release is aligned with the year, and we can …
-
Research: Measuring Energy Consumption in Programming Languages for AI Applications
Decades ago, I contributed to a very interesting project called SunSPOT at SUN Microsystems. It was a small device with wireless connectivity, built-in sensors, running on Java (compatible with runtime 1.6), and powered by battery. It enabled the design of …
-
MongoDB Schemas in Java
Table of Contents Why MongoDB and Java are such good friendsThe missing schema of loosely typed systems Bringing schema back Example: Spring Boot sea temperature service Sea temperatures Weather reports Schemas Data access Creating our API Why not Spring Data? Java benefits Schema in one place Database pollution API input pollution Compile-time and …
-
Building REST APIs in Java with Spring Boot
Table of Contents How can Spring help?PrerequisitesCreating our appConnecting our databaseOur Book modelBook repositoryOur REST controllerCreateReadUpdateDeleteAdding DTOs and validationBookRequestBookResponseUpdating the controllerTesting the APIRun the APICreateReadUpdateDeleteConclusion REST has become the default choice for building web services, and for good reason. It’s …
-
JC-AI Newsletter #4
Table of Contents Previous: 14 days have passed and it’s time for a new batch of readings that could shape developments in the field of artificial intelligence. The current newsletter vol. 4 offers us a closer look at several different …
-
Queryable Encryption With Spring Data MongoDB: How to Query Encrypted Fields
Table of Contents Why Queryable Encryption?A quick look at Spring Data MongoDBUse case: HR system with encrypted fieldsSetting up the projectConfiguring dependencies and propertiesAdding mongodb-cryptApplication.yml configurationAccessing properties in the codeBuilding the application layersThe domain modelThe repositoryThe serviceThe controllerSetting up encryptionConfiguring …
-
Boosting Kafka Latency Performance by 3x with Zing JVM and AutoMQ
Table of Contents Why is Latency so Important to Kafka?Introduction of AutoMQIntroducing Azul Zing Builds of OpenJDKPerformance Test & ExplanationTest Environment ConfigurationLatency: Taming the TailCPU Utilization: Do More with LessFuture Outlook Why is Latency so Important to Kafka? The importance …
-
Taking Java Arrays to Another Dimension
Table of Contents What is a multidimensional array in Java?Declaring a multidimensional arrayMixing Bracket PositionsCreating a multidimensional arrayDefault values in arraysUnderstanding jagged arraysUnderstanding JVM bytecodes for array creationBytecode for arrays of primitivesBytecode for arrays of objectsBytecode for multidimensional arraysPerformance considerations …
-
AI Gives Time, Not Confidence: Developer Productivity Toolkit
Let’s be real – keeping up with the pace of software development today is intense. New frameworks pop up and the push for faster, better, and more secure code never stops. This article is all about cutting through the buzz and looking …