Tag: microservices

  • Spring Boot Annotations

    @SpringBootApplication @SpringBootApplication is an annotation in the Spring Framework for Java that indicates that a class is a Spring Boot application. This annotation combines several other annotations, including @Configuration, @EnableAutoConfiguration, and @ComponentScan, into a single convenient annotation. The @Configuration annotation indicates that the class is a source of bean definitions for the application context. The…

  • Deserializing JSON to an abstract class, interface, or to inherited objects in Spring Boot Webclient

    @JsonTypeInfo and @JsonSubTypes annotations. First, you need to ensure that your classes are properly annotated for serialization and deserialization. You can use the @JsonTypeInfo and @JsonSubTypes annotations to specify the type hierarchy of your objects @JsonSubTypes with not matching any conditions and return as null If you have a JSON object that does not match…

  • Deserialize case-insensitive JSON in Spring Boot Webclient

    If you want to deserialize case-insensitive JSON in Spring Boot using Jackson, you can configure the ObjectMapper to use the ACCEPT_CASE_INSENSITIVE_PROPERTIES feature. JSON Java Pojo WebClient Example 1 WebClient Example 2

  • Hazelcast, Ignite, Aerospike, Redis Cache Comparison

    Hazelcast Ignite Aerospike Redis In-memory key-value store Primary database model – Key-value store Secondary database models – Document store Java Language For open source Apache License 2.0 In-memory computing platform Distributed database Java Language,  Java, C#, C++, SQL For open source Apache License 2.0 In-memory NoSQL Database Primary database model – Key-value store Secondary database…

  • Observability

    Observability is a key requirement for monitoring and debugging microservice architectures. With the rise of distributed systems and the increasing complexity of modern software applications, observability has become an essential component of any production system. Observability in microservices involves the ability to gather and analyze data from each individual microservice to provide a comprehensive view…

  • Basic kubectl CLI Commands

    kubectl kubectl controls the Kubernetes cluster manager. where command, TYPE, NAME, and flags are: Note Flags that you specify from the command line override default values and any corresponding environment variables. Reference https://kubernetes.io/docs/reference/kubectl/overview/

  • Basic of Kubernetes

    Why Kubernetes With modern web services, users expect applications to be available 24/7, and developers expect to deploy new versions of those applications several times a day. Containerization helps package software to serve these goals, enabling applications to be released and updated without downtime. Kubernetes helps you make sure those containerized applications run where and…

  • Basic Docker CLI Commands

    docker run docker ps docker images docker image docker container docker system docker compose Reference https://docs.docker.com/reference/

  • Spring AOP

    Introduction Key Concepts Pointcut Examples AOP Other Concepts Reference https://docs.spring.io/spring-framework/docs/6.0.x/reference/html/core.html#aop https://docs.spring.io/spring-framework/docs/6.0.x/reference/html/core.html#aop-api

  • Today’s Development Challenges