Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Java
  4. How to use Tomcat instead of GlassFish with NetBeans?

How to use Tomcat instead of GlassFish with NetBeans?

Scheduled Pinned Locked Moved Java
sysadmintutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jun Du
    wrote on last edited by
    #1

    I am a newbie in J2EE. I have installed NetBeans 7.01 package with GlassFish 3.1.1 (and Tomcat 7.0.14). By default NetBeans starts up the GlassFish server whenever I launch a web app. What should I change if I want to use Tomcat, instead of GlassFish with NetBeans? Thanks!

    Best, Jun

    G S 2 Replies Last reply
    0
    • J Jun Du

      I am a newbie in J2EE. I have installed NetBeans 7.01 package with GlassFish 3.1.1 (and Tomcat 7.0.14). By default NetBeans starts up the GlassFish server whenever I launch a web app. What should I change if I want to use Tomcat, instead of GlassFish with NetBeans? Thanks!

      Best, Jun

      G Offline
      G Offline
      Gerben Jongerius
      wrote on last edited by
      #2

      You need to right click the project go to the properties. Under Run you can select which application server you want to deploy the project to.

      1 Reply Last reply
      0
      • J Jun Du

        I am a newbie in J2EE. I have installed NetBeans 7.01 package with GlassFish 3.1.1 (and Tomcat 7.0.14). By default NetBeans starts up the GlassFish server whenever I launch a web app. What should I change if I want to use Tomcat, instead of GlassFish with NetBeans? Thanks!

        Best, Jun

        S Offline
        S Offline
        Skynet_Code
        wrote on last edited by
        #3

        In fact, when you're creating your new J2EE project, you've got the option to define where you've installed the App. Server desired for your project, in order to allow the IDE to build the specific artefact with its deployment descriptors.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups