+ Start a Discussion
RockzzRockzz 

according @future annotation...

@future annotation is find methods  and its excute asynchronously.. What synchronous and asynchronous Explain with Example?

 

Thanks,

Munna

Sridhar BonagiriSridhar Bonagiri

Hi,

 

Please go through the below URL for more details.

 

http://wiki.developerforce.com/page/Governors_in_Apex_Code#Synchronous_vs_Asynchronous_Apex

 

Regards,

Sridhar Bonagiri

AshishyadavAshishyadav
I ll try to explain in very easy way .. suppose you are calling someone and person has picked up the call and you both are talking to each other .so its a real time action you are performing or question you are asking is been answered immediately by other person its like conversation .. that is synchronous .

Suppose you are writing a mail and mail has been sent. You will not get the reply back immediately or in fraction of seconds it can take 1 min to several hours to days. a time lag between message sent and received . that's Asynchronous .

I hope it helps you