Browsing Category
Tutorials
400 posts
Browse along with our range of free programming tutorials, how-to guides and code snippets
Most Commonly Used Annotations in Spring Boot
Spring Boot annotations are a form of metadata that provides data about a program that is not a part of the program itself. Following are some of the most used annotations in spring boot.
Understanding Spring Boot Project Structure
In this section we will discuss the project structure and various components of a Spring Boot project.
Getting Started With Spring Boot
This tutorial covers the introduction to the Spring Boot framework, the benefits and the Spring Boot starter project.
How to Change Spring Boot Default Port?
Spring Boot lets you run the same application more than once on a different port number. The default port used in Spring Boot is 8080.
How to Consume REST API in Spring Boot Using RestTemplate?
RestTemplate is a synchronous HTTP client and is designed to consume REST API calls from Spring boot application.
How to Execute Code on Spring Boot Application Startup?
Spring boot offers multiple options, for executing your code during the application startup. This post covers some of the best practices recommended by the Spring developers.
How to Configure Swagger2 in Spring Boot Application?
This tutorial explains how to configure Swagger2 and enable SwaggerUI in Spring Boot application.
How Do I Clone a Specific Git Branch?
The git clone is a command-line utility which is used to make a local copy of a remote repository. It accesses the repository through a remote URL.
Git Diff – Inspecting and Comparing Changes in Git
The git diff command helps you see, compare, and understand changes in your project before you can push your code to the server
How to Delete all Local Branches in Git?
Code snippet to delete all other local branches except master, develop or release/* in your local machine.
Proliferation Caused by Java Unified GC Logging
As most of you knew, GC logging is not standardized. GC log format varies by JVM vendor (Oracle,…
How to Add JSONP Support for Spring REST API?
In this example, we will learn how to add JSONP support to your Spring REST API. JSONP is a technique used to overcome the cross-domain restrictions imposed by browsers.
How to Enable GZIP Compression in Spring Boot?
HTTP compression is a capability that can be built into web servers and web clients to improve transfer…
Git Commands Cheat Sheet
A list of some commonly used Git commands to get you going with Git. 1. Configuring Git To…
Integrate Apache Tiles3 to Spring Boot Web MVC Application
Spring Boot Web MVC configured to produce an executable WAR and ready for fully fledged web application development. In this tutorial, we will see how to use Apache Tiles3 framework in your Spring Boot Web MVC application.
Using H2 In-Memory Database in Spring Boot
In the course of this tutorial, we will see how to use the H2 in-memory database to perform the CRUD (create, read, update and delete) operation in Spring Boot.
How to Encode and Decode URL in PHP
This post explains how to encode and decode URLs using PHP. PHP supports the encoding and decoding of URLs by providing some built-in functions.
Default Methods for Interfaces in Java8
This example-driven tutorial outlines the usage of default methods for an interface in Java8. The Java Tutorials have been written for JDK 8.
Create and Manage Git Branches from Command Line
List of useful git commands to help you create and manage git branches from your terminal. Be Smart!! Never go away from your terminal.
Java Method Chaining with Example
The term method chaining refers to both a design and a convention. Each method returns an object, allowing…