Chapter 13: Problem 9
(Remote Phone Book Server) Create a remote phone book server that maintains a file of names and phone numbers. Define interface PhoneBookServer with the following methods: public PhoneBookEntry[] getPhoneBook() public void addEntry( PhoneBookEntry entry ) public void modifyEntry( PhoneBookEntry entry ) public void deleteEntry( PhoneBookEntry entry ) Create Activatable remote object class PhoneBookServerImpl, which implements interface PhoneBookServer. Class PhoneBookEntry should contain String instance variables that represent the first name, last name and phone number for one person. The class should also provide appropriate set/get methods and perform validation on the phone number format. Remember that class PhoneBookEntry also must implement Serializable, so that RMI can serialize objects of this class.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.