I guess Java is a good choice!
Indeed you could use JSP technology to render your web pages and display all graphic stuff with a javascript library (e.g. using the canva tag). And for neural networks you can use the well known weka library which enables the use of dozens of machine-learning algorithms (see here).