To update data in Salesforce using external application, update () method is used.
update ()
Update
one or more existing records in your organization’s data. Use this call
to update one or more existing records, such as accounts or contacts,
in your organization’s data. The update () call is analogous to the
UPDATE statement in SQL.
one or more existing records in your organization’s data. Use this call
to update one or more existing records, such as accounts or contacts,
in your organization’s data. The update () call is analogous to the
UPDATE statement in SQL.
Syntax
SaveResult[] = connection.update(sObject[] sObjects);
where connection is an object of EnterpriseConnection.
Sample JAVA Program to update data in Salesforce
http://infallibletechie.blogspot.in/2012/11/updating-data-into-salesforce-using.html
Cheers!!!