Home » Archives for Yatin » Page 5

Author Archives: Yatin

An experience full-stack engineer well versed with Core Java, Spring/Springboot, MVC, Security, AOP, Frontend (Angular & React), and cloud technologies (such as AWS, GCP, Jenkins, Docker, K8).

Spring Boot RESTful Web Services Versioning Example

Welcome, in this tutorial, we will show a RESTful API by using the Accept Header versioning technique in a Spring Boot app. 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction to Spring Boot and Lombok. 1.1 Spring Boot Spring boot is a module that provides rapid application development feature to ...

Read More »

Python PostgreSQL Tutorial Using Psycopg2

Hello in this tutorial, we will understand how to connect to the postgresql database via python programming. 1. Introduction To connect with postgresql in python programming we have the following modules that are commonly available and known to the developer world as all these modules adhere to the python database api specification: Psycopg2 py-postgresql ocpgdb PyGreSQL pg8000 1.1 Setting up ...

Read More »

Python input() method Tutorial

Hello in this tutorial, we will understand input() method in python programming. 1. Introduction Let us understand the input() and raw_input() method. 1.1 input() method The input() method in python programming reads input from the user, evaluates it (i.e. whether the user has entered a string, number, or a list), and returns it. If the input provided by the user ...

Read More »

Could Not Find or Load Main Class in Java

In this tutorial, we will explain the error: could not find or load main class, the most common runtime exception in Java programming. The error usually occurs if the java command is unable to find or load the class that contains the main() method. 1. Introduction Before digging deep into the solution let us understand a few reasons for this error ...

Read More »

Python String contains() method Tutorial

Hello in this tutorial, we will understand Python String contains() method. 1. Introduction The contains in python is used to check whether a string contains a substring or not. A substring is the sequence of characters within a string. We will explore the below methods to check if a string contains another string or not. The find() method checks if ...

Read More »

Spring Data JPA Auditing Example

Welcome, in this tutorial, we will see how to implement a Spring data JPA auditing application. We will use the AuditorAware interface to capture the auditing information. Database auditing is a mechanism to keep track and logs of events happening on the records present in a database like who did what and when. 1. Introduction Before going further in this ...

Read More »

Spring Boot Composite Key Example

Welcome, in this tutorial, we will see how to implement a composite key in a spring boot application. We will use the @Embeddable and @EmbeddedId annotations. 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction to Spring Boot and Lombok. 1.1 Spring Boot Spring boot is a module that provides rapid ...

Read More »

Spring Boot Method-Level Security

Welcome, in this tutorial, we will see how to implement method-level security in a spring boot application. We will use the @PreAuthorize annotation to handle the method-level security and will also understand the difference between @Secured and @PreAuthorize annotations. 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction to Spring Boot ...

Read More »

Internationalization in Spring Boot

Welcome, in this tutorial, we will see how to implement internationalization in a spring boot application where a single application can support multiple languages like English, French, German, etc. 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction to Spring Boot. 1.1 Spring Boot Spring boot is a module that provides ...

Read More »

Spring Boot Download CSV File Example

Welcome, in this tutorial, we will see how to download a CSV file in a spring boot application. We will use the postman tool to view the CSV data however you are free to enhance by adding a simple HTML page containing a link to download the CSV. 1. Introduction Before going further in this tutorial, we will look at ...

Read More »