DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Migrate, Modernize and Build Java Web Apps on Azure: This live workshop will cover methods to enhance Java application development workflow.

Modern Digital Website Security: Prepare to face any form of malicious web activity and enable your sites to optimally serve your customers.

Kubernetes in the Enterprise: The latest expert insights on scaling, serverless, Kubernetes-powered AI, cluster security, FinOps, and more.

E-Commerce Development Essentials: Considering starting or working on an e-commerce business? Learn how to create a backend that scales.

Avatar

Biju Kunjummen

[Deactivated] [Suspended]

Lead Software Engineer at Pivotal @bijukunjummen

Beaverton, US

Joined Mar 2014

http://biju-allandsundry.blogspot.com

About

I am a software engineer with a passion for learning. I have been programming primarily with Java, Scala and other JVM based languages for 18+ years now. http://biju-allandsundry.blogspot.com is my blog site where I regularly record my learnings.

Stats

Reputation: 1397
Pageviews: 3.0M
Articles: 66
Comments: 15
  • Articles
  • Comments

Articles

article thumbnail
Project Reactor and Caching With Caffeine
Learn how to get Reactor playing with Caffeine.
March 24, 2021
· 8,611 Views · 2 Likes
article thumbnail
Deriving a Kotlin ''Try'' Type
Time to dive into a Try or two.
March 17, 2021
· 3,446 Views · 2 Likes
article thumbnail
Expressing a Conditional Expression Using JSON: Java Implementation
I had a need to express a conditional in a form that a JavaScript front-end and a Java back-end could both create and read. JSON felt logical.
July 20, 2020
· 13,962 Views · 1 Like
article thumbnail
Spring WebClient and Java Date-Time Fields
Learn more about using Spring's WebClient for Java date and time fields.
January 23, 2020
· 20,476 Views · 6 Likes
article thumbnail
Unit Tests for Spring's WebClient
Learn how to program a unit test using Spring's Web Client.
September 25, 2019
· 60,814 Views · 2 Likes
article thumbnail
Callback Hell and Reactive Patterns
Learn more about a Reactive Streams-based approach and how to avoid Callback Hell.
June 11, 2019
· 23,212 Views · 21 Likes
article thumbnail
Knative Serving — Service-to-Service Call
Let's learn how to use Knative, the Kubernetes-based platform from Google Cloud, to build, deploy, and manage modern serverless workloads.
September 9, 2018
· 6,149 Views · 2 Likes
article thumbnail
Zuul 2 — Sample Filter
Zuul is a gateway that provides an entry point to an ecosystem of microservices. Learn how to write a custom Zuul 2 filter.
June 14, 2018
· 25,751 Views · 5 Likes
article thumbnail
Testcontainers and Spring Boot
Spring Boot and TestContainers: A match made in heaven? Let's see how you can utilize both to help use containers in your unit tests.
May 30, 2018
· 42,330 Views · 11 Likes
article thumbnail
Spring Cloud Gateway - Configuring a Simple Route
Spring Cloud Gateway can help implement the gateway pattern for your API, especially in a microservices environment. Learn how to make use of it by way of an example.
April 18, 2018
· 46,638 Views · 12 Likes
article thumbnail
Kotlin and JUnit 5 @BeforeAll
Enjoying JUnit5's features but wish you could translate them easily to Kotlin? Here's a guide to the @BeforeAll and @AfterAll annotations.
March 30, 2018
· 56,032 Views · 4 Likes
article thumbnail
Spring Boot 2 Applications and OAuth 2 - Legacy Approach
In today's post, we explore a legacy Spring Boot 2/Spring Security 5 approach to enabling an OAuth2-based authentication mechanism for an application.
February 27, 2018
· 24,942 Views · 4 Likes
article thumbnail
Spring Boot 2 Applications and OAuth 2: Setting Up an Authorization Server
A Java-based developer walks us through the process of setting up a working Authorization Server with a sample client and a sample user available.
Updated February 16, 2018
· 38,744 Views · 31 Likes
article thumbnail
Kotlin: Reified Type Parameters
Want to see how Kotlin reifies generic type parameters and what doors that opens up for you? Let's walk through some sample code that uses Jackson.
January 26, 2018
· 16,048 Views · 2 Likes
article thumbnail
Spring-Based Apps: Migrating to JUnit 5
With JUnit 5 newly available, we take a look at how migrating your JUnit 4 tests to JUnit 5 might go as well as a couple of pitfalls to avoid.
January 8, 2018
· 27,094 Views · 4 Likes
article thumbnail
Kotlin: Functional Exception Handling With Try
Check out how you can introduce functional exception handling in Kotlin code with some help from the Try type as well as how to use lambdas for chaining.
December 28, 2017
· 22,378 Views · 10 Likes
article thumbnail
Spring WebFlux: Writing Filters
Spring WebFlux's approach to writing filters is a bit different from how you might be used to it in Spring MVC. Let's explore the differences and see what's changed.
December 26, 2017
· 30,247 Views · 6 Likes
article thumbnail
Using Micrometer With Spring Boot 2
In this quick post, we walk you through how to gather the metrics from your Spring Boot 2 application using this monitoring tool.
November 22, 2017
· 69,403 Views · 15 Likes
article thumbnail
Raw Performance Numbers - Spring Boot 2 Webflux vs. Spring Boot 1
Spring Boot 2 significantly outperforms Spring Boot 1. Check out the results of load testing the two iterations and where Spring Boot 2 really shines.
November 1, 2017
· 44,779 Views · 16 Likes
article thumbnail
Testing Time-Based Reactor Core Streams With Virtual Time
Take a look at Reactor Core's virtual time-based scheduler and the StepVerifier class to see how you can use them for time-based testing.
September 21, 2017
· 11,688 Views · 3 Likes
article thumbnail
Concourse Caching for Java Maven and Gradle Builds
Check out how Concourse CI now allows you to cache paths between task runs, opening the door to much faster Maven and Gradle builds.
August 17, 2017
· 15,585 Views · 4 Likes
article thumbnail
Kotlintest and Property-Based Testing
Kotlintest, a port of scalatest written in Kotlin, comes with the support of property-based testing. See how to take advantage of it on a few helpful examples.
August 1, 2017
· 11,722 Views · 4 Likes
article thumbnail
Spring Boot Web Test Slicing
Curious about Spring Boot's test slicing capabilities? Here's a run-through of how to use slice tests, which reduces boilerplate.
July 5, 2017
· 25,618 Views · 6 Likes
article thumbnail
Integrating Gatling Into a Gradle Build: Understanding SourceSets and Configuration
Gradle sourceSets are logical groupings of related files. Configurations are groupings of related dependencies. Using both, we can create some neat build configurations.
May 8, 2017
· 13,402 Views · 2 Likes
article thumbnail
Spring WebFlux: First Steps
Spring 5 comes with WebFlux — support for reactive programming practices in Spring applications. See how to introduce it into an old annotation-style controller.
March 22, 2017
· 80,668 Views · 14 Likes
article thumbnail
Spring Data Support for Cassandra 3
Using Spring Data with Cassandra 3 extends Spring's power into more NoSQL. This detailed tutorial includes setting up Apache Cassandra and some basic interactions.
February 1, 2017
· 12,589 Views · 4 Likes
article thumbnail
Using Kafka With JUnit
The Spring Kafka project provides a way to use Kafka in tests by providing an embedded version of Kafka that is easily set up and torn down.
January 2, 2017
· 51,296 Views · 3 Likes
article thumbnail
Spring Boot and Application Context Hierarchy
Creating your own application context hierarchy can allow you, should you need to, provide different ports with different endpoints to give you some customization.
December 20, 2016
· 83,422 Views · 11 Likes
article thumbnail
Spring-Reactive Samples: Mono and Single
Join us as we dive into more exploration into Spring's native support for reactive programming.
October 2, 2016
· 18,914 Views · 2 Likes
article thumbnail
Integrating with Rabbit MQ Using Spring Integration Java DSL
Here's how to integrate RabbitMQ messaging using Spring Integration's Java language DSL for connecting complex enterprise systems.
August 25, 2016
· 16,491 Views · 2 Likes

Comments

Callback Hell and Reactive Patterns

Jun 12, 2019 · Lindsay Burk

Yes, mis-statement on my part Simon.

Building Docker Image for a Spring Boot App With Jib

Oct 16, 2018 · Lindsay Burk

Thanks, @bmuschko!! Sorry if I am misrepresenting the Gradle Docker plugin in any way.

Awesome to see that there is a default base image now.

Raw Performance Numbers - Spring Boot 2 Webflux vs. Spring Boot 1

Jun 12, 2018 · Arran Glen

Sorry Vitaly, I am likely misunderstanding you here.

Just to be clear, gatling(https://gatling.io/) is an external tool, it has nothing to do with the Spring Boot 2 - all it does is pump requests to your endpoint and waits for 200 to come back and aggregate this information.

Additionally, the code that you have pointed out is the micrometer configuration (https://github.com/micrometer-metrics/micrometer), that is indeed built into the framework and is internal to the server but that is not the number that I published. micrometer does collaborate the numbers seen via gatling though.

It is absolutely possible that I am missing something, why not try the codebase - start it up and see for yourself if you are seeing a different behavior.

Raw Performance Numbers - Spring Boot 2 Webflux vs. Spring Boot 1

Jun 12, 2018 · Arran Glen

AsyncRestTemplate will make a difference but the objective as stated was to compare blocking semantics in Boot 1 with non-blocking semantics of Boot 2. I deliberately chose a scenario that is tilted towards Boot 2 and I have stated that explicitly too.


I am not sure what you mean by total latency of request, that is exactly what is being measured from the gatling perspective. The 300 ms number is coming from gatlings report, and gatling waits for the entire request to be completed before measuring the time - so no, it is not just for the async response, it is for the end to end response.

Concourse Caching for Java Maven and Gradle Builds

May 29, 2018 · Michael_Gates

Hi Anton, Nice, I like your approach. There is actually a simpler approach that Spring Cloud Pipelines uses - https://github.com/spring-cloud/spring-cloud-pipelines/blob/master/concourse/tasks/generate-settings.sh#L15, this approach may actually be simpler. What it does is it caches gradle and maven folders and then simply links ~/.m2 and ~/.gradle folder to these cached folders, this way there is no other change required.

Raw Performance Numbers - Spring Boot 2 Webflux vs. Spring Boot 1

Apr 05, 2018 · Arran Glen

It was run on my Macbook Pro Brandon. 16G RAM, 8 core(2.8 GHz). I did not run the test on containers.

Using Micrometer With Spring Boot 2

Nov 22, 2017 · Jordan Baker

Yes, it is Thai Dang Vu , that is exactly how the author Jon Schneider also characterises it

Spring Boot and Application Context Hierarchy

Jun 10, 2017 · Tim Spann

Interesting, thanks Juan. I have personally not used hierarchies yet, will explore what you have said.

Spring Boot With Scala

May 22, 2016 · Matthew Casperson

Fair enough, thanks for your insight.

Spring Boot With Scala

May 22, 2016 · Matthew Casperson

:-) Owen, to each his own, I have tried but never could get to LOVE groovy like you do. I like Scala and like Spring and its umbrella of projects and this is simply an attempt to combine the two.

Gentle Introduction to Hystrix – Wrap Up

Nov 24, 2015 · Denzel D.

Hi Mitch, looks like the formatting of code is bad once more, can you please check on what could be going wrong

Gentle Introduction to Hystrix: Hello World

Nov 20, 2015 · Denzel D.

You can have a little more control over when the command is executed using Observable version - if you use .observe() method then you have a hot observable that executes immediately and is similar to the one that you get via HystrixCommand, but on the other hand if you use .toObservable() you get back a cold observable and you can choose not to consume it or ignore the command.

Gentle Introduction to Hystrix: Hello World

Nov 01, 2015 · Denzel D.

Thanks @Nicolas for pointing out the issue in the article republished from my blog site, I was not aware of it until I happened to see your comment today. @RickRoss, I used to get a link to a draft earlier before it was published, anyway to enable such a feature again in Dzone, this way the author can quickly check it and ensure any corrections are propagated back before being published. BTB, one of the "likes" is from me, I did it unfortunately from the listing in the articles page without browsing through the actual content and assumed that it would exactly match what I have in the blog site here .

Spring MVC Endpoint Documentation With Spring Boot

Oct 24, 2014 · James Sugrue

I checked the docs once more - it is per reference here :-) http.mappers.json-pretty-print=true

Spring MVC Endpoint Documentation With Spring Boot

Oct 24, 2014 · James Sugrue

I checked the docs once more - it is per reference here :-) http.mappers.json-pretty-print=true

User has been successfully modified

Failed to modify user

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: