Build Your Own Messaging Application in Java with jYMSG
From the article:
jYMSG is released under the GNU General Public License. It is a SourceForge.net project that has gained a significant following due to the ease of use of its API. However, it is not endorsed or supported by Yahoo! Inc. It abstracts the more complex underlying interaction with Yahoo’s publicly released API.