Changing the embedded server in a Spring Boot application

  • February 14, 2024
  • 0 Comments

Changing the embedded server in a Spring Boot application is a straightforward process, thanks to Spring Boot’s auto-configuration. By default, Spring Boot uses Tomcat as the embedded servlet container, but it can be easily switched to other servers such as Jetty or Undertow. Here’s how you can change the embedded server: Step 1: Exclude the […]

Avoid NullPointerException in Java with Optional: A Comprehensive Guide

  • February 14, 2024
  • 1 Comment

Are you tired of dealing with avoid NullPointerExceptions(NPEs) in your Java code? Look no further than the Optional class introduced in Java 8! This powerful tool is a game-changer for handling null values, making your code more robust, expressive, and maintainable. 🚀 In this ultimate guide, we’ll dive deep into the world of Java Optional, […]

Valid Parentheses

  • February 13, 2024
  • 0 Comments

Given a string containing characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[‘ and ‘]’, determine if the input string is valid. The string is considered valid if: Example of a valid string: {[()]} Example of an invalid string: ([)] Validating Complex Parentheses Combinations: A Java Solution Introduction Validating a string of mixed parentheses types, including curly braces […]

Landing My Dream Job: An In-depth Look at My Amazon SDE2 Interview Experience in Bangalore

  • February 13, 2024
  • 0 Comments

Amazon SDE2 Interview Navigating the path to securing a Software Development Engineer II (SDE2) position at Amazon’s Bangalore office was a journey filled with learning, perseverance, and strategic preparation. This blog post delves into the detailed steps of my application process, the rigorous interview rounds I faced, and the insightful strategies that helped me land […]

Understanding JWT: A Comprehensive Guide to Authentication and Security

  • February 12, 2024
  • 0 Comments

What is JWT? JWT stands for JSON Web Token. It is a standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs can be signed using a secret (with the HMAC algorithm) […]

Base64 Decode

  • February 12, 2024
  • 0 Comments

Base64 encoding is a technique used to encode binary data into ASCII characters, making it easier to transmit data over media that are designed to deal with textual data. This ensures the integrity and security of data as it moves across networks and systems. The tool Base64 Decode offers a seamless, user-friendly interface for both […]

Blog Design Pattern

Understanding the Builder Design Pattern in Java | Creational Design Patterns | CodeTechSummit

  • February 9, 2024
  • 0 Comments

Overview The Builder design pattern is a creational pattern used to construct a complex object step by step. It separates the construction of a complex object from its representation so that the same construction process can create different representations. This pattern is particularly useful when an object needs to be created with many possible configurations. […]