Arduino + Ethernet comunication with java


I'm new in this world of Arduino.

I've started a new personal project that involves an Arduino+Ethernet Shield.
I've already put everything to work and I'm able to send ouput comands to the arduino through the webserver.
My problem are the input that I want to receive continuously. Since the HTML is in the client side, only refreshing the page I can get the input.

So I want to make a java program to comunicate with the arduino ethernet through TCP/IP to send and receive commands.

I've searched everywhere but can't find the way...

Can someone, please help me?

Thank you in advance,

Adriano Pedro