aspose file tools*
The moose likes Threads and Synchronization and the fly likes Need advice on multithreading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Need advice on multithreading" Watch "Need advice on multithreading" New topic
Author

Need advice on multithreading

James X Williams
Greenhorn

Joined: Dec 07, 2006
Posts: 11
I am relatively new to Object Oriented Programming and am creating my first decent sized Java application. I have to create an application that users must login to, select which sub-system they want to use, and then select the thing they want to do from a menu. These tasks represent, as I see it, modules that can be developed as separate pieces and then assembled. Here are the modules, again as I see it:
-user login
-select the system the user wants
-menu options (and the rest of the application)
My question is about threads. I know how to make these modules run on different threads. Each module would spawn a new thread for the next module to run on. My question is, is this a good idea or should I just write all of them on the same thread? When is it a good time to spawn a new process off on a separate thread?
Help!!
Thank you very much in advance!!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Need advice on multithreading
 
Similar Threads
multiple modular application implemetation using struts
Spawing operations off to separate threads Vs executing on the EDT
Basic architecture of Web Application using Spring Dynamic Modules and OSGI (Equinox Implementatio)
Closing original window when logging out
web application with multithreaded sockets