Custom event tailer application (PROTOTYPE). All data can be kept in memory and a restart will clear data.
a new web project made using maven that has the following methods:
1. Post to a servlet http:// .. / {key}
value is in the request body:
maintains a map of (key, list)
adds a current timestamp to the begining of the value "12:30:44.987: " + value;
adds the value (a string) to the list given by the key.
The list should be bound to the last 1000 entries.
2. A get to the servlet http:// .. / {key}?n=100
should retrieve the last n entries (n is optional and defaults to 20) and forward to a jsp page that displays them
I have 10.5 years of experience out of which 8.6years is my Java/J2EE experience. I have good experience in these type of applications. I can do it in 2 days.