Posted in January 2009

Consume REST webservices in java using rapa

I have been reading about REST webservices for quite a while now. But rails still seems to have the best support for consuming REST webservices (ActiveResource). It is magical the way active resource works. Even if the magical and dynamic behavior may not be completely possible in java, it would be helpful if we have … Continue reading »

Access GMail with imap using java mail api

I had to search through quite a few web pages for this. So I am putting it here for future reference. My concience pricks for putting all the code in main method. But I guess this is an exception. import java.util.Properties; import javax.mail.Folder; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.NoSuchProviderException; import javax.mail.Session; import javax.mail.Store; public class … Continue reading »