Solved

What is synchronous and asynchronous communication between objects

Posted on 2001-08-28
3
323 Views
Last Modified: 2012-05-04
What is synchronous and asynchronous communication between objects?? what would you use it for???
How do you apply it?

HELP!
0
Comment
Question by:hirschhouse
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
JonFish85 earned 55 total points
Comment Utility
lets say you have something like this:

MyDatabase.GetAllRecords()
MsgBox "Done!"

with synchronous communication, the messagebox would show after the MyDatabase.GetAllRecords() has completed. Asynchonous would show the messagebox directly after the line of code above it is read, as the GetAllRecords() is executing...

You would use it (asynchronous execution) say if you have a huge database (5m records maybe?) and didnt want the user to think the computer had hung...

Hope this helps! Correct me if Im wrong experts!
0
 

Expert Comment

by:shastry_yedavalli
Comment Utility
You can find more on this topic @ my website. Go to the ADO Connection Object article under the ASP section of my website http://www.shastrynet.com/

0
 
LVL 6

Expert Comment

by:JonFish85
Comment Utility
glad I could help! Thanks for the points and especially for the "A" grade!
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now