This is a simple demo of how to handle Read/Write splitting in Java code