|
APACHE TOMCAT
6
APACHE TOMCAT 7 JAVASERVER FACES (JSF) JSF 1.x JSF 2.0 INTERMEDIATE SERVLETS & JSP ANDROID PROGRAMMING AJAX & GWT JAVASCRIPT & AJAX BASICS PROTOTYPE SCRIPTACULOUS JQUERY DOJO GWT 2.1 JAVA 6 & 7 PROGRAMMING HTML 5 ADVANCED SERVLETS & JSP SPRING HIBERNATE & JPA JAKARTA STRUTS EJB3 WEB SERVICES WITH AXIS2 SCWCD TUTORIALS IN CHINESE TUTORIALS IN JAPANESE
ABOUT THE INSTRUCTOR COURSE REVIEWS JSF 2.0, MYFACES, & PRIMEFACES AJAX (w/ JQUERY, HTML5, ETC.) JAVA 6 & 7 PROGRAMMING ANDROID PROGRAMMING GWT INTERMEDIATE SERVLETS & JSP SPRING FRAMEWORK HIBERNATE & JPA ADVANCED SERVLETS & JSP JAKARTA STRUTS 1.x & STRUTS 2 SCWCD IPHONE PROGRAMMING CUSTOMIZED ON-SITE PUBLIC TRAINING SCHEDULE
|
table of contents• Executive Summary• Unzipping Tomcat • Installing MyEclipse • Telling MyEclipse about Tomcat • Running Tomcat • Importing and Testing a Sample App • Making a New Blank App • Adding Code to a New App • Testing New Apps • Tomcat/JSP Web Hosting Providers • More Information Tutorial: Using Tomcat 6 with MyEclipseThis page is no longer being actively maintained. For up-to-date info on Tomcat 6 and 7 for use with Eclipse, please see http://www.coreservlets.com/Apache-Tomcat-Tutorial/
Executive SummaryThe time it takes to download an IDE and learn the barebones basics of use will be very quickly recouped by the savings in development, debugging, and deployment times. I personally feel that the extra features of MyEclipse more than justify the very small cost vs. the totally free regular Eclipse IDE, but this is definitely a matter of taste, and both versions are widely used. Here is a quick summary of use; see the next sections for details.
Unzip TomcatUnzip tomcat-6.0.18-preconfigured.zip into the top level of the C drive. This should result in C:\apache-tomcat-6.0.18\. This version of Tomcat has the following settings already in place. For details on customizing this configuration, please see the detailed configuration guide.
Install MyEclipseGo to http://myeclipseide.com/, click on Download, choose the "All in One" installer, and install with all the default settings. Start it and select "Workbench". Tell MyEclipse about TomcatSelect Window, Preferences, MyEclipse, Servers, Tomcat,
Tomcat 6. Click "Enable". Select "Tomcat Home Directory" and hit "Browse".
Navigate to the Tomcat installation directory
Click Apply & OK. Also click on the JDK sub-entry under Tomcat and make sure
this matches the main Java version you are using. In particular,
if you are using Java 6 but the Tomcat JDK refers to Java 5, you will
get illegal class file errors when executing servlets. Run Tomcat
Click on Servers tab at bottom. R-click on Tomcat 6, choose "Run Server".
Open http://localhost/ in a browser: you should see the Tomcat home page.
Import a Sample App and Test
Grab
intro-app-myeclipse.zip, save it, and import it into MyEclipse.
Use File, Import, Existing Projects, Select archive file.
Making New Apps in MyEclipse
Adding Code to New Apps in MyEclipse
Testing New Apps in MyEclipseFollow same procedure as given in example above with "intro" app: Click on Servers tab at bottom. R-click on Tomcat 6, choose "Manage Deployments". Choose the app. Start Tomcat if not already running. Open http://localhost/appName/ in browser. |
announcements
Too few developers for
Android Programming: August 13-17 2012
JSF 2.0 & PrimeFaces: August 20-24 2012
Java 7 Programming: August 27-31 2012
Rich Internet Apps September 10-14 2012
Spring: Simplifying September 17-21 2012
Java Persistence with April 11-15 2011
RESTful & SOAP-based October 29-31 2012 Courses at CEU's Now Available
|
|||||||||||||
| © 2012 coreservlets.com | Original design by TBIQ | Hosting from Kattare | |||||||||||||||








