I have to develop a code in parallel which is implemented in sequential yet. How to add the server client relation in the program so that work can be divided into multiple clients.
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.
I have to develop a code in parallel which is implemented in sequential yet. How to add the server client relation in the program so that work can be divided into multiple clients.
Sorry but your question is too vague and not clear. What does it do your actual sequential code? Do you need to have N parallel executions of that exact sequential code or ... you need to split that sequential code in more parallel tasks? (they are two slightly different things).
And another thing: the question parallel vs sequential has, by itself, nothing to do with the client-server architecture. So please, clarify also what is the client and what is the server.
Andrea, www.andbin.net — SCJP 5 (91%) – SCWCD 5 (94%)
Useful links for Java beginners – My new project Java Examples on Google Code
Hi,
Actually I have a Database which contains multiple sequences which are basically collection of items. There are two user inputs: database file and support value. The server has to find all the items of 1 length sequences first. Then the items which satisfies the support value will be given to the clients for the further discovery of 2-length and 3-length sequences.Each item with the sequences which satisfies the support value will be given to the client. The client then read the value and will discover the 2-length sequences and count the support value. The process will be repeated till the items satisfy the support value. Each client will do the same for the item given to it by the server. Then the clients will send the result to the server. Server will merge all the sequences and display the Result. I had implemented the process sequentially means a single process is finding all the support and k length sequences. Now I have to do it parallel. Please provide me the ideas and the concepts as I am a beginner of java programming.