Answered You can hire a professional tutor to get the answer.
PLEASE HELP ME WRITE THAT JAVA CODE. PLEASEEEEEEEEEEEE This week, we have been looking at using Java UDP Sockets to build networked applications.
PLEASE HELP ME WRITE THAT JAVA CODE. PLEASEEEEEEEEEEEE
This week, we have been looking at using Java UDP Sockets to build networked applications. The example provided with this week's lecture demonstrates some of the basic ideas for setting up a networked application using UDP in Java. This week's programming assignment is to design and build a journal application using UDP.
The journaling application is to be designed so that a client can access their journal entries from anywhere. They can store any text information in their journal. This journaling system should be set up to support the following operations:
- The client's user name is used by the server to locate journal entries made by that client.
- When the client starts the journal application, he or she must identify themselves with their user name and indicate which journal entry they want to work on. Journal entries are identified by the month, day, and year. There is only one journal entry per month-day-year per client.
- A client can access the journal entry from any date. For example, a client may make a new journal entry in the morning. Later in the day, the client may continue working on the journal entry for that day. This means, the server retrieves the journal entry and sends it to the client where is it displayed in a text area. The client can change the entry or add to it. When finished, the client can once again save the entry, which sends the updated text to the server for storage.
- From the above operations, the journal server must support reading a journal entry for a specific client user name and month-day-year. It must also support saving a journal entry for a specific client user name and month-day-year.
The primary requirement for this lab is that you must use UDP for communications between the client and the server. All client journal entries must be saved to files. I am providing you with a Java class called: the JournalManager, which is designed to read and write journal entries to and from files. You should design your journal server to make use of this JournalManager class.