Why do we need the combination of Apache and Tomcatt?

Both Apache and Tomcatt are web servers. It is possible to get the ob done with any of them. Then, why do we go for the combination of Apache and Tomcatt in most of the Applictions? What is the significance of doing it?

The Apache Web Server is a high-performance HTTP server, which is very good in serving static content (i.e., HTML pages, JPG files, etc.).
Apache Tomcat is a servlet container written in Java. It includes an HTTP server, but it isn't optimized as much as the Apache Web Server and probably doesn't have as many configuration options as the Apache Web Server.
Often people use Apache Web Server as the primary HTTP server, and run Tomcat on top of that. You can configure Apache so that it redirects requests for servlets and JSPs to Tomcat. Apache Web Server cannot run servlets and JSPs by itself.
Jesper

Similar Messages

  • Why do I need Library at root level AND a library in the admin user folder?

    I have three user accounts in my macbook, I share it with two brothers. I'm the "administrator". Under my user account there is a library folder, same as with the other two users. But I also have a library folder at the root level when I open the "Macintosh HD" icon on the desktop. I notice that both the library at my user folder and the one in the root folder have items that have been updated recently.
    While I noticed that the individual user libraries are "normal" in size, the one at the root level is 11 GB.
    Why do I need the library at the root level? Can I consolidate that with the Library in my user folder?
    Thanks!

    Why do I need the library at the root level?
    For items which apply to all user accounts.
    Can I consolidate that with the Library in my user folder?
    No.
    (57249)

  • Why do I need the link spfileDBNAME.ora to +DATA/DBNAME/PARAMETER/spfile..

    Hi
    One month before I stated the question
    >
    Why do I need the an alias  spfileDBNAME.ora to *ASM-File +DATA/DBNAME/PARAMETER/spfile..*
    >
    in a RAC-Environment.
    Levi Pereira gave me kindly the answer in the Thread:
    Re: RAC Backup + Restore & Recover
    But I can find now this answer in this Thread!
    Can Levi or somebody else give me the answer again?
    Thank in advance
    hqt200475
    Edited by: hqt200475 on Mar 7, 2011 5:41 AM

    http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/admin.htm#CHDHFIGC says:
    >
    Oracle recommends that you do not use the default SPFILE names because all instances must use the same file and they all have different SIDs. Instead, store the SPFILE on Oracle ASM. If you store the SPFILE on a cluster file system, then use the following naming convention for the SPFILE: $ORACLE_HOME/dbs/spfiledb_unique_name.ora. Create a PFILE named $ORACLE_HOME/dbs/initsid.ora that contains the name SPFILE=ORACLE_HOME/dbs/spfiledb_unique_name.ora.

  • Why do we need the HWM?

    hi,
    why do we need the HWM? Does the CBO use it? I mean, if we're doing a FTS, then the first unformatted block we hit in a MSSM tells us all blocks above it are unformatted, so we dont read anymore, so what is the use of the HWM?
    thanks

    OracleGuy777 wrote:
    hi,
    why do we need the HWM? Does the CBO use it? I mean, if we're doing a FTS, then the first unformatted block we hit in a MSSM tells us all blocks above it are unformatted, so we dont read anymore, so what is the use of the HWM?1) Why are you assuming that HWM is there FOR FTS? (as implied by the question) I would think that FTS uses HWM because it exists.
    2) Are all 'unused blocks' unformatted? Does that imply that something 'unformats blocks' when you drop a table?
    3) What happens when you truncate a table?
    4) My thought is that HWM is more for providing a starting position for Direct Path Inserts than anything else.

  • Why do we need the @EJB annotation at the class level?

    Why do we need the @EJB annotation at the class level?
    Eg: Why do we need the first piece of code, when the second code seems much simpler .
    *1.*
    @Stateful
    @EJB(name="ejb/TradeLocalNm",
    beanInterface=TradeLocal.class)
    public class TradeClientBean implements TradeClientRemote {
    *2.*
    @Stateful
    public class TradeClientBean implements TradeClientRemote {
    @EJB private TradeLocal trd;
    }

    I think it is possible to do it in an aggregated level however you need to define your distribution rules in order to get the desired result, you need also to consider that if distribution rules changes and the value after promotional planning returns the same value, it is possible that detailed level are not realigned to the new distribution rule (e.g. regarding another ratio).
    Maybe this is one of several causes.
    Regards,
    Carlos

  • I have os 10.4. Why do I need the mac box set to upgrade to snow leopard?

    I have os 10.4. Why do I need the mac box set to upgrade to snow leopard? What happens if I upgrade with just a 10.6 upgrade?

    ds store wrote:
    No iPhoto, iMovie, iDVD, Garageband, but I can pinch those off the 10.4 installer disk using Pacifist.
    You can usually get those from the original grey installer discs that came with your Mac without bothering with Pacifist. Look for an 'installed bundled software' or similarly named item on one of those discs, generally the #1 disc. Run that & the original versions of those apps that were bundled with your Mac will be installed. Software Update will let you know if there is an update you can download for them (but of course that won't include an upgrade to a more recent major version, which you would have to buy separately).

  • In CC214 PS Why has adobe removed the "print Size Button"  And why have they made the Brush preview window so small you can't see the effects to accurately adjust them?

    In CC214 PS Why has adobe removed the "print Size Button"  And why have they made the Brush preview window so small you can't see the effects to accurately adjust them?
    These two things need to be remedied in their upgrades because It's become such a bother I've had to revert to older versions of PS.

    Yea, and it's a pain to get to.  What was the rational for removing the print size button?   With the magnifying glass tool selected in older versions of Photoshop you would get a button that says "print size" right next to Actual pixels, Fit Screen, Fill Screen. Now I have to go out of my way and dig for it if I want to see the print size.  Of all the buttons you could have taken away, why not fill screen?  I never use that.
    Besides the point I just downloaded the Oct Upgrade for PS and surprise! Nothing has changed and these are two big black eyes on newer versions of Photoshop.   The Brush preview window is  unchanged in CC but in CC2014 it's basically worthless.  If you apply a texture to a brush you can't properly see the scale of the texture, the spacing, scatter, etc...

  • HT201250 If time machine backups hourly.  Why does it need to backup daily, weekly and monthly

    If time machine backups hourly.  Then why does it need to backup daily, seekly, and monthly?

    It doesn't.
    What it does is discard intermediate backups at the end of 24 hrs and keep just three spaced backups from the previous day.
    At the end of the next day, that day's will be reduced to 3, and the previous 3 trimmed to one; the last backup of that day.
    Daily backups are kept for a month, then trimmed to the last backup of the week.
    The weekly backups are kept until the disc runs out of space and TM starts deleting the oldest ones.

  • Why do we need to define RFC destination and user for material replication

    Dear Experts,
    why do we need to define RFC destination and user for material replication? Here we use crm middleware only for material replication. Could you please help me to understand it?
    regards,
    Ranjan

    Hello,
    As far as I know, you can use the same RFC destination already available in ECC to SRM to replicate materials.
    You can refer to note 720819.
    Regards,
    Ricardo

  • Why do we need separate t.codes KB11N and KB41N for reposting costs & rev?

    Hi,
    Why do we need separate t.codes KB11N and KB41N for reposting costs and revenues? I noticed that i can still use one t.code KB11N to post both costs and revenues, hence why do we need a separate t.code KB41N for revenues?

    Hi,
    The BAPI for costs allows more options than the one for revenues. For example, via BAPI_ACC_PRIMARY_COSTS_POST  you can select sender Network, what you cannot do via BAPI_ACC_REVENUES_POST. The same is for 'cost object' as a receiver; you can do it only via BAPI for costs. In other aspects, the BAPI for costs could be used to repost revenues as well.
    Regards,
    Eli

  • What is happening to 7.0.3? why do we need to connect to itunes and restore for 2 hours?

    what is happening to 7.0.3? why do we need to connect to itunes and restore for 2 hours? such a waste of time.

    No clue as you've provided not details.
    What exactly is the problem that was occuring that prompted you to restore via iTunes?

  • Why are some of the songs greyed out and i am no longer able to listen to them?

    why are some of the songs greyed out and i am no longer able to listen to them?

    why are some of the songs greyed out and i am no longer able to listen to them?

  • HT202358 can't open my iPhoto it says i need the upgrader did that and it still won't open.

    can't open my iPhoto it says i need the upgrader did that and it still won't open.

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • I am new to Firefox; how do I set up for auto fill for the various forms that need the same info time and time again; thanks.

    I am new to Firefox; how do I set up for auto fill for the various forms that need the same info time and time again; thanks.

    Make sure that you do not run Firefox in permanent Private Browsing mode.
    *https://support.mozilla.org/kb/Private+Browsing
    *Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    *Deselect: [ ] "Always use private browsing mode"
    *Select : [X] "Remember search and form history"
    See also:
    *https://support.mozilla.org/kb/Form+autocomplete
    <i>[locking thread due to the age]</i>
    If you have further questions then please start a new thread.
    *[[/questions/new start a new thread]]

  • Why is apple releasing the ipad4 witha new and inproved wifi attena without addressing the wifi issue in the ipad3

    Why is apple releasing the ipad4 witha new and inproved wifi attena without addressing the wifi issue in the ipad3

    Jim Level 5 person ....I am very happy for you that your usage will not be affected, please accept my  congratulations.
    Now I have to point out that going ballistic has certain connotations but posting on an internet forum is not one of them.
    I appear to be one of thousands who are all expressing their outrage in a rational and intelligent manner which cannot be said for your lebvel 4 + collegues on this forum.
    Finally there has been an ongoing issue wiith the iPad 3 Wifi on certain wifi only models , I have not encountered it and it seems clear neither have you. That of course does not discount the fact that many others have experienced this issue , an issue which may reveal itself to you or I in the future particularly as I have only been using mine for a fortnight.
    The following is a relevant link for your information :
    http://9to5mac.com/2012/04/04/apple-investigating-new-ipad-wifi-issues-tells-app lecare-to-replace-affected-units/

Maybe you are looking for