Skip to main content

Posts

Showing posts with the label spring

Tech Conversant Weekly Jan 23 - Jan 28

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, Introducing Microservices Patterns with Spring Integration  Catalog with in-build patterns and architecture facilitating the integration with Spring modules and each of these modules is in turn Spring boot component https://spring.io/blog/2023/01/25/int...

Tech Conversant Weekly Nov 28 - Dec 03

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, How can a DTO contribute to enhancing the security of the java application? A DTO can be a JavaBeans (encapsulated) or POJO (no constructor) or an immutable Record class (added advantage on serialization), that maps the data from the database layer domain mo...

Tech Conversant Weekly Nov 21- Nov 26

Topic: General                                                                                                                                              Level: All In this post, we shall catch up on the multi-faceted technological updates that happened over the past week, Modularity can be achieved by confining the impact of change within the module, a well-defined boundary without leaks. JDK9s Modules offered preliminary isolation for packaged module structures, however at an application level module accesses should be rule defined. Spring Modulith with ArchUnit and...

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 proc...

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...

Spring on GraalVM Implementation

Topic: GraalVM                                                                                                                            Level: Advanced Spring on GraalVM Implementation In this consecutive post ( prior post ), we shall exploit the theory of the previous post on GraalVM, Native Image, and Spring Native and set up a Spring Boot project running on GraalVM that leverages static analysis and linkage during the build time with ahead-of-time compilation delivering a windows native executable. Prerequisites GraalVM JDK 11 distribution ( https://github.com/graalvm/graalvm-ce-builds/releases/tag/vm-22.3.0 ) - ensure...

Spring on GraalVM

Topic: GraalVM                                                                                                                            Level: Advanced GraalVM - What? GraalVM is a virtual machine for seamless interoperability and polyglot language compilation that offers highly optimized runtime executable binaries, speeding the application startup and reducing memory consumption ideal for microservices, serverless, and cloud workloads in general. Any source code running on the Java Hotspot VM can also run on the GraalVM. Native Images - What? Native Image is a technology by which a java code is compiled ahead of time in...