B2 Tech

Web Dev Snippets

  • Facebook
  • Twitter
  • Google Plus
  • Home
  • Java
    • Core Java
    • Core Java Programs
    • Java Swings
    • JavaFX
  • Web Technologies
    • Angular 10
    • Angular 2
    • Angular 9
    • Boostrap 4
    • CSS
    • Express.js
    • High Charts
    • HTML
    • Javascript
    • Javascript Programs
    • jQuery
    • Mongoose
    • Nodejs
    • Typescript
  • Advance Java/J2EE
    • JSF
    • JSP
    • Servlets
    • Thymeleaf
    • Spring MVC
    • Spring JDBC
    • Spring Boot
    • JPA
    • Hibernate
    • Struts
    • MyBatis/iBatis
  • Interview Programs
  • Web Services
    • REST Services
    • SOAP Services
  • Spring Boot
    • Spring Boot [100+ Tutorials]
    • Spring Security
    • Spring Annotations
    • Spring Data JPA
    • GraphQL and Spring Boot
  • About
  • Contact
  • Udemy Courses
    • React and Spring Boot
    • Angular and Spring Boot
  • Cloud
    • AWS
  • Javascript

Javascript with Google Firebase

January 12, 2020
by Bushan Sirgur
1 min read
Add Comment

Related posts: Connect Google Firebase with Modern Javascript Background color change – Javascript Beginner [01] Convert javascript object to an Array Building Recepie App using HTML + CSS + Javascript + jQuery +...

Continue reading

  • CRUD Applications
  • JSP
  • MyBatis/iBatis
  • Spring MVC

Spring MVC and MyBatis/iBatis Database Application

January 12, 2020
by Bushan Sirgur
1 min read
Add Comment

Related posts: A Complete CRUD Application with Spring MVC and MyBatis/iBatis Spring Boot Masterclass – Setup the MySQL database 02 Creating MVC Database Web Application in JSP and Servlets – [Create, Read, Update...

Continue reading

  • CRUD Applications
  • JSP
  • Servlets

JSP and Servlets for Beginners

January 12, 2020
by Bushan Sirgur
1 min read
4 Comments

Related posts: Creating MVC Database Web Application in JSP and Servlets – [Create, Read, Update, Delete] Building Restful CRUD API with Node.js, Express, Mongoose and MongoDB Building REST API with Node.js, Express and...

Continue reading

  • CRUD Applications
  • REST Services
  • Spring Boot

Spring Boot and MongoDB REST API CRUD Tutorial

January 11, 2020
by Bushan Sirgur
8 min read
Add Comment

In this tutorial, we will learn creating a REST API using Spring Boot and MongoDB. We will perform the basic database operations like Create, Read, Update and Delete. So we will create a backend application using Spring boot and...

Continue reading

  • Core Java Programs
  • Interview Programs

Interview program – Matrix

January 6, 2020
by Bushan Sirgur
1 min read
Add Comment

Print squares of diagonal elements in O(n) time complexity Input: 1 2 3 4 5 6 7 8 9 Output: 1 25 81 9 25 49 public class SquareOfDiagonal { static void printDiagonalSquare(int[][] mat) { int n = mat.length; int...

Continue reading

  • Core Java Programs
  • Interview Programs

Interview Program – Array

January 5, 2020
by Bushan Sirgur
2 min read
Add Comment

Find the length of unsorted subarray such that sorting this subarray can sort all the array. Print the start and end index. public class Solution { public static void unsortedArrayIndex(int ar[]) { int i = 0; int...

Continue reading

  • Core Java Programs
  • Interview Programs

Interview Question – Stack

January 4, 2020
by Bushan Sirgur
1 min read
Add Comment

Given a stack containing n elements reverse the stack with the help of an empty stack. import java.util.Stack; public class StackReversal { public static void reverseStack(Stack<Integer> stack) { if...

Continue reading

  • CRUD Applications
  • Javascript

Connect Google Firebase with Modern Javascript

January 4, 2020
by Bushan Sirgur
8 min read
Add Comment

In this tutorial, we will be building step by step Javascript Application that connects to Google Firebase and performs the basic CRUD Operations all from scratch. In our previous tutorial, we created the Javascript Recepie...

Continue reading

  • Hibernate

Hibernate @ElementCollection and @CollectionTable Annotation

December 27, 2019
by Bushan Sirgur
8 min read
1 Comment

In this post, we will learn about map a collection of basic type using Hibernate @ElementCollection and @CollectionTable annotation. Learn about developing CRUD application using Spring MVC and Hibernate   Imagine the...

Continue reading

  • High Charts
  • JPA
  • JSP
  • Spring Boot

Line chart with Multiple series using Highcharts and Spring boot

November 8, 2019
by Bushan Sirgur
4 min read
Add Comment

Hello everyone, welcome back to my blog. This is the part-2 of the Highcharts and Spring boot series, where we will implement different charts using Highcharts library. If you missed the part-1 then you can check here. In...

Continue reading

  • CRUD Applications
  • Hibernate
  • Spring MVC

Spring MVC and Hibernate Web Application One-to-One Mapping Database Example [XML Configuration]

September 13, 2019
by Bushan Sirgur
24 min read
2 Comments

In this article, you will learn how to Create Spring MVC and Hibernate Web application with One-to-One mapping. And also you will learn how to integrate Spring MVC and Hibernate with XML Configuration. We will be creating a...

Continue reading

  • High Charts
  • JPA
  • JSP
  • Spring Boot

Line Chart Using Highcharts Javascript Library

August 24, 2019
by Bushan Sirgur
6 min read
Add Comment

Hello guys, Bushan here welcomes back to B2 Tech. Today in this article will discuss Charts. To draw charts so many libraries, API’s are available but we will be discussing Highcharts in this post and our upcoming...

Continue reading

  • Boostrap 4
  • CSS
  • HTML
  • Javascript
  • jQuery

Building Recepie App using HTML + CSS + Javascript + jQuery + Bootstrap 4

May 1, 2019
by Bushan Sirgur
8 min read
1 Comment

Hello guys, Bushan here welcomes back to B2 Tech. Today in this post, we will be creating a Recipe App using HTML, CSS, Javascript, jQuery, and Bootstrap. The fully working application is already deployed to the live web server...

Continue reading

  • CRUD Applications
  • JSP
  • Servlets
  • Spring MVC

Creating MVC Database Web Application in JSP and Servlets – [Create, Read, Update, Delete]

March 10, 2019
by Bushan Sirgur
10 min read
17 Comments

Hello guys, Bushan here, welcome to B2 Tech. In this article, we will be Creating fully fledged MVC database web application using JSP and Servlets, we are going to perform basic database operations Create, Read, Update and...

Continue reading

  • CRUD Applications
  • Hibernate
  • REST Services
  • Spring Boot

Creating REST API using Spring Boot + Hibernate + MySQL

January 6, 2019
by Bushan Sirgur
8 min read
Add Comment

Hey guys, Bushan here, Welcome back to B2 Tech. Today in this article we are going discuss how we can create REST API using Spring boot, hibernate and MySQL. We are going to create End-to-End REST API which is connected to...

Continue reading

  • Spring MVC

Configure Logger using SLF4J in Spring MVC

October 28, 2018
by Bushan Sirgur
7 min read
Add Comment

Hello guys, Bushan here, Welcome back to B2 Tech. Today in this post, I will show you how to configure/implement Logger using SLF4J in Spring MVC/Java Application. So let’s begin, Tools and Technologies used, JDK...

Continue reading

  • Boostrap 4
  • CSS
  • HTML
  • jQuery

jQuery validation Example

October 19, 2018
by Bushan Sirgur
6 min read
Add Comment

Hello guys, Bushan here, Welcome back to B2 Tech. If we are creating any kind of web application and having a form in the web application is very very common. In such applications, validating a form fields plays a major role, we...

Continue reading

  • Hibernate
  • JSP
  • Spring MVC

Global Exceptional Handling in Spring and Hibernate using @ControllerAdvice and @ExceptionHandler

October 2, 2018
by Bushan Sirgur
17 min read
Add Comment

Hello guys, Bushan here, welcome back to B2 Tech. If you’are creating any kind of application handling exceptions is the most important part because it allows us to run the application smoothly without crashing...

Continue reading

  • CRUD Applications
  • Hibernate
  • JSP
  • Spring Boot

Complete CRUD Application with Spring Boot, Hibernate and MySQL

September 30, 2018
by Bushan Sirgur
15 min read
7 Comments

Hello guys, Bushan here, Welcome back to B2 Tech. Today in this article, you will learn how to build a complete CRUD application with Spring Boot, Hibernate, and MySQL. It is not a simple hello world application, it’s a...

Continue reading

  • Core Java Programs
  • Interview Programs

Program to find the number of occurrences in a given String

August 15, 2018
by Bushan Sirgur
1 min read
Add Comment

Problem Statement: Given 2 String source and target, find the number of occurrences that the String target is present in String source and return the count. Test Cases: public static void main(String[] args)...

Continue reading

  • Core Java Programs
  • Interview Programs

Sort the characters Ascending/Descending in a given String

August 15, 2018
by Bushan Sirgur
1 min read
Add Comment

Problem Statement: Given a String, Sort the characters in Ascending/Descending from a given String and return the String Test Cases public class SortCharactersInWord { public static void main(String[] args)...

Continue reading

  • Core Java Programs
  • Interview Programs

Java 60+ Patterns Programs – Stars/Alphabets/Numbers

August 1, 2018
by Bushan Sirgur
19 min read
7 Comments

Following are the Patterns asked in many job interviews for both Freshers as well as Experience. Same logic will apply to all the programming languages. Write a Program to Print the following Pattern import...

Continue reading

  • Core Java Programs
  • Interview Programs

Sort the array elements in Ascending/Descending order using Bubble Sort

July 27, 2018
by Bushan Sirgur
2 min read
Add Comment

Hi guys, Bushan here, welcome back to B2 Tech. Today in this article we will discussing  about one of the most important sorting technique and also an important Java interview program of all time. Given an integer array, sort...

Continue reading

  • Core Java Programs
  • Interview Programs

Move all zeros to last/end in the array

July 22, 2018
by Bushan Sirgur
2 min read
Add Comment

Hey guys, Bushan here, welcome back to B2 Tech. Today in this article I will show you how to solve another Interview program using Java/C/C++ and Python. So without wasting anymore time let’s begin. Problem Statement:...

Continue reading

  • jQuery
  • REST Services

Update data[PUT] using Java Web Service and jQuery Ajax

July 17, 2018
by Bushan Sirgur
4 min read
3 Comments

Hi guys, Bushan here, Welcome back to B2 Tech! Today in this article I will show you how to make PUT request using Java web service and jQuery Ajax, so let’s get started. In our previous blog post, we have discussed the...

Continue reading

  • Core Java Programs
  • Interview Programs

Given String is Palindrome or not ?

July 10, 2018
by Bushan Sirgur
2 min read
Add Comment

One of the most popular interview question for both freshers as well as experience is this, Pass a string as a parameter. Check whether the given String is Palindrome or not if it is Palindrome then return true otherwise return...

Continue reading

  • Core Java Programs
  • Interview Programs

Reverse a given String

July 7, 2018
by Bushan Sirgur
4 min read
Add Comment

One of the most popular interview question for both freshers as well as experience is this, Pass a string as a parameter. Reverse the string and return it. All the alphabets in the strings should be individually reversed and then...

Continue reading

  • CSS
  • HTML
  • jQuery

Calculate AGE based on Date of birth using jQuery Calendar

July 7, 2018
by Bushan Sirgur
3 min read
7 Comments

Hi guys, Bushan here, welcome back to B2 Tech! Today in this video, I will show you how to calculate Age based on Date of birth using jQuery Calendar so let’s get started! If you are creating any kind of registration form...

Continue reading

  • jQuery
  • REST Services

Delete data [DELETE] using Java Web Service and jQuery Ajax

June 30, 2018
by Bushan Sirgur
4 min read
Add Comment

Hey guys, Bushan here, welcome back to B2 Tech! Today in this article I will show you how to make DELETE request/Delete data using Spring REST and jQuery Ajax, so let’s get started. I have already created the required...

Continue reading

  • jQuery
  • REST Services

Save data [POST] using Java Web Services and jQuery Ajax

June 23, 2018
by Bushan Sirgur
5 min read
2 Comments

Hi guys, Bushan here, welcome back to B2 Tech! Today in this article I will teach you how to make POST request using jQuery Ajax, so let’s get started! To make POST request, I have already created a Java web service, I will...

Continue reading

Previous 1 … 10 11 12 13 Next

Build Production Ready REST API in Spring Boot and JPA

Become Full Stack Developer

 

Become Pro in JSP and Servlets

Support me


Love my tutorials? Please support me by donating:

About Author

Hi! My name is Bushan and I am a Software developer from India. I have total 4+ year(s) of experience in Java technologies. I am the founder/author/editor of this website. You can also watch my videos on my youtube channel. DM me for any clarifications/doubts, I am happy to assist you. Follow me on Twitter and Instagram for the latest tech news/articles.

Spring Security Tutorials

>> Add Spring Security to Spring application
>> Customize username and password in Spring security
>> Customize URI mapping with Spring security
>> Customize Spring security to permit all requests
>> Customize Spring security to deny all requests
>> Spring security configure users using inMemoryAuthentication
>> Spring security configure users using InMemoryUserDetailsManager

Popular Spring Boot Tutorials

  • >> Spring Data JPA + MySQL REST API Tutorial [2021 Edition]
  • >> Spring Data Rest + MySQL REST API Tutorial
  • >> Spring Boot + MongoDB REST API Tutorial [2021 Edition]
  • >> Spring Data JPA + H2 Database REST API Tutorial
  • >> Spring Boot + Hibernate + MySQL Tutorial
  • >> Spring Boot + Hibernate + MySQL  Web application Tutorial
  • >> Spring Boot and MongoDB REST API Tutorial [2019 Edition]

Popular tutorials

  • >>Javascript tutorial
  • >>Core java tutorial
  • >>Java 8 stream tutorial
  • >>Spring MVC tutorial
  • >>Hibernate tutorial
  • >>Spring boot tutorial [100+ Posts]

Spring Annotations

  • >>@PathVariable
  • >>@RequestParam
  • >>@RequestBody
  • >>@ResponseBody
  • >>@RequestMapping
  • >>@Autowire
  • >>@Bean
  • >>@ExceptionHandler
  • >>@ControllerAdvice
  • >>@Valid Annotation
  • >>@PostConstruct
  • >>@ResponseStatus
  • >>@ModelAttribute
  • >>@RequestHeader
  • >>@Controller
  • >>@RestController
  • >> @Value

Angular 9 and Spring Boot Tutorials

  • >> Angular 9 + Spring boot + MySQL [Part 1]
  • >> Angular 9 + Spring boot + MySQL [Part 2]
  • >> Angular 9 + Spring boot + MySQL [Part 3]
  • >> Angular 9 + Spring boot + MySQL [Part 4]
  • >> Angular 9 + Spring boot + MySQL [Part 5]
  • >> Angular 9 + Spring boot + MySQL [Part 6]
  • >> Angular 9 + Spring boot + MySQL [Part 7]

Join B2Tech



Recent Posts

  • JUnit5 assertNull() Example July 25, 2022
  • JUnit 5 assertNotEquals() Example July 24, 2022
  • JUnit 5 assertEquals() Example July 24, 2022
  • JUnit Display Name Best Practices July 11, 2022
  • Write First JUnit Test July 5, 2022
  • Overview of Testing in Java with JUnit July 4, 2022
  • MySQL Docker Image Example May 25, 2022
  • Dockerize Hello World Java Program May 21, 2022
  • Write a Program to find the second largest number in array in Java April 1, 2022
  • JPQL query using Containing condition March 17, 2022

Most Viewed Posts

  • A Complete CRUD Application with Spring MVC and MyBatis/iBatis (29,269)
  • Login Form in JavaFX with MySQL Database (26,941)
  • Spring Data JPA findBy Multiple Columns with Example (26,669)
  • Spring Data JPA findBy Column Name with Example (24,682)
  • Angular 2 and Spring REST Simple CRUD Application (23,830)

Categories

  • Angular 10 (2)
  • Angular 2 (2)
  • Angular 9 (7)
  • AWS (1)
  • Boostrap 4 (25)
  • Core Java (45)
  • Core Java Programs (41)
  • CRUD Applications (34)
  • CSS (28)
  • Design Patterns (2)
  • DevOps (1)
  • Docker (2)
  • Express.js (8)
  • Golang (6)
  • GraphQL (5)
  • Hibernate (26)
  • High Charts (3)
  • HTML (53)
  • Interview Programs (34)
  • Java Swings (4)
  • JavaFX (2)
  • Javascript (35)
  • Javascript Programs (23)
  • JDBCTemplate (6)
  • JPA (85)
  • jQuery (20)
  • JSF (21)
  • JSP (42)
  • JUnit 5 (6)
  • Mongoose (7)
  • MyBatis/iBatis (2)
  • Nodejs (8)
  • React.js (12)
  • REST Services (100)
  • Servlets (4)
  • SOAP Services (1)
  • Spring Boot (152)
  • Spring MVC (130)
  • Spring Security (17)
  • Testing (2)
  • Thymeleaf (10)
  • Tools (1)
  • Uncategorized (5)
  • Utilities (1)
Copyright © 2022. Created by Bushan Sirgur. Powered by B2 Tech.
  • Facebook
  • Linkedin
  • Instagram
  • Youtube
  • Github
  • Home
  • Java
    • Core Java
    • Core Java Programs
    • Java Swings
    • JavaFX
  • Web Technologies
    • Angular 10
    • Angular 2
    • Angular 9
    • Boostrap 4
    • CSS
    • Express.js
    • High Charts
    • HTML
    • Javascript
    • Javascript Programs
    • jQuery
    • Mongoose
    • Nodejs
    • Typescript
  • Advance Java/J2EE
    • JSF
    • JSP
    • Servlets
    • Thymeleaf
    • Spring MVC
    • Spring JDBC
    • Spring Boot
    • JPA
    • Hibernate
    • Struts
    • MyBatis/iBatis
  • Interview Programs
  • Web Services
    • REST Services
    • SOAP Services
  • Spring Boot
    • Spring Boot [100+ Tutorials]
    • Spring Security
    • Spring Annotations
    • Spring Data JPA
    • GraphQL and Spring Boot
  • About
  • Contact
  • Udemy Courses
    • React and Spring Boot
    • Angular and Spring Boot
  • Cloud
    • AWS
  • Facebook
  • Twitter
  • Google Plus