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

Hubert Klein Ikkink

Groovy/Java Developer at JDriven @mrhaki

Tilburg, NL

Joined Nov 2004

https://www.mrhaki.com/

About

Hi all, my name is Hubert A. Klein Ikkink. Not a very common name, right? To make things easier I just picked the first letters of my firstname and surname and came up with haki. So there you have it, now I am also known as Mr. Haki or mrhaki for short. You can read more blog postings at www.mrhaki.com. I am a passionate Groovy and Java developer based in Tilburg, The Netherlands. My goal is to write clean, elegant, user-centered and high quality software. You can find me on Google+ and Twitter.

Stats

Reputation: 3427
Pageviews: 2.8M
Articles: 92
Comments: 12
  • Articles
  • Comments

Articles

article thumbnail
Gradle Goodness: Enabling Preview Features For Java
Check out how to enable and play with preview Java features in Gradle.
March 5, 2021
· 8,778 Views · 2 Likes
article thumbnail
Gradle Goodness: Replace Files In Archives
In this article, take a look at an example of a task to replace a README file in an archive sample.zip using Groovy and Kotlin DSL.
October 22, 2020
· 5,503 Views · 1 Like
article thumbnail
Groovy Goodness: Transform Elements While Flattening [Snippet]
Learn more about elements in this Groovy snippet.
January 14, 2020
· 7,558 Views · 3 Likes
article thumbnail
How to Transform Elements In a Stream Using a Collector
Learn more about how to transform elements in a Stream using Java Collectors.
September 13, 2019
· 26,225 Views · 3 Likes
article thumbnail
Java Joy: Combining Predicates
Learn the joy of combining Predicates in Java.
September 12, 2019
· 17,592 Views · 8 Likes
article thumbnail
Gradle Goodness: Use Bill of Materials (BOM) as Dependency Constraints
BOM dependency versions are actually dependency constraints in Gradle.
May 8, 2019
· 40,534 Views · 5 Likes
article thumbnail
Micronaut Mastery: Change the Default Package for Generated Classes
In this post, we go over the terminal commands and YAML you'll need to know. Read on to achieve mastery!
May 6, 2019
· 4,757 Views · 2 Likes
article thumbnail
Micronaut Mastery: Binding Request Parameters to POJO
We take a quick look at how Java developers can work with POJOs in their microservices via the Micronaut framework.
May 3, 2019
· 15,962 Views · 3 Likes
article thumbnail
Gradle Goodness: Manage Dependency Versions With Dependency Constraints
Improve dependency management in Gradle with constraints.
April 29, 2019
· 13,549 Views · 3 Likes
article thumbnail
Gradle Goodness: Only Show All Tasks in a Group [Snippet]
Only want to see those tasks belonging to a specific group in your Gradle project?
Updated February 5, 2019
· 17,926 Views · 1 Like
article thumbnail
Gradle Goodness: Generate Javadoc in HTML 5
With Java 9, we can now generate Javadocs in HTML 5! Let's take a look at how to do this using Gradle.
Updated November 15, 2018
· 12,420 Views · 1 Like
article thumbnail
Micronaut Mastery: Configuration Property Name Is Lowercase and Hyphen Separated
Micronaut is picky about referring to configuration properties — learn how to do it right.
Updated October 5, 2018
· 7,882 Views · 3 Likes
article thumbnail
Micronaut Mastery: Running Code on Startup
Learn the steps to run microservice code on startup with Micronaut.
October 4, 2018
· 15,149 Views · 3 Likes
article thumbnail
Micronaut Mastery: Consuming Server-Sent Events (SSE)
Let's take a look at how to consume SSEs from the server itself in microservices with Micronaut.
October 3, 2018
· 6,334 Views · 6 Likes
article thumbnail
Micronaut Mastery: Using Specific Configuration Properties for HTTP Client
Learn how to use Micronaut and Java to inject a low-level HTTP client in your microservices application.
September 4, 2018
· 13,326 Views · 7 Likes
article thumbnail
Micronaut Mastery: Using Stubs for Testing
Micronaut is a framework for easily writing microservices. Let's discover how to use it to write stubs for testing in this tutorial.
August 29, 2018
· 7,973 Views · 3 Likes
article thumbnail
Micronaut Mastery: Return Responses Based on the HTTP Accept Header
Take a look at how to get your Micronaut-based microservice to format its response based on a request's Accept header.
August 24, 2018
· 16,468 Views · 3 Likes
article thumbnail
Micronaut Mastery: Add Custom Health Indicators
Let's see how we can set up custom app health metrics for our microservices applications in Micronaut quickly and easily.
August 23, 2018
· 7,806 Views · 2 Likes
article thumbnail
Micronaut Mastery: Add Build Info to an Info Endpoint
Let's look at how to add build info to a Micronaut info endpoint to get information about what's currently deployed for monitoring purposes.
August 21, 2018
· 5,561 Views · 5 Likes
article thumbnail
Micronaut Mastery: Decode JSON Using Custom Constructor Without Jackson Annotations
Let's take a look at how to decode JSON in Micronaut without the need for Jackson annotations.
August 20, 2018
· 10,392 Views · 3 Likes
article thumbnail
Micronaut Mastery: Using Reactor Mono and Flux
Let's take a look at how to use Project Reactor as the implementation for the Reactive Streams API in Micronaut.
August 17, 2018
· 11,909 Views · 3 Likes
article thumbnail
Groovy Goodness: Creating an Extra Method Supporting Named Arguments
Groovy 2.5.0 introduces the @NamedVariant annotation to help with named arguments. Come find out exactly how to use it.
July 4, 2018
· 20,148 Views · 2 Likes
article thumbnail
Groovy Goodness: Truncate And Round BigDecimal Values
In Groovy 2.5.0, the round and truncate methods are added to the BigDecimal class. Here is how to use them!
June 21, 2018
· 11,363 Views · 2 Likes
article thumbnail
Groovy Goodness: Implement Interface and Abstract Methods Automatically
Let's take a look one of Groovy 2.5.0's numerous AST transformation annotations: @AutoImplement. Let's see its uses and how to implement it.
June 20, 2018
· 10,756 Views · 3 Likes
article thumbnail
Groovy Goodness: Removing the Last Item From Lists [Snippet]
Ready to get Groovy? This code snippet looks at Groovy 2.5.0 and its different List and pop methods. Enjoy!
June 18, 2018
· 11,486 Views · 2 Likes
article thumbnail
Groovy Goodness: Intersect Collections With Custom Comparator [Snippet]
Let's take a look at how to implement your own custom Comparator with the intersect method in Groovy.
June 15, 2018
· 8,000 Views · 5 Likes
article thumbnail
Groovy Goodness: Easy Object Creation With Tap Method
Want to learn more about object creation in Groovy? Here's how to create an object in Groovy with the tap method.
June 14, 2018
· 12,092 Views · 2 Likes
article thumbnail
Groovy Goodness: Use Range by Method to Set Steps between Numbers
Let's take a look at how to use Groovy's ''by'' method when it comes to number ranges and setting the step size used.
June 11, 2018
· 10,020 Views · 3 Likes
article thumbnail
Groovy Goodness: Using String Values in Ranges [Snippet]
Want to see how to use String values in your ranges? Here's a quick lesson to set up inclusive and exclusive ranges in Groovy.
June 8, 2018
· 8,356 Views · 1 Like
article thumbnail
Groovy Goodness: Download Grab Dependencies in IntelliJ IDEA
The @Grab annotation is a useful one in Groovy, but did you know that you can make it even more helpful from within IntelliJ? Read on for the details.
November 6, 2017
· 5,458 Views · 2 Likes

Comments

Gradle Goodness: Running a Single Test

May 07, 2019 · James Sugrue

This post is from 6 years ago and Gradle 1.6 was the latest at that time.

Groovy Goodness: Easy Object Creation With Tap Method

Jun 14, 2018 · Duncan Brown

Hi, I think you replied to the wrong article :) I cannot see a resemblance between your code and my samples. If you mention the source of the code you are free to copy the examples.

Groovy Goodness: Creating a Root JSON Array

Mar 28, 2017 · Grzegorz Ziemoński

Hi Alexis, yes you're right. The assertion should be json2.

Grails Goodness: Creating A Fully Executable JAR

Jun 27, 2016 · Dave Fecak

This happens because the uploadArchives task depends on the jar task by default. But then the bootRepackage task is not executed, that actually overwrites the jar file with the full executable jar file.

If you add to your build.gradle file that the task uploadArchives depends on the assemble task the bootRepackage task is invoked before uploadArchives:

uploadArchives.dependsOn(assemble)


Grails Goodness: Creating A Fully Executable JAR

Jun 24, 2016 · Dave Fecak

If you want to run your application as a service on Linux. You don't need anything else, just the executable JAR. It has all the commands to stop/start/restart, check the status.

James Gosling on Open Sourcing Sun's Java Platform Implementations

Dec 19, 2008 · Lebon Bon Lebon

Hi, I was looking for a way to run Groovy 1.5.7 scripts in NetBeans. I hadn't tried the code completion yet, but you are right the code completion doesn't pick up the 1.5.7 methods. I haven't found a way to achieve this yet, but I keep looking.
James Gosling on Open Sourcing Sun's Java Platform Implementations

Dec 19, 2008 · Lebon Bon Lebon

Hi, I was looking for a way to run Groovy 1.5.7 scripts in NetBeans. I hadn't tried the code completion yet, but you are right the code completion doesn't pick up the 1.5.7 methods. I haven't found a way to achieve this yet, but I keep looking.
James Gosling on Open Sourcing Sun's Java Platform Implementations

Dec 19, 2008 · Lebon Bon Lebon

Hi, I was looking for a way to run Groovy 1.5.7 scripts in NetBeans. I hadn't tried the code completion yet, but you are right the code completion doesn't pick up the 1.5.7 methods. I haven't found a way to achieve this yet, but I keep looking.
James Gosling on Open Sourcing Sun's Java Platform Implementations

Dec 18, 2008 · Lebon Bon Lebon

Hi, did you remove the "old" Groovy 1.5.5 library from the Libraries section? If not NetBeans loads the old library first so you cannot use the Date.format method. If you want I can take a look at your NetBeans project to see if I can find the problem. Just send me a message via my profile page (http://netbeans.dzone.com/users/mrhaki).

James Gosling on Open Sourcing Sun's Java Platform Implementations

Dec 18, 2008 · Lebon Bon Lebon

Hi, did you remove the "old" Groovy 1.5.5 library from the Libraries section? If not NetBeans loads the old library first so you cannot use the Date.format method. If you want I can take a look at your NetBeans project to see if I can find the problem. Just send me a message via my profile page (http://netbeans.dzone.com/users/mrhaki).

James Gosling on Open Sourcing Sun's Java Platform Implementations

Dec 18, 2008 · Lebon Bon Lebon

Hi, did you remove the "old" Groovy 1.5.5 library from the Libraries section? If not NetBeans loads the old library first so you cannot use the Date.format method. If you want I can take a look at your NetBeans project to see if I can find the problem. Just send me a message via my profile page (http://netbeans.dzone.com/users/mrhaki).

James Gosling on Open Sourcing Sun's Java Platform Implementations

Dec 18, 2008 · Lebon Bon Lebon

Hi, did you remove the "old" Groovy 1.5.5 library from the Libraries section? If not NetBeans loads the old library first so you cannot use the Date.format method. If you want I can take a look at your NetBeans project to see if I can find the problem. Just send me a message via my profile page (http://netbeans.dzone.com/users/mrhaki).

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: