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
  • About
  • Contact
  • CRUD Applications
  • JPA
  • REST Services
  • Spring Boot

Spring Data Rest Example with MySQL database [2021]

8 hours ago
by Bushan Sirgur
7 min read
Add Comment

Hey guys in this post, we will discuss how to create spring boot REST API using Spring Data Rest module and we will connect it to the MySQL database. We will create a simple employee management system, and it has the following...

Continue reading

  • Javascript

Arrow function in javascript example

1 day ago
by Bushan Sirgur
2 min read
Add Comment

Hey guys in this post we will learn about the javascript arrow function and some of the examples. What is an arrow function? Javascript arrow function or arrow function expression is a shorter alternative to the regular...

Continue reading

  • Core Java

Most commonly used java string methods

3 days ago
by Bushan Sirgur
5 min read
Add Comment

Hey, guys in this post will discuss the most commonly used java string methods. The string is the most commonly used class while building any java application, this is why the java team has provided several built-in String...

Continue reading

  • Javascript

3 Best ways to remove duplicates from array in Javascript

4 days ago
by Bushan Sirgur
2 min read
Add Comment

Hey guys in post we will discuss the 3 best ways to remove duplicates from array in javascript. so let’s begin By using Set By using Filter By using ForEach Let’s look at the examples one by one By using...

Continue reading

  • Spring Boot

Create spring boot project using Spring initializr

5 days ago
by Bushan Sirgur
2 min read
Add Comment

Hey guys in this post, we will disucss how to create spring boot project using spring initializr. There are different ways to create spring boot project, Spring initializr is just one of the way to create spring boot...

Continue reading

  • Spring Boot

Create spring boot project in Spring tool suite [STS]

5 days ago
by Bushan Sirgur
2 min read
Add Comment

Hey guys in post, we will learn how to create spring boot project in STS. There are many ways to create spring boot project, Spring tool suite (STS) IDE also provide an option to create spring boot project. Let’s see the...

Continue reading

  • REST Services
  • SOAP Services

HTTP Status codes with examples

6 days ago
by Bushan Sirgur
6 min read
Add Comment

Hey guys in this post we will discuss the most commonly used HTTP status codes with completed examples. HTTP response status codes indicate whether a specific HTTP request has been successfully completed. HTTP status codes are 3...

Continue reading

  • Spring Boot
  • Spring MVC

Annotations used in Spring MVC [2021]

1 week ago
by Bushan Sirgur
4 min read
Add Comment

Hey guys today in this post i am going explain about Spring, Spring MVC, Spring REST and Spring Boot annotations. So let’s begin.. What is annotation? Annotations are primarily used by code that is inspecting other code...

Continue reading

  • Javascript

Convert javascript object to an Array

1 week ago
by Bushan Sirgur
2 min read
Add Comment

Hey guys in this article we will discuss how to convert Javascript objects into an array. There are scenarios where we need to convert a javascript object into an array and we can easily achieve that using Object class methods...

Continue reading

  • Core Java

Java 8 Stream API sorted() Example

1 week ago
by Bushan Sirgur
4 min read
Add Comment

Hey guys in this post let’s discuss aboutsorted()introduced in Java 8 java.util.stream.Steam interface. On the streams() we can perform some aggregate operations such as filter(), sorted() and map(). In this post...

Continue reading

1 2 3 … 10 Next

About Author

Bushan Sirgur

Well, I am Bushan Sirgur from Banglore, India. Currently, I am working as a Software Developer in a Service Base Company. I am interested in JAVA/J2EE, Angular 2, JavaScript, jQuery, MongoDB.

View all posts

Popular tutorials

  • >>Javascript tutorial
  • >>Core java tutorial
  • >>Java 8 tutorial
  • >>Spring MVC tutorial
  • >>Hibernate tutorial
  • >>Spring boot tutorial
  • >>Angular 9 + Spring boot tutorial

Support me


Love my tutorials? Please support me by donating:

Join B2Tech



bushan_sirgur

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
“If you truly ❤️love nature🏞, you will fi “If you truly ❤️love nature🏞, you will find beauty everywhere👀”. #mobile_photography #photography #nature_lover
"The sun always shines above the clouds." #mobile_ "The sun always shines above the clouds." #mobile_photography #shotoniphone #iphone_xr #photography
Load More... Follow on Instagram

Recent Posts

  • Spring Data Rest Example with MySQL database [2021] 1 week ago
  • Arrow function in javascript example 1 week ago
  • Most commonly used java string methods 1 week ago
  • 3 Best ways to remove duplicates from array in Javascript 1 week ago
  • Create spring boot project using Spring initializr 1 week ago
  • Create spring boot project in Spring tool suite [STS] 1 week ago
  • HTTP Status codes with examples 1 week ago
  • Annotations used in Spring MVC [2021] 1 week ago
  • Convert javascript object to an Array 1 week ago
  • Java 8 Stream API sorted() Example 1 week ago

Most Viewed Posts

  • Angular 2 and Spring REST Simple CRUD Application (15,740)
  • Login Form in JavaFX with MySQL Database (15,146)
  • A Complete CRUD Application with Spring MVC and MyBatis/iBatis (13,216)
  • Calculate AGE based on Date of birth using jQuery Calendar (10,577)
  • Complete CRUD Application in Spring MVC and Hibernate [XML Configuration] (10,370)

Categories

  • Angular 10 (2)
  • Angular 2 (2)
  • Angular 9 (7)
  • Boostrap 4 (9)
  • Core Java (6)
  • Core Java Programs (23)
  • CRUD Applications (30)
  • CSS (12)
  • Express.js (7)
  • Hibernate (8)
  • High Charts (3)
  • HTML (12)
  • Interview Programs (23)
  • Java Swings (2)
  • JavaFX (2)
  • Javascript (7)
  • Javascript Programs (10)
  • JPA (17)
  • jQuery (7)
  • JSP (16)
  • Mongoose (7)
  • MyBatis/iBatis (2)
  • Nodejs (7)
  • REST Services (25)
  • Servlets (2)
  • SOAP Services (1)
  • Spring Boot (28)
  • Spring MVC (10)
  • 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
  • About
  • Contact
  • Facebook
  • Twitter
  • Google Plus