I have read many articles and stackover flow questions discussing whether to use JSP as a backend for websites. But I am stil confused over some aspects to how it works and what kind of server you need. Currently I am using 3owl.com because it has free hosting and unlimited space (I highly recommend it)! I use php to code right now, but a lot of the functions in php are rather limited. Here is the program in java:
I wanted to use this code in a javaback end. So here are my questions: Can java code like this be converted straight to JSP or some sort of java backend? What are jsp's limitations compared to a normal java application? And will 3owl work or is there something else that I can use for free that will let me use java backend?