A Starter Project to Practice Kotlin for Java Developers

If you would like to have a look at my previous post in which I shared my study notes for Kotlin:

I had a previously implemented project in Java 16 and I decided to code a Kotlin version of it.

I…

Common Terms in Kubernetes and minikube for Testing with a Containerized App

Short Description of Kubernetes

Kubernetes (also known as k8s or “kube”) is a container orchestration platform that automates processes.

  • Orchestrate & scale containers on the fly
  • Resource management
  • Control & automate deployments & versions
  • Health-check and self-heal with autoplacement, autorestart, autoreplication, and…

Base Classes for Spring Security Implementation

WebSecurityConfigurerAdapter

To enable HTTP Security in Spring, we need to extend the WebSecurityConfigurerAdapter. The “@EnableWebSecurity” annotation and “WebSecurityConfigurerAdapter” work together to provide web based security.

@Configuration
@EnableWebSecurity
public class ApiSecurityConfig extends WebSecurityConfigurerAdapter {
...
}

AuthenticationEntryPoint

By default, the BasicAuthenticationEntryPoint provisioned by Spring Security returns a…

Notes on Servlet, Servlet Container, Filter, Interceptor, HandlerInterceptor

What is a Servlet?

It is a Java class that is used to extend the capabilities of servers that host applications accessed by means of a request-response programming model.

Java Servlet technology defines HTTP-specific servlet classes. The javax.servlet and javax.servlet.http packages provide interfaces and classes for…

How to Connect to Multiple and Different Database Sources in Your Spring Boot Project

I had described how to connect to different Cassandra database keyspaces in my previous post:

My project was implemented with Spring Boot 2.3.5 RELEASE.

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.5.RELEASE</version>
</parent>

These were my other dependencies used for…

Señorita Developer

I would love to change the world, but they won’t give me the source code | coding 👩🏼‍💻 | coffee ☕️ | jazz 🎷 | anime 🐲 | books 📚 | drawing 🎨

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store