Question1. You have been asked to design and execute a chat application. Which protocol would you employed TCP or UDP? Justify your answer.
Question2. Illustrate why multithreading is preferred to single thread in client-server application?
Question3. What do you understand by the term socket? Why sockets are significant? Why a port assignment is essential throughout the creation of a socket?
Question4. Describe how a client Socket is used in Java? Java codes may be employed to your answer but they aren’t mandatory.
Question5. Write a Java program to create a client based on TCP protocol. Add comments to your program to illustrate the instructions you are using.
Question6. Illustrate what is RMI?
Question7. Draw a diagram showing the dissimilar parts of Java RMI architecture.
Question8. What is the function of RMI security manager and RMI registry?
Question9. What is object server?