views:

96

answers:

1

How can I import yahoo, gmail contacts in my application by giving username and password using JSF? I want to do functionality of send invitation from my application.

+1  A: 

You just need to check for any webservice (online) API's of the vendor in question. You can obtain Gmail contacts by the Google Contacts API and Yahoo contacts by the Yahoo Contacts API.

In your JSF backing bean action method, just call the API as per its developer's documentation (Gmail here and Yahoo here). Nothing special JSF-ish needs to be done. A backing bean is after all just Java code.

BalusC
Is there any common libraries(Plugin) are available for importing all email service contacts to java application?
johnbritto
Not as far as I know.
BalusC
Dear Friends,In my application i need to import gmail contacts using google API.I have gone through the google's documentation, But still i can't proceed further.Please help me!
johnbritto
You have to be more specific in describing the **actual** problem which causes that you "cannot proceed". The developer's documentation is pretty clear.
BalusC
Thanks Baulc I successfully red the gmail contacts using gmail contact api.but i didnt find the java code for yahoo contacts in yahoo contact api.pleasem help me
johnbritto