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
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

Curious about the future of data-driven systems? Join our Data Engineering roundtable and learn how to build scalable data platforms.

Data Engineering: The industry has come a long way from organizing unstructured data to adopting today's modern data pipelines. See how.

Threat Detection: Learn core practices for managing security risks and vulnerabilities in your organization — don't regret those threats!

Managing API integrations: Assess your use case and needs — plus learn patterns for the design, build, and maintenance of your integrations.

Avatar

Dan Newton

Staff Software Engineer at r3

Reading, GB

Joined Jan 2017

https://lankydan.dev

Stats

Reputation: 2436
Pageviews: 4.0M
Articles: 47
Comments: 14
  • Articles
  • Comments

Articles

article thumbnail
Configuring Logback With Spring Boot
This deep dive of using Logback with Spring Boot includes how to use property files to alter the default Spring Boot settings and how to create custom configurations.
Updated August 12, 2022
· 460,507 Views · 27 Likes
article thumbnail
Ktor - A Kotlin Web Framework
Know more about Ktor, a Kotlin Web Framework.
July 29, 2022
· 5,497 Views · 3 Likes
article thumbnail
Reading and Writing With a ConcurrentHashMap
Get up to speed with concurrent writes with ConcurrentHashMap.
July 10, 2022
· 5,554 Views · 3 Likes
article thumbnail
Getting Started With RSocket Kotlin
Set up an RSocket client and server with some help from Kotlin and Ktor.
June 25, 2022
· 7,032 Views · 1 Like
article thumbnail
Using GraphQL Java With Spring
This blog post will cover how to use GraphQL Java within a Spring application that exposes an endpoint for clients to send queries to.
January 10, 2022
· 4,969 Views · 6 Likes
article thumbnail
Building a REST API With Quarkus
Focusing on fast start-up times and low memory usage making it more suitable to run within container orchestration platforms like Kubernetes.
Updated October 8, 2020
· 12,579 Views · 9 Likes
article thumbnail
Mapping a Path Query in Spring Data Neo4j
Since Spring Data does not support automatically mapping queries that contain paths, take a look at how to do this manually.
July 28, 2020
· 7,236 Views · 2 Likes
article thumbnail
Java-Friendly Kotlin: Default Arguments
Kotlin functions and constructors can define default arguments, allowing calls to them to skip any argument that has a default value.
July 13, 2020
· 11,418 Views · 1 Like
article thumbnail
Transaction Savepoints in Spring JDBC
This post will look at how you can use savepoints within Spring JDBC.
June 19, 2020
· 15,628 Views · 1 Like
article thumbnail
Waiting for Coroutines in Kotlin
In this article, we discuss how to wait for Coroutines in Kotlin to better understand how to work with asynchronous tasks.
May 12, 2020
· 62,771 Views · 4 Likes
article thumbnail
Cancelling Coroutines in Kotlin
How to cancel a coroutine and how to write a coroutine that can actually be cancelled
May 12, 2020
· 11,053 Views · 1 Like
article thumbnail
Serializable Java Lambdas
Here's an article that should help with a specific error that might occur when trying to serialize a lambda with Kryo.
March 17, 2020
· 8,705 Views · 5 Likes
article thumbnail
Kotlin Tutorial: Implementing Multiple Interfaces Through Delegation
Learn more about implementing multiple interfaces with Kotlin.
November 22, 2019
· 51,557 Views · 6 Likes
article thumbnail
Streaming Live Updates From a Reactive Spring Data Repository
Learn how to stream live updates from a reactive Spring Data repo.
Updated September 5, 2019
· 24,891 Views · 2 Likes
article thumbnail
Spring Data R2DBC for Microsoft SQL Server
Learn more about Spring Data R2DBC integration with the Microsoft SQL Server.
May 28, 2019
· 14,805 Views · 5 Likes
article thumbnail
Running a Java Class as a Subprocess
Learn more about how to run a Java class as a subprocess in this quick demonstration.
May 21, 2019
· 45,126 Views · 19 Likes
article thumbnail
Removing Elements From a Map in Java
Want to learn more about removing elements from a Map?
Updated March 6, 2019
· 103,255 Views · 6 Likes
article thumbnail
Asynchronous RDBMS Access With Spring Data R2DBC
In this post, we will focus on the database and on connecting to the database and then saving and retrieving data.
February 19, 2019
· 24,642 Views · 6 Likes
article thumbnail
Testing Exceptions in Kotlin With assertFailsWith
Testing exceptions in Kotlin just got a lot easier.
February 5, 2019
· 28,704 Views · 2 Likes
article thumbnail
Creating a REST API in Rust Using Rocket and Diesel
In this post, we will be looking creating a REST API in Rust. To do this we will use Rocket to set up the API and Diesel to deal with the database.
September 14, 2018
· 36,896 Views · 5 Likes
article thumbnail
Containerizing a Spring Data Cassandra Application
Look at containerizing a Spring Data Cassandra Application. More specifically, how to put a Spring application that connects to a Cassandra database into containers.
September 13, 2018
· 7,987 Views · 1 Like
article thumbnail
Creating Multiple RouterFunctions in Spring WebFlux
Spring WebFlux makes it incredibly easy to define router functions across different domains. This guide will walk you through the process and the philosophy behind it.
March 23, 2018
· 33,185 Views · 6 Likes
article thumbnail
Doing Stuff With Spring WebFlux
Interested in Spring WebFlux's reactive capabilities but aren't sure where to get started? Here's a deep dive into routes, handlers, and requests.
March 18, 2018
· 89,731 Views · 17 Likes
article thumbnail
Rust for Java Devs: Structs
As we continue our journey exploring the similarities between Rust and Java, see how to create and use structs in Rust and how they compare with Java objects.
March 5, 2018
· 9,360 Views · 4 Likes
article thumbnail
Running on Time With Spring’s Scheduled Tasks
This lesson in scheduled tasks takes a look at your options in Spring for either fixed rate scheduling or setting up cron expressions to help you out.
February 6, 2018
· 354,702 Views · 14 Likes
article thumbnail
Reactive Streams With Spring Data Cassandra
Using Cassandra and also want to incorporate Reactive Streams into your program? Here's how you can do it with Spring Data Cassandra.
Updated December 14, 2017
· 26,587 Views · 10 Likes
article thumbnail
Separate Keyspaces With Spring Data Cassandra
Learn about the code needed to allow multiple keyspaces and reasons why you might want to switch from using a single one to using multiple.
October 24, 2017
· 11,296 Views · 3 Likes
article thumbnail
Getting Started With Spring Data Cassandra
Brush up on some of the simple configuration to get up and running with Spring Data Cassandra so that you can get started with it nice and quickly.
October 16, 2017
· 38,760 Views · 5 Likes
article thumbnail
Applying HATEOAS to a REST API with Spring Boot
Take a look at how to implement HATEOAS on top of your Spring Boot-based REST API while being aware of the challenges involved.
September 18, 2017
· 76,661 Views · 13 Likes
article thumbnail
Global Exception Handling With @ControllerAdvice
Centralize your error handling logic in spring by using the @ControllerAdvice annotation. Reduce duplicate code and keep your code clean!
September 13, 2017
· 268,654 Views · 15 Likes

Comments

Kotlin Tutorial: Implementing Multiple Interfaces Through Delegation

Nov 23, 2019 · Dan Newton

My personal use for delegated inheritance is changing the behaviour of an interface from an external library. E.g. `EntityManager` from hibernate, you don't need to worry about the real implementation of the interface. You just retrieve it and change a few functions that are important to you. Everything else on the original interface works as it did before.

Using JMS in Spring Boot

Oct 04, 2018 · Sarah Davis

It's just an example. Plus it could still be a valid situation if you just want to queue events to be processed at some point.

Running on Time With Spring’s Scheduled Tasks

Sep 21, 2018 · Mike Gates

Hey,

Yes, you are right. Someone actually pointed this out to me before on my own blog but I never got round to fixing it here.

Spring does not include year and also does not include some of the special characters.

The corrected post can be found here, https://lankydanblog.com/2018/02/04/running-on-time-with-springs-scheduled-tasks/ .

Dan

Applying HATEOAS to a REST API with Spring Boot

Aug 22, 2018 · Duncan Brown

Haha good catch, that is just a typo. I remember changing the IDs around to follow my examples but obviously I didn't change those.


Thanks

Dan

Using JMS in Spring Boot

Jun 24, 2017 · Sarah Davis

I didn't go into how to store it in a database I just thought it was worth mentioning. I'll have a look at it sometime and maybe write another post on it.

The message retrying in this post is handled by the queue and the database is not needed for that.

A Little Lazy Lambda Tutorial

May 05, 2017 · Mike Gates

That's seems even worse than what I accidentally wrote. I feel your pain!

Learning Big O Notation With O(n) Complexity

May 03, 2017 · Grzegorz Ziemoński

Oops your right!

Learning Big O Notation With O(n) Complexity

May 03, 2017 · Grzegorz Ziemoński

Thanks for the nice comments :)

A Little Lazy Lambda Tutorial

May 02, 2017 · Mike Gates

Yeah was wondering when someone would point that out... Didn't realise I made that mistake till my friend mentioned it to me the other day :(

Learning Big O Notation With O(n) Complexity

Apr 28, 2017 · Grzegorz Ziemoński

thanks! :)

Learning Big O Notation With O(n) Complexity

Apr 26, 2017 · Grzegorz Ziemoński

Oh ok thanks, I was never very good at binary trees in university, Ill make sure to have another look at them sometime :)

Simple Spring Boot: Post

Apr 11, 2017 · Duncan Brown

Maybe i could of done that, although i honestly didn't spend long thinking about the service and repository classes as i just wanted the focus on the post and rest controller.

Simple Spring Boot: Post

Apr 07, 2017 · Duncan Brown

I didn't know that, I'll use it from now on.

An Overview of Method References

Jan 27, 2017 · Dan Newton

That is definitely a stupid mistake :(

User has been successfully modified

Failed to modify user

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • 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: