File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Real time example of Thread

 
Gopi Arumugam
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please tell me about real time use of Thread. Even you can give General Example. No need to go for program.
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, A.GOPI ARUMUGAVALLI, Welcome to JavaRanch. This is a forum for questions about JavaRanch. For questions about Threads, we have a forum named "Threads and Synchronization".

I will move this question to that forum for you.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You've probably run into threads many times. When you do File/Print in Microsoft Word, the little printer image at the bottom shows it's working its way through the pages, but you can keep typing.

In Java Swing programs we often move anything that will take a while onto its own thread and let the user continue to work with the Swing thread.

Web servers often have a thread per request, so they can handle lots of users at once.

Any of those make sense?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic