servlets - Where do we deploy our dynamic web application? In WebServer or AppServer? -
let's have developed dynamic web application includes jsp's, servlets, db connections etc. in server deploy application, web server or app server.
you couldn't deploy java web-application on web-server.
you have deploy java web-app application server (i.e. wildfly, tomee, jboss eap) or servlet container.
now, actual question arises if want directly configure application server serve request or configure web server reverse proxy forward requests application server.
actually, depends on needs. question should ask regarding project requirements.
- do need load balancer handle?
- do need better web security?
- deployment of other websites , web application on same physical server?
if yes, should go web server apache httpd or nginx.
Comments
Post a Comment