How to process annotations in Java

Many libraries in Java uses Annotations. Annotations help developers to write less code because they will generate code or help is configuring application with less hassle, they also can be...

Pizza DSL with Kotlin

DSL is not a programming language, it is the term used to describe any application API which is designed in a way such that users can easily use it in...

Generate data using strategy design pattern

There are many libraries which generates data but in this article I am going to develop a simple Java class which will generate test data for us so we can...

Basics of Domain Specific Language (DSL) using Kotlin

Domain Specific Language (DSL) is a simple language targeted to solve a particular kind of problem. DSL is not a programming language, its a way of using existing programming language...

Operator overloading in Kotlin

Kotlin allows us to implement Operator overloading for a predefined set of operators. We can implement them on class members or extension functions. These operators have fixed symbolic representation (like...

Understanding Kotlin Extension Functions

Extension function allows us to extend the functionality of a class. It does not matter if the class is in a external library. We can customize the functionality of class...

Design and Implement REST API's using Spring

REST endpoints are used in integrating applications or in providing services to the clients. In this article I will go through a CRUD based application to design and implement REST...

Generating static pages with J2HTML

This article demonstrates the usage of J2HTML library, I recently developed this small Java class which when executed will run an embedded Jetty server and this server will provide fields,...

Create simple window using JavaFX 11 and Maven

JavaFX modules are no more part of OpenJDK. From version 11 JavaFX modules are separated from Java SDK and it’s a major version released after 8. JavaFX have its own...