I have a short project!
First, create a simple web interface with a text field and a submit button. For each press of the submit button, the information in the text field must be sent to a RS232 serial interface. The project must be done in Java and the web interface in what you want (HTML/PHP/JSP)
Time: 1-2 days maximum