Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

connecting to gmail, hotmail, yahoo etc.

 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 147
Debian Eclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Rahul Bhawsar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check Scribe it's an implementation for OAuth
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic