Java Web Application Commit