Learn how to convert from an int primitive to a short primitive in Java.
Search Results for: cast
Java Weekly, Issue 540
Avoiding n+1 queries, Spring AI, JMS, Graal dev kit, and GitHub actions on Raspberry PI!
Intro to Apache Commons Configuration Project
Apache Commons Configuration can be used to allow us to specify configuration parameters to be loaded at runtime by our application. We look at a few use cases and types of configuration files.
Converting Image to BufferedImage in Java
A quick and practical guide to converting images to BufferedImage in Java.
Java Weekly, Issue 539
Jakarta Data, multimodal LLMs, deprecating Dates in Hibernate, vector API, and Agile as a silver bullet (or not).
Java Weekly, Issue 538
Stream gatherers in Java 23, small additions in Spring, modern Jakarta EE, AOP logging, and Meta patterns!
Java Weekly, Issue 537
Record as DTOs, stream peeking, JUnit 5 parameterized tests, Java 22, and idempotency key!
Java Weekly, Issue 536
News on Java evolving through JEPs and an exploration of the Azure Spring Apps platform from Microsoft (and VMware). A solid week.
Check if an Element Is Present in a Set in Java
Learn to check if an element is in a Set in Java.
Java Weekly, Issue 535
Out with the RestTemplate (again), a look back, yes, back, at the just released Java 22 and forward at Java 23. And a solid piece on why we should fight against context-switching.
Java Weekly, Issue 534
Java 22 is out. Nuff said 🙂
Java Weekly, Issue 533
Functional calling LLMs with Java, Ktor new features, postgres indices, GitHub actions on Raspberry PI, and measuring developer productivity. Oh, and JDConf 2024.
Java Weekly, Issue 532
Generational ZGC, Java 22 and beyond, random generator, GPU programming in Java, and event interception!
Custom Event Handlers and Listeners in Netty
Learn to make a basic chat room using Netty. Key features include custom event handlers, server bootstrapping, and event listeners.
Gson TypeToken With Dynamic List Item Type
Learn how to convert a JSON array into an equivalent List with Gson.
Java Weekly, Issue 531
Records meet JPA, cloud cost, and Java at Netflix, more secure APIs, and face-to-face meetings. A packed week.
A Guide to etcd
Explore etcd, an open-source distributed key-value store. Understand its fundamental concepts, features, and use cases with examples.
Java Weekly, Issue 530
Optional pattern matching, GC and compilers, GraalVM, minimizing costs, catching up with tech trends, and Postgres tuning!
Java Weekly, Issue 529
LINQ emulation in Java, JPA fetch types, stateless sessions in Hibernate, GC improvements, and Actor model concurrency.
Count Uppercase and Lowercase Letters in a String
Learn how to count the number of uppercase and lowercase letters in a String in Java.