Question: ((Internet and Network Computing)) ((Using Java)) Your task is to write a Joke-of-the-Day iterative server for sending funny stories over UDP using multicasting. You should
((Internet and Network Computing)) ((Using Java))

Your task is to write a Joke-of-the-Day iterative server for sending funny stories over UDP using multicasting. You should also write an associated GUI-based client for retrieving and displaying this information. The server should send every second to a multicast address, an instance of a Joke class. All the objects should be encapsulated in a datagram packet. The class should contain at least the following (extend it as you see fit): public class Joke private String type; private String story; The type string should be one of Shocking, Knock-knock, Blonde. The client should have the capability to "filter" the jokes, i.e. display only the ones of the type selected by the user. You can have a set of predefined Joke objects in the server, and randomly select which one to send each time. The client GUI should be equipped with start and stop buttons that start and terminate respectively the interaction with the server. Your task is to write a Joke-of-the-Day iterative server for sending funny stories over UDP using multicasting. You should also write an associated GUI-based client for retrieving and displaying this information. The server should send every second to a multicast address, an instance of a Joke class. All the objects should be encapsulated in a datagram packet. The class should contain at least the following (extend it as you see fit): public class Joke private String type; private String story; The type string should be one of Shocking, Knock-knock, Blonde. The client should have the capability to "filter" the jokes, i.e. display only the ones of the type selected by the user. You can have a set of predefined Joke objects in the server, and randomly select which one to send each time. The client GUI should be equipped with start and stop buttons that start and terminate respectively the interaction with the server
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
