1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

What different Between Apache and Tomcat?

Discussion in 'Apache' started by fsloke, Oct 11, 2009.

  1. #1
    I am a newbie in apache and Tomcat world.

    My application can run in TOMCAT without install apache. ( My application test run in window )

    Then why apache exist?

    Thanks?

    -fsloke
     
    fsloke, Oct 11, 2009 IP
  2. cpace1983

    cpace1983 Peon

    Messages:
    58
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Tomcat is a different server, specifically for Java applications. Your application, it sounds like, is most likely a Java servlet?
     
    cpace1983, Oct 11, 2009 IP
  3. fsloke

    fsloke Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yup...
    Normally what apache can do, Tomcat also can do it...

    Why Apache still exist?

    :)
     
    fsloke, Oct 12, 2009 IP
  4. cpace1983

    cpace1983 Peon

    Messages:
    58
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Personally, if everything else was the same (it never is, but bear with me), I wouldn't install Tomcat on any of my servers if I didn't need the Java servlet support. For the same reason that I don't install Ruby on Rails on my PHP servers. If you don't need the added functionality, configuration, etc- why install it?
     
    cpace1983, Oct 12, 2009 IP
  5. fsloke

    fsloke Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hi cpace1983,

    Now I still using http://localhost:8080/projectname/ for surfing. I pretty sure this is Tomcat url ( not apache url )

    By the way, how to determine that we are surfing using Apache url or tomcat url?

    How to enforce the server is surfing apache url but not tomcat?


    Thanks
     
    fsloke, Nov 13, 2009 IP