Eclipse will present you with this dialogue window: Start clicking "File->New" and selecting "Dynamic Web Project" from the list of options.
Now that you've installed the WTP, it's time to start using Tomcat with Eclipse. It'll only take a few seconds, and when Eclipse starts up again, you'll be almost ready to start using Tomcat with Eclipse! Creating your first Tomcat-integrated Eclipse project
If you get any dialogues about installing unsigned content, don't worry - just click "OK".Īt the end of the install process, Eclipse will give you the option to either restart, or apply the changes without restarting. This process will take some time, so get up and go for a stroll. Once you click the "Finish" button, Eclipse will begin downloading the components and installing them: Click the radio button in the lower right hand corner of the screen, indicating that you accept the licensing terms for the components that you are about to install (you only need to do this once), and the "Finish" button will become active. Click "Next" again to reach the page "Review Licenses". You can review them if you want, but it's not necessary. Eclipse will fetch a list of components to be installed, and present them to you. In this tutorial, we'll use version 3.x:Ĭlick "Next". Next, select the latest version of the WTP SDK from the list of projects. This will call up the dialog pictured below:Ĭlick the "Work with:" drop down menu, and select the WTP Project site from the list: To install WTP, select the "Install New Software." menu item from the Eclipse "Help" menu.
Although you can download WTP as a ZIP file, it's quite easy to install from within Eclipse, and this is the method we'll use in this tutorial. Step one - Installing the eclipse web tools platformĮclipse uses a set of components called the Web Tools Platform, or WTP, to integrate application servers into the Eclipse environment. And to make your Apache Tomcat environment enterprise ready, learn more about Tcat, the leading enterprise Apache Tomcat application server. If you need more information on installing these items, visit the Eclipse and Apache Tomcat documentation pages. Eclipse 3.1 or higher, along with the EMF (Eclipse Modeling Framework), GEF (Graphical Editing Framework), and JEM (Java EMF Model) components.the Tomcat version of your choice (version 5.5.x or higher is recommended).In the interest of simplicity, this tutorial assumes that you've already installed: Here's an easy guide to getting Tomcat and Eclipse working together, from installing the Tomcat plug-in, to configuring your first server. Time-saver? Sanity-preserver? All of the above? You bet. Imagine being able to write a new servlet, deploy it to a Tomcat server, test it, make changes, redeploy, and restart Tomcat - all within Eclipse, all without editing a single XML file by hand. If you haven't integrated Tomcat into your Eclipse environment, you're losing out on some great enhancements to your development process. Apache Tomcat eclipse integration An illustrated quick start guideĪpache Tomcat makes hosting your applications easy.