writing windows service in java

How i can write essay  of solve my long division problem