Skip to content

Get docs

more and more

GroovyTag ArchiveSubscribe

groovy-string-to-date

Converting a String to a Date in Groovy 1. Overview In this short tutorial, we’ll learn how to convert a String representing a date into a real Date object in Groovy. However, we should keep in mind that this language is an enhancement of Java. Therefore, we can still use… Continue Reading groovy-string-to-date

  • Posted on: 2019-10-08 2019-11-19
  • Author: getdocs
  • Tags: Groovy
  • Leave a comment: groovy-string-to-date

groovy-template-engines

Template Engines in Groovy 1. Overview In this introductory tutorial, we’ll explore the concept of template engines in Groovy. In Groovy, we can use GStrings to generate dynamic text easily. However, the template engines provide a better way of handling dynamic text using static templates. These templates are convenient in… Continue Reading groovy-template-engines

  • Posted on: 2019-10-08 2019-11-19
  • Author: getdocs
  • Tags: Groovy
  • Leave a comment: groovy-template-engines

spring-groovy-beans

Groovy Bean Definitions 1. Overview In this quick article, we’ll focus on how we can use a Groovy-based configuration in our Java Spring projects. 2. Dependencies Before we start, we need to add the dependency to our pom.xml file. We need to also add a plugin for the sake of… Continue Reading spring-groovy-beans

  • Posted on: 2019-10-08 2019-11-19
  • Author: getdocs
  • Tags: Groovy
  • Leave a comment: spring-groovy-beans

groovy-json

Working with JSON in Groovy 1. Introduction In this article, we’re going to describe and see examples of how to work with JSON in a Groovy application. First of all, to get the examples of this article up and running, we need to set up our pom.xml: <build> <plugins> //… Continue Reading groovy-json

  • Posted on: 2019-10-08 2019-11-19
  • Author: getdocs
  • Tags: Groovy
  • Leave a comment: groovy-json

groovy-lists

Lists in Groovy 1. Overview In Groovy, we can work with lists just like we do in Java. But, with its support for extension methods, it ships with quite a bit more. In this tutorial, we’ll look at Groovy’s take on mutating, filtering and sorting lists. 2. Creating Groovy Lists… Continue Reading groovy-lists

  • Posted on: 2019-10-08 2019-11-19
  • Author: getdocs
  • Tags: Groovy
  • Leave a comment: groovy-lists

groovy-xml

Working with XML in Groovy 1. Introduction Groovy provides a substantial number of methods dedicated to traversing and manipulating XML content. In this tutorial, we’ll demonstrate how to add, edit, or delete elements from XML in Groovy using various approaches. We’ll also show how to create an XML structure from… Continue Reading groovy-xml

  • Posted on: 2019-10-08 2019-11-19
  • Author: getdocs
  • Tags: Groovy
  • Leave a comment: groovy-xml

groovy-traits

An Introduction to Traits in Groovy 1. Overview In this tutorial, we’ll explore the concept of traits in Groovy. They were introduced in the Groovy 2.3 release. 2. What are Traits? Traits are reusable components representing a set of methods or behaviors that we can use to extend the functionality… Continue Reading groovy-traits

  • Posted on: 2019-10-08 2019-11-19
  • Author: getdocs
  • Tags: Groovy
  • Leave a comment: groovy-traits

spock-stub-mock-spy

Difference Between Stub, Mock, and Spy in the Spock Framework 1. Overview In this tutorial, we’re going to discuss the differences between Mock, Stub, and Spy in the Spock framework. We’ll illustrate what the framework offers in relation to interaction based testing. Spock is a testing framework for Java and… Continue Reading spock-stub-mock-spy

  • Posted on: 2019-10-08 2019-11-19
  • Author: getdocs
  • Tags: Groovy
  • Leave a comment: spock-stub-mock-spy

groovy-spock

Introduction to Testing with Spock and Groovy 1. Introduction In this article, we’ll take a look at Spock, a Groovy testing framework. Mainly, Spock aims to be a more powerful alternative to the traditional JUnit stack, by leveraging Groovy features. Groovy is a JVM-based language which seamlessly integrates with Java.… Continue Reading groovy-spock

  • Posted on: 2019-10-08 2019-11-19
  • Author: getdocs
  • Tags: Groovy
  • Leave a comment: groovy-spock

jdbc-groovy

JDBC with Groovy 1. Introduction In this article, we’re going to look at how to query relational databases with JDBC, using idiomatic Groovy. JDBC, while relatively low-level, is the foundation of most ORMs and other high-level data access libraries on the JVM. And we can use JDBC directly in Groovy,… Continue Reading jdbc-groovy

  • Posted on: 2019-10-08 2019-11-19
  • Author: getdocs
  • Tags: Groovy, JDBC
  • Leave a comment: jdbc-groovy

Pagination

Previous page Page: 1 Page: 2 Page: 3 Next page

Tags

Algorithms Authentication Core Java Core Kotlin Data DevOps Exception Groovy Guava Hibernate Jackson Java Java 8 Java Array Java Concurrency Java Dates Java EE Java IO Java List Java Map Java Streams Java String JPA JSON JUnit Kotlin Linux Maven Mockito OAuth Pattern Persistence Programming REST Security Spring Spring 5 Spring Annotations Spring Boot Spring Cloud Spring Data Spring MVC Spring Security Testing Weekly Review

Recent Posts

  • linux-split-files
  • linux-chown-chmod-permissions
  • linux-jq-command-json
  • linux-wget-parallel-downloading
  • linux-symbolic-and-hard-links
  • linux-common-text-search
  • linux-stream-redirections
  • linux-curl-wget
  • linux-pipes-redirection
  • linux-find-command

© 2025  Get docs. Proudly powered by WordPress. WordStar, Theme by Linesh Jose