• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Need advice on multithreading

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic