File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes asynchronous environment with respect to threads Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "asynchronous environment with respect to threads" Watch "asynchronous environment with respect to threads" New topic
Author

asynchronous environment with respect to threads

Komal Amaresh
Ranch Hand

Joined: Oct 06, 2008
Posts: 67
Sir,

I'am reading multithreading and am unable to understand this point.it says
"java uses threads to enable the environment to be asynchronous".
this is quite contrary to what i basically understood. well the other term for threads is concurrency. any program is asynchronous. where each part of the code oocurs at different times or in a sequence. the only advantage is memory allocation and the context switch to promote efficiency. what is the point they are trying to make by that sentence. can you please explain.

thanks in advance.

regards,
komal

Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18545
    
  40


I think that you may be mixing terminology. I believe, when the term "asynchronous" is used here, it is referring to asynchronous behavior -- such as asynchronous I/O. I don't think it is referring to the opposite of thread synchronization.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Brian Legg
Ranch Hand

Joined: Nov 07, 2008
Posts: 488
Please quote your sources

SCJA
~Currently preparing for SCJP6
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: asynchronous environment with respect to threads
 
Similar Threads
connection timeout error
Stateless Session Bean -> MDB (Thread)
asynchronous java
worker thread
Issue with the thread when calling third party Web service