How to login to yahoo/msn/icq?

I am using openfire server. and have downloaded the plugin to allow yahoo/msn/icq/aim/etc support.

I have downloaded Spark. and used it to connect my openfire server, and it can login to my yahoo/msn account as well and everything’s fine.

I want to know how to use Smack (or SmackX?) to login to yahoo/msn/icq accounts?

I will be very greatful. I have been looking around for days now…i can’t figure it out…:frowning: