Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question on Deployment - Part 2

 
Krishna Jonnalagadda
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What could be the reasons to use a webserver (in a differnet physical server : WEBHost) if all we have is a xyz.ear file and application uses all local ejb's. I know that the xyz.ear file can be deployed in an application server (in a differnet physical server: APPHost), but wanted to know if having a webserver in a different physical server gives any advantage ?

Thanks
 
Vijaykumar Dixit
Ranch Hand
Posts: 32
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some times web servers reside on seperate box. a) If it is also serving static content b) if it is to be placed in a dmz
 
Krishna Jonnalagadda
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply ...

But my question was do we need the web server at all ? If the application runs in one JVM with no remote calls, i think an application server : APPHOST is sufficient where we can deploy the xyz.ear file. At the same time i feel that having the static content in a seperate web server: WEBHOST will improve the performance. I'd like to know if there are any other advantages in this scenario and is it worth to have a webserver just for static content ?

 
Rishi Shehrawat
Ranch Hand
Posts: 218
Hibernate Java Spring
 
Senthil Kumar
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assuming my application doesnt have any static content at all, do i till need a Http server. Or Can i just have Application server alone
 
Usman Ibrahim
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Senthil Kumar wrote:Assuming my application doesnt have any static content at all, do i till need a Http server. Or Can i just have Application server alone


I also thought the same way, but, What if you need to display any important outage messages (static page) if the whole appserver cluster is not available?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!