How to use Tomcat instead of GlassFish with NetBeans?
-
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
-
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
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.
-
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
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.