This is a space that holds a collection of my personal work and ideas
  • Efficient Text Highlighter
  • Implement the Lightning Algorithm
  • Build a markdown notes taking app
  • Serve Images in Next-gen Formats
  • Package-lock.json Explained

Creating a Library Project for Spring Boot

01/07/2019

This article introduces the key points when creating a library for spring boot project.

Read more

Wrap A Command with Builder Pattern

12/19/2018

This article shows a well-designed way to wrap a command and expose it through API with the classic Builder pattern. In this tutorial, you will learn how to write the Builder pattern, and how to direct standard output stream and standard error stream from the command to the input stream of your API.

Read more

Mapping Multiple Primary Keys in Entity Framework

11/29/2018

This tip shows one simple solution to allow multiple primary keys mapping in entities.

Read more

Override Enum Methods with Constant Specific Class Body

11/20/2018

This article shows one advanced technique when using enums - constant specific class body.

Read more

Reload Configurations from Spring Cloud Config

11/13/2018

Spring Cloud Config Server automatically retrieves specified configurations backed on Git based Repository. To ask the affected Spring Cloud Config clients to use the updated configuration, a signal needs to be sent to the client. This article shows two approaches.

Read more

WebMethods Implicit and Explicit Transaction Management

11/13/2018

It is not documented from any of the WebMethods resources that how to manage transactions implicitly and explicitly. This tip shows the missing piece that will prevent a transaction holding a connection until the transaction owner thread is killed.

Read more

How to Setup ELK Stack with Docker for Development

11/13/2018

This tip shows the fastest way to stand up the ELK stack for development.

Read more

Serialize Timestamp To EpochSecond with Jackson

11/09/2018

Some REST API only takes a long as its Date field, such as esriFieldTypeDate from ArcGIS Server Rest API. But with the rich functionality, the Java 8 time API provides, it would be silly to use long as the type for our object modeling. This tip shows how to solve this problem.

Read more

Pass Parameters to the ExecutiveService Adapter

11/06/2018

This tip shows how to pass pipeline input variables to an ExecutiveService adapter in webMethods.

Read more