Create Handler.java

The standalone Java program