File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Real time threading sample Codes

 
Santosh Kumar Nayak
Ranch Hand
Posts: 141
Eclipse IDE IntelliJ IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can some one help me with the real time coding samples for Threads ?

Any useful links
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assume that you mean real world examples, not real-time examples, and I further assume that you're familiar with all the examples in the Java Tutorial (if not, then that's where you should start).

A servlet container like Tomcat would be an example - it handles lots of concurrent threads (assuming that there are requests coming in in parallel, of course :-).
 
Santosh Kumar Nayak
Ranch Hand
Posts: 141
Eclipse IDE IntelliJ IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have already completed with java tutorials.

I am looking for some kind of code repository/sample code for Threads.
 
Stefano Carniel
Greenhorn
Posts: 7
C++ Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why don't you try to make your own sample? think to a real situation and try to realize it with thread. You could start, for example, to make a thread that add elements to a queue and another one that extract them...If you completed Java tutorial, you should be able to do this
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic