Arduino + Wifly RN-XV + Processing

Which is the best and easiest way to do this connection?Via UDP or TCP/IP??