Create a Java app that communicates through the Internet with an Arduino board that is connected to the network via an Ethernet shield.