1 / 9

Tomcat & Eclipse

Tomcat & Eclipse. Seamless integration. Content. What is Tomcat? Tomcat integration in Eclipse How to create a project?. What is Tomcat?. Open Source, funded by the Apache Project Servlet container Runs both Java Servlets and Java Server Pages (jsp) Allows hotcode replacement.

dermot
Download Presentation

Tomcat & Eclipse

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tomcat & Eclipse Seamless integration (c) 2003 B. de Bruin, chainsoftware

  2. Content • What is Tomcat? • Tomcat integration in Eclipse • How to create a project? (c) 2003 B. de Bruin, chainsoftware

  3. What is Tomcat? • Open Source, funded by the Apache Project • Servlet container • Runs both Java Servlets and Java Server Pages (jsp) • Allows hotcode replacement (c) 2003 B. de Bruin, chainsoftware

  4. Tomcat integration in Eclipse • Plugin handles updating XML / deploying WAR files (c) 2003 B. de Bruin, chainsoftware

  5. How to create a project? • Create a new “Tomcat Project” • Allow the plugin to update XML files: • This '.XML' file refers to the 'server.xml' file in the Tomcat 'conf' folder. The context ist entered in this file.The root URI ist the part of the URL after the host name under which a Web Application can be accessed. (c) 2003 B. de Bruin, chainsoftware

  6. How to create a project? • After finish a structure like this exists: (c) 2003 B. de Bruin, chainsoftware

  7. How to create a project? • Open the 'New Class' wizard and enter the following: (c) 2003 B. de Bruin, chainsoftware

  8. How to create a Project? • Overwrite* the doGet() method, so for example 'Hello World' will be printed out • Select the project and choose 'Tomcat Project -> Update context in 'server.xml' from its context menu (right mouse click on project) • Start Tomcat with the icon in the toolbar or via the menu 'Tomcat -> Start Tomcat'. • *Tip: Select the servlet in the Outline view and choose 'Override Methods...' from its context menu. (c) 2003 B. de Bruin, chainsoftware

  9. Additional Information • http://jakarta.apache.org/tomcat/ • http://www.3plus4software.de/eclipse/tomcat1_en.html (tutorial) • http://www.sysdeo.com/eclipse/tomcatPlugin.html (c) 2003 B. de Bruin, chainsoftware

More Related