Distributed Transaction Management with REST and Try Confirm/Cancel Pattern

Apr 03, 2019

This article introduces how to manage transactions effectively in distributed REST services with Try Confirm/Cancel (TCC) pattern. It also provides a repository that is a simplified Java implementation for anyone who is interested in learning the TCC... Read more

Spring JMS and JPA XA Transactions with WebLogic

Feb 26, 2019

This article shows the configuration of using XA transactions with the resources managed by WebLogic server.... Read more

Recursively Move a Directory

Jan 09, 2019

This article shows one effective implementation that follows the Visitor Pattern to recursively move a directory using Java NIO library.... Read more

Creating a Library Project for Spring Boot

Jan 07, 2019

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

Wrap A Command with Builder Pattern

Dec 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... Read more

Mapping Multiple Primary Keys in Entity Framework

Nov 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

Nov 20, 2018

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

How to Setup ELK Stack with Docker for Development

Nov 13, 2018

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

Reload Configurations from Spring Cloud Config

Nov 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 ... Read more

WebMethods Implicit and Explicit Transaction Management

Nov 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