Java compiled; now testing AJAX exchange