Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: classes design for Multithreading situation

  1. #1
    Junior Member
    Join Date
    Oct 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default classes design for Multithreading situation

    I want to send email to 10000(or more ) people from my Java program . To make it efficient , i would like to use MultiThreading. Can some suggest me any efficient class structure(only for threads) to achieve the purpose. (Ofcourse, i am not expecting the java code on sending emails , but the class structure for this and the threads code in those classses).


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: classes design for Multithreading situation

    What have you tried?

    This is not something that somebody else can just do for you- it depends entirely on your existing code, what exactly you're doing, how you're doing it, what libraries you're using, whether it's a gui, command line, or server application, etc. As asked, this question doesn't make a lot of sense.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: classes design for Multithreading situation

    Duplicate topic.

Similar Threads

  1. Class structure for solving a thread situation
    By harry7ster in forum What's Wrong With My Code?
    Replies: 2
    Last Post: October 9th, 2013, 08:43 AM
  2. Multithreading
    By Miths in forum Java Theory & Questions
    Replies: 10
    Last Post: December 17th, 2012, 02:46 AM
  3. Multithreading in java
    By skillet in forum Java Theory & Questions
    Replies: 1
    Last Post: March 17th, 2012, 07:32 AM
  4. How would you design the relationship between these two classes?
    By jrahhali in forum Object Oriented Programming
    Replies: 5
    Last Post: March 10th, 2012, 09:50 PM

Tags for this Thread