Skip to main content

Posts

Showing posts from January, 2023

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/introducing-microservices-patterns-with-spring-integration Jakarta EE 10, Java faces 4 can now be programmatically accessed via API and with extension mappings, the xhtml is made redundant with context params, ClientWindowScoped annotation can maintain the same bean scopes across multiple pages as long the jfwid is the same, and finally MultipleFileUpload model mapping for processing https://blog.payara.fish/a-quick-look-at-face

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 Jan 09 - Jan 14

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, Type annotation and receiver parameter from JDK 8, offer a compilation validation guideline.  In combination, template design can be attained by formalizing the client implementation to follow.  https://www.objectos.com.br/blog/objectos-weekly-008-the-java-receiver-parameter.html With flapMap on the streams API, operations can be performed on the inner collection, ie list within a list https://dev.to/wkrzywiec/java-series-flatmap-2fif Jakarta MVC on top of Jakarta REST presents decoupled web-based requests handling architecture https://blog.payara.fish/a-look-at-jakarta-mvc-in-jakarta-ee-10 JDK 20 Project Loom's ScopedValue vs. ThreadLocal  ThreadLocal enables sharing d

Tech Conversant Weekly Jan 02 - Jan 07

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, Microservices using shared memory for interservice communication and data processing, to speed up the processing between multiple services and achieve low latency with high throughput, creating a Virtual memory that offers shared memory space residing in the local disk for the services to leverage. The Chronicle library facilitates creating the memory region of the heap on a file for virtual memory and debugging the file with readable YAML format. The feature of the memory map file has been available since JDK4, FileChannel.map + MapMode.READ_WRITE = MappedByteBuffer (not thread safe) Other places for improvement are, 1) Thread safe access 2) Long offsets (64-bit) 3) Comple