Open in app

Sign In

Write

Sign In

Suraj Mishra
Suraj Mishra

385 Followers

Home

About

Published in Javarevisited

·Pinned

How to do Asynchronous Programming With Java

Using CompletableFuture to implement an asynchronous use case — Originally Published in https://asyncq.com/ Introduction When we write code generally we end up writing synchronized code most of the time. But in many situations, it makes sense not to block the execution and execute the code asynchronously. In this article, we will consider one use case where writing asynchronous code makes…

Java

2 min read

How to do Asynchronous Programming With Java
How to do Asynchronous Programming With Java
Java

2 min read


Published in Javarevisited

·Pinned

How to Implement Function Composability In Java

Functional Composability with Lambdas in Java — Originally Published in https://asyncq.com/ Introduction Composition is one of the attractive features that can be built using Lambdas in Java. Often time we need to compose different functions in order to build higher-level functions. In this article, we will deep dive to understand function composability and how we can achieve it…

Java

3 min read

How to Implement Function Composability In Java
How to Implement Function Composability In Java
Java

3 min read


Pinned

20+ Java Exercises For Practice ( Updated Frequently )

Best Java Exercises to Improve Java Skills — Introduction This Page consists of a list of Java exercises that will help to increase java knowledge. The target audience is from Beginners to Intermediate Level. I will keep adding and updating this list moving forward. If you have any recommendations don’t hesitate to write them down in the comment section. …

Java Practice Excercise

4 min read

20+ Java Exercises For Practice ( Updated Frequently )
20+ Java Exercises For Practice ( Updated Frequently )
Java Practice Excercise

4 min read


Published in Javarevisited

·1 day ago

How to Make Unique ID Generator Microservice Using Spring Boot

Using UUID to generate a unique ID — Originally Published in https://asyncq.com/ Introduction In this article, we will learn how we can use Spring boot and Java UUID class to generate a unique Identifier. Keep in mind that this is a very basic implementation that just touches upon some concepts and builds on top of that. In future articles…

Java

5 min read

How to Make Unique ID Generator Microservice Using Spring Boot
How to Make Unique ID Generator Microservice Using Spring Boot
Java

5 min read


Published in Level Up Coding

·3 days ago

How to Implement Idempotent API (Part 1)

Discussing idempotency concept and implementation design — Originally Published in https://asyncq.com/ Introduction As we are moving towards more microservice base architecture and interacting with different services and having a dependency on them is a very common design. Since now we have more loosely coupled microservices that spans across different region, we have network partition to take care of…

Idempotent

5 min read

How to Implement Idempotent API (Part 1)
How to Implement Idempotent API (Part 1)
Idempotent

5 min read


Published in Javarevisited

·4 days ago

How to Insert Bulk Data into MySQL Using Java

Using PrepapredStatement to Insert Batch data — Originally Published in asyncq.com Introduction As a developer, we interact with databases in various capacities. Often our action comprises select, insert, and update operations. When data size grows we often find bottlenecks in our application code and work on improving performance. In this article, we will discuss how to insert data…

Java

3 min read

How to Insert Bulk Data into MySQL Java
How to Insert Bulk Data into MySQL Java
Java

3 min read


Published in Javarevisited

·4 days ago

Java Interview Practice Problem (Beginner): Bag of Fruits

Solving with Imperative and functional styles both — Problem Statement We have been given a bag of fruits. We need to find all the fruits that are more than the given threshold. For example, the list of the below fruits contains 3 types of fruits and each with a different occurrence, apple →6, grapes →2, kiwi →5, so the answer…

Java Interview Questions

4 min read

Java Interview Practice Problem (Beginner): Bag of Fruits
Java Interview Practice Problem (Beginner): Bag of Fruits
Java Interview Questions

4 min read


6 days ago

What is Ruby's method with a bang (!)

Understanding Rub’s bang/exclamation mark — Originally Published in https://asyncq.com/ Introduction I have been doing Java development for 6+ years of my software developer career. But recently I started learning Ruby and Ruby on Rails. As a Java developer, there are lots of similarities and surprises when I jump on the ruby boat, one of them seeing…

Ruby

3 min read

What is Ruby's method with a bang (!)
What is Ruby's method with a bang (!)
Ruby

3 min read


Jan 23

How to Read SFTP files in Ruby

Using net-sftp gem to read remote files in ruby — Originally Published in https://asyncq.com/ Introduction SFTP is very common way to transfer the file from one server to another. Often as a client we recieve SFTP server endpoint to pull the file to our system from other system. In this article we will use ruby client to read the remote file…

Net Sftp

3 min read

How to Read SFTP files in Ruby
How to Read SFTP files in Ruby
Net Sftp

3 min read


Published in Javarevisited

·Jan 20

Next Greater Element I — Leetcode 496 (Java Solution)

Java Solution for Leetcode 496 — Introduction In this article, we will solve Leetcode 496 using Java. We will solve it using a stack data structure. Problem Statement The next greater element of some element x in an array is the first greater element that is to the right of x in the same array. You are given two…

Leetcode Easy

4 min read

Next Greater Element I — Leetcode 496 (Java Solution)
Next Greater Element I — Leetcode 496 (Java Solution)
Leetcode Easy

4 min read

Suraj Mishra

Suraj Mishra

385 Followers

Staff Software Engineer@PayPal | Become Medium member : https://i-sammy.medium.com/membership

Following
  • javinpaul

    javinpaul

  • Anupam Chugh

    Anupam Chugh

  • Maximiliano Contieri

    Maximiliano Contieri

  • Pinterest Engineering

    Pinterest Engineering

  • AirbnbEng

    AirbnbEng

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech