Skip to main content

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,
Spring Logo Illustration
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 jMolecules, established package relationship, restricted accesses and validates relationship during tests. By default, a module can access the content of any other module but cannot access subpackages of other modules.

Benefits of using Spring 6 in terms of ORM, Text blocks to hold SQL in query annotation, Records to define DTO, UUID as basic type in JPA 3, JPQL with new SQL functions, EntityManager and EntityManagerFactory can be used in try-with-resources as it extends Autoclosable interface, ResultSet JDBC fetch column positional values, and JPQL, HQL, Criteria API are unified as Semantic Query Model, Optimized Dialects, Auto Deduplication on JOIN FETCH without query hints 

Spring Boot 3.0 has been released and is available in the Maven central repository. Extending support for Spring framework 6.0 and GraalVM Native images, further baseline to JDK 17, Jakarta EE10 and EE9. Log4j2 enhancements, ConstructorBinding elimination if a class has a parameterized constructor while using ConfigurationProperties, auto registration and configuration of micrometer for traces and metrics, Spring Data JPA auto configurations for converters, mapping and dialects, and SpringBootTest on Main methods, configurations performed in main can be detected by tests.

The attributes of a singleton class are that there will only be a single instance of the class always, and the instance is created onetime and reused via the static accessor method. When it comes to unit testing of the static instance, Mockito provides mockStatic which is the inline mock representation that returns a mocked singleton instance.

Spring Boot 3 with AOT (ahead of time) compilation engine that supports GraalVM Native image. Static code analysis for creating native executables, hints for reflective and proxy accesses with tests

Disclaimer: 
This is a personal blog. Any views or opinions represented in this blog are personal and belong solely to the blog owner and do not represent those of people, institutions or organizations that the owner may or may not be associated with in a professional or personal capacity, unless explicitly stated. Any views or opinions are not intended to malign any religion, ethnic group, club, organization, company, or individual. All content provided on this blog is for informational purposes only. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information.
Downloadable Files and ImagesAny downloadable file, including but not limited to pdfs, docs, jpegs, pngs, is provided at the user’s own risk. The owner will not be liable for any losses, injuries, or damages resulting from a corrupted or damaged file.
  • Comments are welcome. However, the blog owner reserves the right to edit or delete any comments submitted to this blog without notice due to :
  • Comments deemed to be spam or questionable spam.
  • Comments including profanity.
  • Comments containing language or concepts that could be deemed offensive.
  • Comments containing hate speech, credible threats, or direct attacks on an individual or group.
The blog owner is not responsible for the content in the comments. This blog disclaimer is subject to change at any time.

Comments

Popular posts from this blog

Tech Conversant Weekly Jul 03 - Jul 15

Topic: General                                                                                                                                              Level: All Welcome to the world of cutting-edge technology! Every bi-week, we bring you the latest and most incredible advancements in the tech industry that are sure to leave you feeling inspired and empowered. Stay ahead of the game and be the first to know about the newest innovations shaping our world. Discover new ways to improve your daily life, become more efficient, and enjoy new experiences. This time, we've...

Tech Conversant Weekly Jun 19 - Jul 01

Topic: General                                                                                                                                              Level: All Welcome to the world of cutting-edge technology! Every bi-week, we bring you the latest and most incredible advancements in the tech industry that are sure to leave you feeling inspired and empowered. Stay ahead of the game and be the first to know about the newest innovations shaping our world. Discover new ways to improve your daily life, become more efficient, and enjoy new experiences. This time, we've...

Microservices - Design Patterns

Topic: Software Design                                                                                                        Level: Intermediate Microservices - What? Microservice is a software design methodology, delegated to perform an isolated decoupled single functionality (following the Single-Responsibility Principle from object-oriented SOLID design principles).  Moreover, microservices by design, are decoupled making it easy to develop, test, maintain, deploy, configure, monitor and scale modules independently. Microservices - Why? Having one microservice would not be helpful without it being able to interact with other microservices, to aid in bringing an end-to-end b...