File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Threads and Synchronization and the fly likes Need understanding on Hierarchical(Multilevel) Multithreading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Need understanding on Hierarchical(Multilevel) Multithreading" Watch "Need understanding on Hierarchical(Multilevel) Multithreading" New topic

Need understanding on Hierarchical(Multilevel) Multithreading

agilemanoj kumar
Ranch Hand

Joined: Mar 07, 2008
Posts: 70
Hi All,

I have a scenario where I have to call multiple objects concurrently, and each object will call multiple other class's objects internally. After the execution of all child objects, it should return result back to parent object and finally, parent objects will return result back to Main thread. It is basically two level multi threading. I do not know which all things I should consider while implementing this scenario. Please help me out to solve this scenario. It would be better if anybody explain this scenario with a code example.

I have attached a picture which gives a clear understanding of the scenario.

[Thumbnail for HMT_1.jpg]

Manoj Kumar
I agree. Here's the link:
subject: Need understanding on Hierarchical(Multilevel) Multithreading
Similar Threads
multiple objects vs single object in session
multiple classification
Multiple inheritance in java
Which JPanel is the button on
Dynamic datatable in jsf