Starting from:

$30

JAC444 - Workshop 9 Solved


                                                                                                                                                  


Description: 

The following workshop lets you practice basic java coding techniques, creating classes, methods, using arrays, Java I/O, inheritance, polymorphism, Exceptional Handling, JavaFx (GUI), Lambda expressions, Functional Interface, Collection Framework, Java Threads, Socket Programming, Java Networking. 

 

Task 1 (JavaFx): 

Write/ Rewrite the program given in the “Java Networking Slides” (Or get it from the sample code on the blackboard) where single client and server are presenting a scenario of chatting.  

Your program should introduce minimum two clients to chat. Implement one server that serves both the clients /many clients.  

Your program should run minimum 3 windows, one Server and at least two Clients, Sample output below,

  

 

  

 

 

  

 

 

Imagine it as a small chat program. Where you and your friend are talking to each other. You can make the output better as well.

 

Workshop Header 

 

/**********************************************

Workshop #  

Course:<subject type> - Semester 

Last Name:<student last name> 

First Name:<student first name> 

ID:<student ID> 

Section:<section name> 

This assignment represents my own work in accordance with Seneca Academic Policy. 

Signature 

Date:<submission date> 

**********************************************/

 

 

Code Submission Criteria: 

Please note that you should have:

•      Appropriate indentation.

•      Proper file structure

•      Follow java naming convention

•      Document all the classes properly

•      Do Not have any debug/ useless code and/ or files in the assignment

•      Do not have everything in the main method.

•      Have a separate TestClass with the main method in it.

•      Check your inputs if the user is not entering garbage inputs.

•      Use exceptional handling or other methods to let the user know if the inputs are incorrect.

 

Deliverables and Important Notes: 

 

All these deliverables are supposed to be uploaded on the blackboard once done. 

 

•      You are supposed to create video/ record voice/ detailed document of your running solution.          (50%)  o Screen Video captured file should state your last name and id, like

Ali_123456.mp4 (or whatever the extension of the file is) o Record voice clip should also include a separate word file with the screen shots of your program’s output, state your last name and id, like Ali_123456.mp3 (or whatever the extension of the file is)

o Detailed document should include screen shots of your output, have your name and id on the top of the file and save the file with your last name and id, like Ali_123456.docx (or whatever the extension of the file is)

•      A word/ text file which will reflect on learning of your concepts in this workshop. Also include the instructions on how to run your code.                                   (30%)

o   Should state your Full name and Id on the top of the file and save the file with your last name and id, like Ali_123456.txt

•      Submission of working code.                                                                          (20%)

o   Make sure your follow the “Code Submission Criteria” mentioned above.

o   You should zip your whole working project to a file named after your Last Name followed by the first 3 digits of your student ID. For example, Ali123.zip.

•      Your marks will be deducted according to what is missing from the above-mentioned submission details.  

•      Late submissions would result in additional 10% penalties for each day or part of it.  

•      Remember that you are encouraged to talk to each other, to the instructor, or to anyone else about any of the assignments, but the final solution may not be copied from any source.

 

 
Seneca College                                  ___________  

Applied Arts & Technology  

SCHOOL OF COMPUTER STUDIES 

                                                                                                                                                  

JAC444                                              Submission date:              August 08, 2020 

 

Workshop 9
Description: 

The following workshop lets you practice basic java coding techniques, creating classes, methods, using arrays, Java I/O, inheritance, polymorphism, Exceptional Handling, JavaFx (GUI), Lambda expressions, Functional Interface, Collection Framework, Java Threads, Socket Programming, Java Networking. 

 

Task 1 (JavaFx): 

Write/ Rewrite the program given in the “Java Networking Slides” (Or get it from the sample code on the blackboard) where single client and server are presenting a scenario of chatting.  

Your program should introduce minimum two clients to chat. Implement one server that serves both the clients /many clients.  

Your program should run minimum 3 windows, one Server and at least two Clients, Sample output below,

  

 

  

 

 

  

 

 

Imagine it as a small chat program. Where you and your friend are talking to each other. You can make the output better as well.

 

Workshop Header 

 

/**********************************************

Workshop #  

Course:<subject type> - Semester 

Last Name:<student last name> 

First Name:<student first name> 

ID:<student ID> 

Section:<section name> 

This assignment represents my own work in accordance with Seneca Academic Policy. 

Signature 

Date:<submission date> 

**********************************************/

 

 

Code Submission Criteria: 

Please note that you should have:

•      Appropriate indentation.

•      Proper file structure

•      Follow java naming convention

•      Document all the classes properly

•      Do Not have any debug/ useless code and/ or files in the assignment

•      Do not have everything in the main method.

•      Have a separate TestClass with the main method in it.

•      Check your inputs if the user is not entering garbage inputs.

•      Use exceptional handling or other methods to let the user know if the inputs are incorrect.

 

Deliverables and Important Notes: 

 

All these deliverables are supposed to be uploaded on the blackboard once done. 

 

•      You are supposed to create video/ record voice/ detailed document of your running solution.          (50%)  o Screen Video captured file should state your last name and id, like

Ali_123456.mp4 (or whatever the extension of the file is) o Record voice clip should also include a separate word file with the screen shots of your program’s output, state your last name and id, like Ali_123456.mp3 (or whatever the extension of the file is)

o Detailed document should include screen shots of your output, have your name and id on the top of the file and save the file with your last name and id, like Ali_123456.docx (or whatever the extension of the file is)

•      A word/ text file which will reflect on learning of your concepts in this workshop. Also include the instructions on how to run your code.                                   (30%)

o   Should state your Full name and Id on the top of the file and save the file with your last name and id, like Ali_123456.txt

•      Submission of working code.                                                                          (20%)

o   Make sure your follow the “Code Submission Criteria” mentioned above.

o   You should zip your whole working project to a file named after your Last Name followed by the first 3 digits of your student ID. For example, Ali123.zip.

•      Your marks will be deducted according to what is missing from the above-mentioned submission details.  

•      Late submissions would result in additional 10% penalties for each day or part of it.  

•      Remember that you are encouraged to talk to each other, to the instructor, or to anyone else about any of the assignments, but the final solution may not be copied from any source.

 

 

 

 

 

 

 

 
 
Seneca College                                  ___________  

Applied Arts & Technology  

SCHOOL OF COMPUTER STUDIES 

                                                                                                                                                  

JAC444                                              Submission date:              August 08, 2020 

 

Workshop 9
Description: 

The following workshop lets you practice basic java coding techniques, creating classes, methods, using arrays, Java I/O, inheritance, polymorphism, Exceptional Handling, JavaFx (GUI), Lambda expressions, Functional Interface, Collection Framework, Java Threads, Socket Programming, Java Networking. 

 

Task 1 (JavaFx): 

Write/ Rewrite the program given in the “Java Networking Slides” (Or get it from the sample code on the blackboard) where single client and server are presenting a scenario of chatting.  

Your program should introduce minimum two clients to chat. Implement one server that serves both the clients /many clients.  

Your program should run minimum 3 windows, one Server and at least two Clients, Sample output below,

  

 

  

 

 

  

 

 

Imagine it as a small chat program. Where you and your friend are talking to each other. You can make the output better as well.

 

Workshop Header 

 

/**********************************************

Workshop #  

Course:<subject type> - Semester 

Last Name:<student last name> 

First Name:<student first name> 

ID:<student ID> 

Section:<section name> 

This assignment represents my own work in accordance with Seneca Academic Policy. 

Signature 

Date:<submission date> 

**********************************************/

 

 

Code Submission Criteria: 

Please note that you should have:

•      Appropriate indentation.

•      Proper file structure

•      Follow java naming convention

•      Document all the classes properly

•      Do Not have any debug/ useless code and/ or files in the assignment

•      Do not have everything in the main method.

•      Have a separate TestClass with the main method in it.

•      Check your inputs if the user is not entering garbage inputs.

•      Use exceptional handling or other methods to let the user know if the inputs are incorrect.

 

Deliverables and Important Notes: 

 

All these deliverables are supposed to be uploaded on the blackboard once done. 

 

•      You are supposed to create video/ record voice/ detailed document of your running solution.          (50%)  o Screen Video captured file should state your last name and id, like

Ali_123456.mp4 (or whatever the extension of the file is) o Record voice clip should also include a separate word file with the screen shots of your program’s output, state your last name and id, like Ali_123456.mp3 (or whatever the extension of the file is)

o Detailed document should include screen shots of your output, have your name and id on the top of the file and save the file with your last name and id, like Ali_123456.docx (or whatever the extension of the file is)

•      A word/ text file which will reflect on learning of your concepts in this workshop. Also include the instructions on how to run your code.                                   (30%)

o   Should state your Full name and Id on the top of the file and save the file with your last name and id, like Ali_123456.txt

•      Submission of working code.                                                                          (20%)

o   Make sure your follow the “Code Submission Criteria” mentioned above.

o   You should zip your whole working project to a file named after your Last Name followed by the first 3 digits of your student ID. For example, Ali123.zip.

•      Your marks will be deducted according to what is missing from the above-mentioned submission details.  

•      Late submissions would result in additional 10% penalties for each day or part of it.  

•      Remember that you are encouraged to talk to each other, to the instructor, or to anyone else about any of the assignments, but the final solution may not be copied from any source.

 

 

 

 

 

 

 

 
 

 

 

 

 

More products