I have an existing Java application. The application has a complex GUI, number crunching and db interaction. The front and back ends are cleanly separate. Suppose I wanted to host the backend of the application in a server and rewrite the front end in something other than Java to work on a client browser. What would be the best choice for this? PHP? This is probably a religious issue, but I'm interested to hear all opinions.