As there is vast difference between JDK and JRE.
JRE is useful in running and executing java programs while JDK is for development.
My question is that if we are deploying web-app created in java on any server what is the role of JDK in server.
Except the application is build on JSP then it requires JDK for compiling servlet into class files as per JSP life cycle but what if application is not in JSP.
Can we run other web application(Except JSP) successfully in server only with JRE and if answer is no then what is the role of JDK in server ?
While installing server if we link SERVER JRE then can we get better performance instead JRE ?