Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #34781

Re: Is it necessary to have both an application server AND a web server?

From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: Is it necessary to have both an application server AND a web server?
Date 2016-07-07 22:31 -0400
Organization Aioe.org NNTP Server
Message-ID <nln3ad$1mrg$1@gioia.aioe.org> (permalink)
References <njfg37$1hj0$1@gioia.aioe.org> <njsfhf$2hu$1@gioia.aioe.org>

Show all headers | View raw


On 6/15/2016 4:58 PM, Qu0ll wrote:
> On 11/06/2016 08:48, Qu0ll wrote:
>> DISCLAIMER: Server-side Java is not my forte.
>>
>> I have often noticed that in many places where I have worked, the
>> companies have both a full application server such as JBoss/Wildfly AND
>> a web server (typically Apache) installed and both seem to work together.
>>
>> 1) Is this necessary and if so, why?
>> 2) What does a web server "provide" that an application server doesn't?
>> 3) What is the nature of the relationship or interaction between both
>> applications?
>>
>
> Thanks to everyone who replied to my question in such a helpful manner.
>
> It seems clear that there are distinct reasons to have both a dedicated
> web server and application server as part of your infrastructure.
>
> It seems though that nginx may be a more modern alternative to httpd but
> I will need to do more research to decide which is better for my precise
> needs.

nginx vs Apache is a complex topic.

But an oversimplified (!) answer is:
- nginx is best to serve static content
- Apache is best to do all sorts of things via modules

Arne

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Is it necessary to have both an application server AND a web server? Qu0ll <qu0ll64@gmail.com> - 2016-06-11 08:48 +1000
  Re: Is it necessary to have both an application server AND a web server? Kevin McMurtrie <mcmurtrie@pixelmemory.us> - 2016-06-11 00:43 -0700
  Re: Is it necessary to have both an application server AND a web server? Daniel Pitts <usenet@coloraura.com> - 2016-06-11 12:41 -0700
    Re: Is it necessary to have both an application server AND a web server? Daniel Pitts <usenet@coloraura.com> - 2016-06-11 12:45 -0700
      Re: Is it necessary to have both an application server AND a web server? Arne Vajhøj <arne@vajhoej.dk> - 2016-06-11 17:45 -0400
        Re: Is it necessary to have both an application server AND a web server? Daniel Pitts <usenet@coloraura.com> - 2016-06-12 21:05 -0700
  Re: Is it necessary to have both an application server AND a web server? Arne Vajhøj <arne@vajhoej.dk> - 2016-06-11 17:44 -0400
  Re: Is it necessary to have both an application server AND a web server? Qu0ll <qu0ll64@gmail.com> - 2016-06-16 06:58 +1000
    Re: Is it necessary to have both an application server AND a web server? Arne Vajhøj <arne@vajhoej.dk> - 2016-07-07 22:31 -0400
      Re: Is it necessary to have both an application server AND a web server? Daniel Pitts <usenet@coloraura.com> - 2016-07-08 08:31 -0700

csiph-web