Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009
    Rep Power

    Default Factory problem: How to Solve it

    The Marble generators produce RED , BLUE and GREEN, marbles continously ( Marble are identified by color and seq - eg RED001) and store it in the Repository (Notepad or DB).
    The Marble Packaging Unit ( Consumer ) should pack the marbles by color when number of Marble of specific color reaches 100.(Marbles are removed when packed).
    Use Threading for production and consumption from the queues.

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Rep Power


    Do your own homework.

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power


    A couple of suggestions:

    1) Let's see a decent try by you towards a solution first. I've found that usually the more thought and effort posters put into creating and solving their questions, the better their chances are of a volunteer here taking the time and effort to consider it and give a helpful answer.

    2) A great resource that has helped me and will probably help you is an article entitled How To Ask Questions The Smart Way . It will tell you how to formulate your questions so that the folks here will be better able to answer them.

    3) cross-posting can frustrate anyone who tries to help you only to find out later that the same answer was given hours ago in a cross-posted thread. No one likes wasting their time, especially a volunteer. The polite thing to do would be to not do this, but if you feel that you absolutely must, to at least provide links in both cross-posts to each other.

    Good luck

Similar Threads

  1. Factory problem: How to Solve it
    By rahul_capricorn in forum Threads and Synchronization
    Replies: 2
    Last Post: 02-11-2009, 05:47 PM
  2. Help me to solve problem
    By mansoorhacker in forum Forum Guides
    Replies: 8
    Last Post: 01-24-2009, 07:29 PM
  3. Solve my Problem
    By kyo in forum New To Java
    Replies: 1
    Last Post: 12-16-2008, 03:22 PM
  4. Help me to solve problem
    By mansoorhacker in forum New To Java
    Replies: 3
    Last Post: 11-13-2008, 09:15 AM
  5. JList and records, what to do to solve the problem
    By willemjav in forum Java Applets
    Replies: 10
    Last Post: 06-11-2008, 03:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts