| Author |
Question on Deployment - Part 2
|
Krishna Jonnalagadda
Ranch Hand
Joined: Feb 09, 2010
Posts: 43
|
|
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
Joined: Jul 04, 2011
Posts: 32
|
|
|
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
Joined: Feb 09, 2010
Posts: 43
|
|
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
Joined: Aug 11, 2010
Posts: 218
|
|
This topic was discussed earlier on the forum.
http://www.coderanch.com/t/539797/java-Architect-SCEA/certification/Separating-web-business-tier-increase
|
 |
Senthil Kumar
Ranch Hand
Joined: Mar 13, 2006
Posts: 264
|
|
|
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
|
when you really want something, all the universe always conspires in your favour.<br /> <br />SCJP1.5-77%<br />SCWCD-89%
|
 |
Usman Ibrahim
Ranch Hand
Joined: May 19, 2011
Posts: 45
|
|
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?
|
OCMJEA; OCA (11g dba); SCJP
|
 |
 |
|
|
subject: Question on Deployment - Part 2
|
|
|