Skip to main content

Posts

Showing posts with the label jdk19

Tech Conversant Weekly Jan 16 - Jan 21

Topic: General                                                                                                                                              Level: All In this post, we shall catch up on the multi-faceted technological updates that happened over the past week as well as a few that seized my attention, Frequently we read properties from file to the application, conversely, we can write to configuration properties file as well from Java  https://youtube.com/shorts/GzuYu6XPaVs Building custom URLs with special characters creates complexities in request mapping on the server-side code. The REST requests are to be intercepted for carrying out preprocessing not only on the URL but on the whole request before delegation to the controller. Create an implementation for ClientHttpRequestInterceptor and override the intercept method, subsequently registering the interceptor onto the rest template, any requests are routed via the implementation. https://www.baeldung.com/spring-restt

Tech Conversant Weekly Nov 14 - Nov 19

Topic: General                                                                                                                                              Level: All In this post, we shall catch up on the multi-faceted technological updates that happened over the past week, Spring framework 6.0 has been released and is available in Maven central. It used JDK 17 as a baseline, and Jakarta EE 9+ with specifications for Servlet 6.0 and JPA 3.1 facilitating access to Tomcat 10.1 and Hibernate ORM 6.1 respectively. Spring application contexts support AOT transformation processing as part of GraalVM Native image used in tandem with Spring Boot 3. Spring 6.0 enables the usage of Project Loom's Virtual threads feature and Project CRaC with checkpoint restoration for faster JVM startup and many other features. https://spring.io/blog/2022/11/16/spring-framework-6-0-goes-ga Establishing a good degree of isolation can vary regarding deployment (Microservices) or DDD-bounded context. Spring Mo

Tech Conversant Weekly Nov 7 - Nov 12

Topic: General                                                                                                                                             Level: All In this post, we shall catch up on the multi-faceted technological updates that happened over the past week, Dealing with checked exceptions in functional interfaces via lambdas in Java Streams shatters the intent of a simplified functional pipeline making it verbose. By extracting the exception handling block to a class, Lombok annotation SneakyThrow, Apache Commons Lang Failable stream API, and Varv functional library with Streams offers alternatives for handlezing the try/catch scenario embracing code pipe flow, thereby optimizing lambdas in the Streams. https://blog.frankel.ch/exceptions-lambdas/ When we package and ship our application to the clients, making it evident on the dependencies (both stated and transitive) used in the application aids clients in making informed decisions, adhering to any defined standards,

Lancing JDK 19

Topic: JDK Release                                                                                                                            Level: Basic Introducing JDK 19 Java 19 is the 10th release since the transition to the 6-month release cadence of new JDK features, comprising of 7 JDK Enhancement Proposals. With the ever-releasing new JDK features catching up on the latest version could be a daunting task. However it is a gift in disguise, with the shorter releases,  Applications can effortlessly migrate to the successor versions by incorporating fewer minimal additions/deprecations in the features rather than having big bang migration housing innumerable changes. The steep learning curve and adaptation curve on the features introduced can be significantly lessened as the release cycles are periodic and incremental. Nurtures prompt experimentation and feedback for improvement and development of the released features (incubate and preview). Focusing on LTS (Long Term Support) r