|
APACHE TOMCAT
6
APACHE TOMCAT 5.5 INTERMEDIATE SERVLETS & JSP ADVANCED SERVLETS & JSP SCWCD JAKARTA STRUTS JAVASERVER FACES (JSF) AJAX & GWT (Google Web Toolkit) Tutorial PROTOTYPE SCRIPTACULOUS JAVA 5 & 6 PROGRAMMING TUTORIALS IN CHINESE TUTORIALS IN JAPANESE
ABOUT THE INSTRUCTOR COURSE REVIEWS JSF & APACHE MYFACES AJAX & GWT (Google Web Toolkit) Training INTERMEDIATE SERVLETS & JSP ADVANCED SERVLETS & JSP SCWCD JAKARTA STRUTS JAVA 5 & 6 PROGRAMMING CUSTOMIZED ON-SITE PUBLIC COURSE 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 • More Information Using Tomcat with MyEclipse
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.16-preconfigured.zip into the top level of the C drive. This should result in C:\apache-tomcat-6.0.16\. 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. More InformationOnline documentation
|
announcements
The following public
Rich Internet Apps October 20-24, 2008
Web App Development October 13-17, 2008
Java Programming: August 18-22, 2008 Courses at CEU's Now Available
|
|||||||||||||
| © 2008 coreservlets.com | Original design by TBIQ Technologies | |||||||||||||||








