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: Class structure for solving a thread situation

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

    Default Class structure for solving a thread 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
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    3,434
    My Mood
    Mellow
    Thanks
    86
    Thanked 474 Times in 465 Posts

    Default Re: Class structure for solving a thread situation

    Find a Java tutorial (or several) on multi-threading/thread pooling and have a ball. I don't think anyone can suggest an "efficient class structure(only for threads)," because I doubt anyone knows what you mean.

    Please don't mass email anything to me.

  3. #3
    Super Moderator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,103
    Thanks
    169
    Thanked 779 Times in 725 Posts
    Blog Entries
    5

    Default Re: Class structure for solving a thread situation

    Duplicate of classes design for Multithreading situation

    Thread locked.

Similar Threads

  1. What is The use of Thread class constructors?
    By me_shankara in forum Threads
    Replies: 4
    Last Post: May 7th, 2013, 01:00 AM
  2. [SOLVED] FREE HELP WANTED: Setting up Class structure for Gui(JFrame) project.
    By JonLane in forum Object Oriented Programming
    Replies: 2
    Last Post: February 21st, 2012, 01:19 AM
  3. Java Class (C++ Structure Like) Help
    By Khadafi in forum Java Theory & Questions
    Replies: 6
    Last Post: January 13th, 2012, 08:07 PM
  4. adding get mothods to a class extending thread
    By aliaa2a in forum Object Oriented Programming
    Replies: 6
    Last Post: August 3rd, 2009, 06:41 AM

Tags for this Thread