Skip to main content

Posts

Showing posts with the label REST

Tech Conversant Weekly May 08 - May 20

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 got some exciting news to share with you! Persisting a collection like List in JPA is attained in two following ways, 1. ElementCollection annotation - specifying CollectionTable annotation with the column onto which the OneToMany relationship has to be established  2. AttributeConverter Implementation - override the convertToDatabaseColumn and convertToEntityAttribute for persisting and retrieval of the collection

Tech Conversant Weekly Feb 27 - Mar 11

Topic: General                                                                                                                                              Level: All Welcome to the world of cutting-edge technology! Every 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 week, we've got some exciting news to share with you! Java compiler generates class file bytecodes that are executed by the JVM into a binary compilation for platform execution. Entering GraalVM which produces native images during compilation that are platform native executables. These images are produced by AOT compilation of reachable code and reflective accesses are explicitly specified.  NativeImage analyzer capitalizes on the

Tech Conversant Weekly Jan 30 - Feb 04

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, Java has some extraordinary libraries which blow your mind such as, 1. Using DelayQueue instead of BlockingQueue, offering to the queue after the delay lapse  2. DateTimeFormatter returning strings like 'in the morning' and 'in the afternoon  3. StampedLock instead of ReadWriteLock and optimistic ReentrantReadWriteLock  4. Concurrent Accumulators instead of AtomicXXX references for concurrent updates without locks  5. Hex format  6. BinarySearch in Arrays of sorted ordering returning found value else the nearest occurrence for insertion  7. BitSet instead of a boolean array to operate the bits for and, or, xor operations  8. Phaser instead of CountDownLatch to a

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 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 Dec 05 - Dec 10

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, The Garbage collector in JVM abstracts away from managing the memory allocation of the Java application by releasing/dereferencing/defragmenting the object allocated in the memory preventing memory leaks and space depletion. Several GC implementations strategically try to balance on the below parameters for optimal performance of GC, 1. Low latency  2. High Throughput  3. Efficient resources usage (CPU and memory) Typical stages involved in the GC are, 1. Mark (Tracing) - the objects are tree represented and from the application root reachable nodes are painted (LIVE) and unreachable (NON-LIVE) are marked for GC. 2. Sweep - Nonlive objects cleared from the heap memory  3. C

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 model to the presentation layer, restricting the data on a need-to-know basis and acts as a proxy providing filtering and preprocessing. https://snyk.io/blog/how-to-use-java-dtos/ By employing static code analysis tools, the NullPointerException feasibility on the code flow is determined, making the code not only null-safe but also cutting down the exception propagated stacktrace given in the piped code sequence invocation