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
  • Full Stack Applications
    • CRUD Applications
  • Advance Java/J2EE
    • JSP
    • Servlets
    • JSF
    • Thymeleaf
    • Spring MVC
    • Spring Boot
    • Spring Security
    • JPA
    • Hibernate
    • Struts
    • MyBatis/iBatis
  • Interview Programs
  • Web Services
    • REST Services
    • SOAP Services
  • Testing
  • About
  • Contact
  • CSS
  • HTML
  • Javascript

Background color change – Javascript Beginner [01]

7 months ago
by Bushan Sirgur
3 min read
Add Comment

Hey guys, welcome to the javascript beginner project series. In this post, we will create a javascript project which changes the background color of the webpage on click of the button. This project is for absolute beginners, we...

Continue reading

  • CRUD Applications
  • Express.js
  • Mongoose
  • Nodejs
  • REST Services

Building REST API with Node.js, Express and MongoDB using Async and Await

7 months ago
by Bushan Sirgur
8 min read
Add Comment

Hey guys, in this post, we will be creating an end to end RESTful CRUD API with Node.js, Express, Mongoose, and MongoDB. Yes, we will use Mongoose for communicating with MongoDB. Express is a light-weight web application...

Continue reading

  • CRUD Applications
  • Express.js
  • Mongoose
  • Nodejs
  • REST Services

Building Restful CRUD API with Node.js, Express, Mongoose and MongoDB

7 months ago
by Bushan Sirgur
8 min read
Add Comment

Hey guys, in this post, we will be creating an end to end RESTful CRUD API with Node.js, Express, Mongoose, and MongoDB. Yes, we will use Mongoose for communicating with MongoDB. Express is a light-weight web application...

Continue reading

  • Core Java

Read the contents of 7z file without Unzip in Java

7 months ago
by Bushan Sirgur
2 min read
Add Comment

Hey guys, in the previous post we discussed about reading the contents of Zip file without unzipping using ZipFile. In this post, we will discuss about reading the contents of .7z file without unzipping it. so let’s...

Continue reading

  • Core Java

Read the contents of Zip file without Unzip in Java

7 months ago
by Bushan Sirgur
2 min read
Add Comment

Hey guys in this post, we will discuss reading the contents of a zip file using ZipFile package in Java. ZipFile is a java.util.zip, it provides some really useful methods and constructor for reading the zip file. let’s...

Continue reading

  • Express.js
  • Mongoose
  • Nodejs
  • REST Services

NodeJS, Express, Mongoose and MongoDB RESTful Web Service – DELETE Request

7 months ago
by Bushan Sirgur
1 min read
Add Comment

Hey guys, in the previous post we discussed about updating the document with HTTP PATCH request. In this post, we will discuss about deleting document with HTTP DELETE request. let’s begin In order to delete the document...

Continue reading

  • Express.js
  • Mongoose
  • Nodejs
  • REST Services

NodeJS, Express, Mongoose and MongoDB RESTful Web Service – PATCH Request

7 months ago
by Bushan Sirgur
2 min read
Add Comment

Hey guys, in our previous post we discussed about retrieving the documents from mongodb using GET request. so in this post we will discuss that updating the document using PATCH request. let’s begin… To update the...

Continue reading

  • Express.js
  • Mongoose
  • Nodejs
  • REST Services

NodeJS, Express, Mongoose and MongoDB RESTful Web Service – POST Request [Part 2]

7 months ago
by Bushan Sirgur
2 min read
Add Comment

Hey guys, welcome back to my blog. In my previous post we discussed about saving the document to mongodb database using save() method. But there are 2 more methods available to for saving the documents which create() and...

Continue reading

  • Express.js
  • Mongoose
  • Nodejs
  • REST Services

NodeJS, Express, Mongoose and MongoDB RESTful Web Service – GET Request

9 months ago
by Bushan Sirgur
3 min read
Add Comment

Hey in this article, we will discuss how to make HTTP GET requests using NodeJS and Express. In the previous post, we discussed the HTTP POST request, where we saved the data to the database. So we will use the same example which...

Continue reading

  • Express.js
  • Mongoose
  • Nodejs
  • REST Services

NodeJS, Express, Mongoose and MongoDB RESTful Web Service – POST Request [Part 1]

9 months ago
by Bushan Sirgur
7 min read
2 Comments

Hey guys, recently I get a chance to explore Nodejs and Express, in my opinion, I think NodeJS and Express is a great option for building restful web services because its easy, fast and you don’t have to learn a new...

Continue reading

  • Angular 9
  • Boostrap 4
  • CSS
  • HTML
  • Spring Boot

Angular 9 and Spring Boot CRUD Tutorial – Feature 6 sort expenses by name and amount

9 months ago
by Bushan Sirgur
3 min read
Add Comment

Hey in the previous post we discussed filtering expenses based on keyword, in this post, we will sort the expenses by expense name and amount. We will sort the expense name in ascending order and amount in descending order. So...

Continue reading

  • Angular 9
  • Boostrap 4
  • CSS
  • HTML
  • Spring Boot

Angular 9 and Spring Boot CRUD Tutorial – Feature 5 filter expenses by keyword

9 months ago
by Bushan Sirgur
3 min read
Add Comment

Hey in the previous post, we discussed deleting an expense, in this post let’s look at how to filter the expenses by keyword, meaning the user will enter the characters inside the textbox and we will filter the expenses...

Continue reading

  • Angular 9
  • Boostrap 4
  • CRUD Applications
  • CSS
  • HTML
  • JPA
  • REST Services
  • Spring Boot

Angular 9 and Spring Boot CRUD Tutorial – Feature 4 Delete expense details

9 months ago
by Bushan Sirgur
7 min read
Add Comment

Hey everyone, in the previous post we discussed updating the expense details, and in this post, we will discuss deleting an expense. we can delete expense from two different places, one is in the list expense page, where each...

Continue reading

  • Angular 9
  • Boostrap 4
  • CRUD Applications
  • CSS
  • HTML
  • JPA
  • REST Services
  • Spring Boot

Angular 9 and Spring Boot CRUD Tutorial – Feature 3 Update expense details

9 months ago
by Bushan Sirgur
6 min read
Add Comment

Hey in the previous post we covered saving the expense details to the database, in this post we will cover updating the expense details. We will continue with the same example which we created in the previous post. Let’s...

Continue reading

  • Angular 9
  • Boostrap 4
  • CRUD Applications
  • CSS
  • HTML
  • JPA
  • REST Services
  • Spring Boot

Angular 9 and Spring Boot CRUD Tutorial – Feature 2 Save the expense to database

9 months ago
by Bushan Sirgur
5 min read
2 Comments

Hey in this post, we will continue with the application which we created in our previous post. In this post, we will cover saving the expense record to the database. let’s begin… We will cover the following topics...

Continue reading

  • Angular 9
  • Boostrap 4
  • CRUD Applications
  • CSS
  • HTML
  • JPA
  • REST Services
  • Spring Boot

Angular 9 and Spring Boot CRUD Tutorial – Feature 1 Display list of records in browser

9 months ago
by Bushan Sirgur
10 min read
Add Comment

Hey in this post we will quickly create spring boot and angular 9 application and create rest endpoint to retrieve the list of records. We will also make HTTP GET requests from the angular application to the rest endpoint which...

Continue reading

  • Angular 9
  • Boostrap 4
  • CRUD Applications
  • CSS
  • HTML
  • JPA
  • REST Services
  • Spring Boot

Angular 9 and Spring Boot CRUD Tutorial – Introduction and Setup

9 months ago
by Bushan Sirgur
3 min read
1 Comment

Hey in this post, we will develop a full-stack web application using Angular 9 and Spring boot. We will connect this application to the MySQL database and perform the basic database operations like Create, Read, Update, and...

Continue reading

  • CRUD Applications
  • JPA
  • JSP
  • Spring Boot

Spring Boot Masterclass – Display the list of expense in JSP 08

10 months ago
by Bushan Sirgur
2 min read
Add Comment

Hello, in this post we will display the list of expenses in the JSP view template. Let’s begin. First, we need to add the dependency for the JSTL tag library in...

Continue reading

  • CRUD Applications
  • JPA
  • JSP
  • Spring Boot

Spring Boot Masterclass – Call service method and print data in console 07

10 months ago
by Bushan Sirgur
1 min read
Add Comment

Hello, in this post we will call the expense service method to get the list of expenses and print it in the console. let’s begin. Inside the MasterController modify the handler method...

Continue reading

  • CRUD Applications
  • JPA
  • JSP
  • Spring Boot

Spring Boot Masterclass – Create service and repository for Expense 06

10 months ago
by Bushan Sirgur
1 min read
4 Comments

Hello, in this post we will create Service and Repository for Expense. Let’s begin. First, create an ExpenseRepository under src/main/java/in/bushansirgur/expenseyoutube/repository...

Continue reading

  • CRUD Applications
  • JPA
  • JSP
  • Spring Boot

Spring Boot Masterclass – Create an entity class for Expense 05

10 months ago
by Bushan Sirgur
1 min read
Add Comment

Hello, in this post we will create an entity class for Expense. let’s begin. Create a class Expense under src/main/java/in/bushansirgur/expenseyoutube/model package We will use Lombok annotations @Setter, @Getter to...

Continue reading

  • CRUD Applications
  • JPA
  • JSP
  • Spring Boot

Spring Boot Masterclass – Configure the JSP view template 03

10 months ago
by Bushan Sirgur
2 min read
4 Comments

In this post, we will configure the JSP view template in the Spring boot application. let’s begin. First, we need to add a dependency in pom.xml in order to use the JSP as a view template in Spring boot...

Continue reading

  • CRUD Applications
  • JPA
  • JSP
  • Spring Boot

Spring Boot Masterclass – Setup the MySQL database 02

10 months ago
by Bushan Sirgur
1 min read
2 Comments

Hello in this post, we will set up the MySQL database and we configure the data source in the spring boot project. let’s begin. Create a MySQL database, CREATE DATABASE ecom; Execute the query to create the expense...

Continue reading

  • CRUD Applications
  • JPA
  • JSP
  • Spring Boot

Spring Boot Masterclass – Create Spring Boot Project using Spring Initializer 01

10 months ago
by Bushan Sirgur
3 min read
Add Comment

Hi in this post, we will create a Spring boot project using spring initializer Add the following dependencies to the pom.xml pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns=""...

Continue reading

  • Core Java Programs
  • Interview Programs

Interview Program – Matrix

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

Print matrix in Z form. Input: mat[][] = {1, 2, 3, 4, 5, 6, 7, 8, 9} Output: 1 2 3 5 7 8 9 public class PrintTheMatrixOrder { public static void printTheMatrix(int mat[][]) { for (int i = 0; i < mat.length; i++)...

Continue reading

  • Core Java Programs
  • Interview Programs

Interview Program

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

Print all jumping numbers smaller than or equal to x. Input: x = 105 Output: 0 1 2 3 4 5 6 7 8 9 10 12 21 23 32 34 43 45 54 56 65 67 76 78 87 89 98 101 Note: A number is called as a jumping number if all adjacent digits in it...

Continue reading

  • Core Java Programs
  • Interview Programs

Interview Program – Matrix

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

Find if there is a rectangle in binary matrix with corners as 1. Input: mat[][] = {{1, 0, 0, 1, 0}, {0, 0, 1, 0, 1}, {0, 0, 0, 1, 0}, {1, 0, 1, 0, 1}} Output: YES Note: as there exists –             1 0 1        ...

Continue reading

  • JavaFX

JavaFX and MySQL Video Course

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

Related posts: Login Form in JavaFX with MySQL Database Spring Boot, Hibernate and MySQL Web Application Video Course Spring Boot, Hibernate and MySQL REST API Video Course Angular 9 and Spring Boot CRUD Tutorial –...

Continue reading

  • Angular 2
  • REST Services
  • Spring MVC

Spring MVC and Angular 2 Video Course

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

Related posts: Spring Boot, Hibernate and MySQL REST API Video Course Spring Boot and JPA Video Course Angular 2 and Spring REST Simple CRUD Application Spring Boot, Hibernate and MySQL Web Application Video Course JavaFX and...

Continue reading

  • CRUD Applications
  • Hibernate
  • REST Services
  • Spring Boot

Spring Boot, Hibernate and MySQL REST API Video Course

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

Related posts: Creating REST API using Spring Boot + Hibernate + MySQL Spring Boot and MongoDB REST API CRUD Tutorial Spring Boot, Hibernate and MySQL Web Application Video Course Complete CRUD Application with Spring Boot...

Continue reading

Previous 1 2 3 4 5 6 Next

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.

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

Spring Annotations

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

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]

Support me


Love my tutorials? Please support me by donating:

Join B2Tech



bushan_sirgur

Hey guys! Happy weekend. I hope you guys enjoying Hey guys! Happy weekend. I hope you guys enjoying too 😊
Java singleton design pattern explained #java #de Java singleton design pattern explained

#java #designpattern #singleton #programming
JavaScript interview program👨‍💻 for beginn JavaScript interview program👨‍💻 for beginner.

Find the sum of all the digits in a given number.

We learnt in mathematics that, if we divide any number with 10 the remainder will be the last digit of the given number.

We will follow the same approach-

1. Start dividing the given number by 10 till it becomes 0
2. Start adding the remainder to the sum
3. Return the sum

That’s it hope you liked it. Leave your thoughts in the comment section.

Follow me @bushan_sirgur for more such content.
Interview program 👨‍💻 for beginner. Count Interview program 👨‍💻 for beginner.

Count the number of vowels in a given string.

1. Create a string that contains vowels
2. Loop 🔁 over the give string
3. Find the each character in the vowels using includes()
4. If it present then increment the count
5. Then return the count

Hope you like this post. Let me know in the comment section down below👇🏻

Follow me @bushan_sirgur for more such coding snippets.

Hashtags -
#interview #coding #codingbootcamp #programming #programmers #javascript #webdevelopment #interviewproblems #interviews
Watching movie 🍿 #LAW with family. Thanks to @p Watching movie 🍿 #LAW with family.
Thanks to @puneethrajkumar.official sir for releasing in @primevideoin @prajwaldevaraj @iamraginiprajwal
Late night edits 👨‍💻 #indianyoutuber Late night edits 👨‍💻 #indianyoutuber
#shotoniphone #snapseed #shotoniphone #snapseed
Editing mode 👨‍💻 #indian_youtuber #youtube Editing mode 👨‍💻 #indian_youtuber #youtuber #videocourse
Youtuber’s life 👨‍💻 #indian_youtuber #co Youtuber’s life 👨‍💻 #indian_youtuber #contentcreator
A pic from my recent trek 🥳 #trek #traveling # A pic from my recent trek 🥳

#trek #traveling #hillclimbing #gbl #skandagiri
“I'm a dreamer. I have to dream and reach for th “I'm a dreamer. I have to dream and reach for the stars ✨, and if I miss a star ⭐️ then I grab a handful of clouds ⛅️.”
#shotoniphone #mobilephotography #naturelover #iphone_xr
“I think there is no place in the world 🌍 whe “I think there is no place in the world 🌍 where I feel closer to the Lord than in one ☝️ of His holy temples.”😊 #shotoniphone #iphone_photography #mobile_photography #photography
“When the sun🌞 has set, no candle🕯can repl “When the sun🌞 has set, no candle🕯can replace it.” #mobilephotography #shotoniphone #iphone_xr #photography #naturephotography #sunset #nature
"Wherever you go, no matter what the weather, alwa "Wherever you go, no matter what the weather, always bring your own sunshine🌞." #shotoniphone #iphone_xr #photography #naturephotography #mobilephotography
"Even if I knew that tomorrow the world 🌎 would "Even if I knew that tomorrow the world 🌎 would go to pieces, I would still plant my 🍎  apple tree 🌳 "
#shotoniphone #iphone_xr #tree #naturephotography #mobilephotography #photography
#mobilephotography #shotoniphone #building #iphone #mobilephotography #shotoniphone #building #iphone_xr
#shotoniphone #iphone_xr #nature_lover #mobilephot #shotoniphone #iphone_xr #nature_lover #mobilephotography #photography
“If everyone would look for that uniqueness then “If everyone would look for that uniqueness then we would have a very colorful world.” ~Michael Schenker

#shotoniphone #iphone_xr #nofilter #straightoutofcamera
“It’s not th beauty of a building 🏢 you sho “It’s not th beauty of a building 🏢 you should look 👀 at; its th construction 🏗 of th foundation tht will stand th test of time ⏱” #shotoniphone #iphone_xr #photography #snapseed #snapseededit
“Each night, when I go to sleep, I die. And the “Each night, when I go to sleep, I die. And the next morning, when I wake up, I am reborn.” -Mahatma Gandhi

#shotoniphone #iphone_xr #mobile_photography #snapseed
Load More... Follow on Instagram

Recent Posts

  • Spring Boot Thymeleaf for each with Example April 21, 2021
  • Most commonly used Java Math methods with Examples April 20, 2021
  • Spring Boot Thymeleaf CSS JS with Example April 12, 2021
  • Spring Boot Thymeleaf with Example April 11, 2021
  • Spring Data JPA Sort Multiple Columns with Examples April 9, 2021
  • Spring Data JPA Sort by Date with Example April 8, 2021
  • Spring Data JPA Pagination with Example April 7, 2021
  • Spring Data JPA Query Methods In with Examples April 3, 2021
  • Spring Data JPA Query Methods Like with Example April 2, 2021
  • Spring Data JPA Between Date Example March 29, 2021

Most Viewed Posts

  • Angular 2 and Spring REST Simple CRUD Application (17,337)
  • Login Form in JavaFX with MySQL Database (16,656)
  • A Complete CRUD Application with Spring MVC and MyBatis/iBatis (15,629)
  • Calculate AGE based on Date of birth using jQuery Calendar (12,166)
  • Complete CRUD Application in Spring MVC and Hibernate [XML Configuration] (11,607)

Categories

  • Angular 10 (2)
  • Angular 2 (2)
  • Angular 9 (7)
  • Boostrap 4 (9)
  • Core Java (16)
  • Core Java Programs (33)
  • CRUD Applications (33)
  • CSS (12)
  • Express.js (7)
  • Hibernate (24)
  • High Charts (3)
  • HTML (13)
  • Interview Programs (33)
  • Java Swings (4)
  • JavaFX (2)
  • Javascript (13)
  • Javascript Programs (20)
  • JPA (32)
  • jQuery (7)
  • JSP (16)
  • Mongoose (7)
  • MyBatis/iBatis (2)
  • Nodejs (7)
  • REST Services (47)
  • Servlets (2)
  • SOAP Services (1)
  • Spring Boot (65)
  • Spring MVC (46)
  • Testing (1)
  • Thymeleaf (5)
  • Uncategorized (2)
Copyright © 2021. 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
  • Full Stack Applications
    • CRUD Applications
  • Advance Java/J2EE
    • JSP
    • Servlets
    • JSF
    • Thymeleaf
    • Spring MVC
    • Spring Boot
    • Spring Security
    • JPA
    • Hibernate
    • Struts
    • MyBatis/iBatis
  • Interview Programs
  • Web Services
    • REST Services
    • SOAP Services
  • Testing
  • About
  • Contact
  • Facebook
  • Twitter
  • Google Plus