I am building a web application which in the back end needs to parse a java file and save certain values in a database. This has to be triggered by the user and set on a schedule.
What is the best way of doing this? Should I do this using php or java? Know how to parse the file in both languages however java has reflection which would make it easier and reduce the likelihood of error however I have no idea now to call a java file from the front end e.g. onclick of a button.
The front end technologies I'm looking to use are html, css, javascript and ajax. I'm not looking to use struts e.t.c as I am not familiar with them and I am limited on time.
Thanks