|
APACHE TOMCAT
6 (6.0.28)
APACHE TOMCAT 7 INTERMEDIATE SERVLETS & JSP ADVANCED SERVLETS & JSP JAVASERVER FACES (JSF) JSF 1.x JSF 2.0 AJAX & GWT JAVASCRIPT & AJAX BASICS PROTOTYPE SCRIPTACULOUS JQUERY DOJO GWT 2.0 SPRING HIBERNATE & JPA JAVA 6 PROGRAMMING JAKARTA STRUTS EJB3 WEB SERVICES WITH AXIS2 SCWCD TUTORIALS IN CHINESE TUTORIALS IN JAPANESE
ABOUT THE INSTRUCTOR COURSE REVIEWS JSF 2.0, JSF 1.x, & MYFACES AJAX (w/ JQUERY, DOJO, EXT...) GWT 2.0 INTERMEDIATE SERVLETS & JSP SPRING FRAMEWORK HIBERNATE & JPA ADVANCED SERVLETS & JSP JAVA 6 PROGRAMMING JAKARTA STRUTS 1.x & STRUTS 2 SCWCD IPHONE PROGRAMMING CUSTOMIZED ON-SITE PUBLIC TRAINING SCHEDULE
|
Using Eclipse ProjectsDealing with the zipped projects bundled with the tutorials on beginning & intermediate servlets & JSP, advanced servlets & JSP, Ajax, GWT, Spring, Hibernate & JPA, JSF 1.x, JSF 2.0, EJB3, Web services, and Java 6 programming.Overview
The code in these tutorials was created with the Eclipse IDE. I use version 3.6 (Helios) with Java 6, but
virtually all the examples should run fine in Eclipse 3.5 (Galileo), and many of them should work with Java 5.
If you don't already know how to use Eclipse, information on downloading Eclipse and configuring it to be
used with Tomcat can be found at
the Tomcat and Eclipse tutorial. Although Eclipse or another IDE
(NetBeans, MyEclipse, IntelliJ IDEA, etc.) is strongly recommended for Java EE development,
none of the coreservlets code is in any way specific to Eclipse.
Importing Zipped Eclipse Projects into EclipseTo import the zipped projects that are bundled with the tutorials, follow these steps:
Importing Zipped Eclipse Projects into NetBeansNetBeans claims to be able to reliably import Eclipse projects. For details, please see http://netbeans.org/kb/docs/java/import-eclipse.html. Deploying and Testing Apps LocallyThis section applies only if you are importing an Eclipse Web project. Skip this section if you are importing ordinary Java projects (e.g., from the Java 6 programming tutorial). First, make sure that you have Tomcat installed on your local computer, and that Eclipse knows about Tomcat. If you haven't done this already, see the Tomcat with Eclipse tutorial. Once you have Tomcat set up with Eclipse and you have imported a Web project, deploy the app as follows: Click on Servers tab at bottom. R-click on Tomcat v7.0 Server, choose "Add and Remove Projects". Then choose your app. Start Tomcat, or restart it if already running (R-click on Tomcat and choose either "Start" or "Restart"). Open a browser and try http://localhost/your-app-name/some-url-in-your-app. For example, if your app is named "myApp" and it has index.html and test1.jsp files in the WebContent folder, use the URLs http://localhost/myApp/ and http://localhost/myApp/test1.jsp. The Art of WAR:
|
|||||||||
|
|
|
Too few developers for
onsite courses? Try
our public courses in MD,
co-sponsored by Johns
Hopkins Engineering
for Professionals:
Java 6 Programming:
A Crash Course
Feb 7-11 2011
Web App Development
with Servlets and JSP
Feb 14-18 2011
Rich Internet Apps
with Ajax (& jQuery)
Feb 28-Mar 4 2011
(Also Oct 2010
in Norway)
March 7-11 2011
March 15-18 2011
(Also Oct 2010
in Norway)
Java EE with
Spring & Hibernate
March 21-25 2011
RESTful & SOAP-based
Web Services in Java
April 4-6 2011
Courses at
YOUR Location
• Customized Content
• Flexible Dates
• Any Country
CEU's Now Available
You can get CEU's
for onsite courses.
Courses can be
offered directly from
accredited college.


