aspose file tools*
The moose likes Other Java Products and Servers and the fly likes connecting to gmail, hotmail, yahoo etc. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "connecting to gmail, hotmail, yahoo etc." Watch "connecting to gmail, hotmail, yahoo etc." New topic
Author

connecting to gmail, hotmail, yahoo etc.

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 742
Hello,

I have assignment to login by providing yahoo, gmail, hotmail etc. credentials like facebook or other social media network sites and to import their contacts.

Can you please let me know the logic or idea as to how this could be achieved in java servlet?

Thanks in anticipation
Pete Nelson
Ranch Hand

Joined: Aug 30, 2010
Posts: 147

I would recommend writing adapter classes, based on a common Interface, to login to the various social network & e-mail sites.

http://en.wikipedia.org/wiki/Adapter_pattern


OCPJP
In preparing for battle I have always found that plans are useless, but planning is indispensable. -- Dwight D. Eisenhower
Rahul Bhawsar
Greenhorn

Joined: Jan 26, 2011
Posts: 1
and you can use OAuth to connect to various sites. Please see the below link for detail
http://oauth.net/code/
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

check Scribe it's an implementation for OAuth


Thanks,
Sherif
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: connecting to gmail, hotmail, yahoo etc.