Basic Java Text Messaging work