Professional Documents
Culture Documents
1. Introduction
2. Suggested Audience
3. System Requirements
4. Getting Started
5. Creating a Web Project
6. Deploying a Web Project
7. Running the Web Project
8. Debugging the Web Project
9. Conclusion
10. Resources
11. Feedback
1. Introduction
Welcome to the MyEclipse Tomcat 6 Server Tutorial. Within MyEclipse an
embedded Tomcat 6 server is included to help developers get up and running
immediately with their development work and not need to scour the net for an
application server to install, download it, install it and configure it. Instead,
with MyEclipse you'll be able to immediately deploy your web project, run and
debug it with no additional configuration.
top
2. Suggested Audience
This tutorial is intended for developers who are somewhat familiar with
MyEclipse's Application Server feature set and Java application servers like
Tomcat.
To learn more about the topics presented in this tutorial, please have a look at
the links in our Resources section. To get a better feel for MyEclipse and
learning more about it, please check out our product Documentation for more
material.
top
3. System Requirements
This tutorial was written using MyEclipse.
MyEclipse Tomcat will work with all Java 5 and current 6 JDKs. However, if you
wish to use a Java 6 JDK to run MyEclipse Tomcat, please use JDK 6 update 4
(1.6.0_04) or above to avoid JAX-WS API compatibility issues.
This tutorial was writtin using MyEclipse. However, if you notice portions of this
tutorial looking different than the screens you are seeing, please let us know
and we will make sure to resolve any inconsistencies.
top
4. Getting Started
To get introduced to the new embedded Tomcat server, let's first look at the
server view:
Another popular place for managing the server status is from the toolbar
application server buttons:
Figure 2. Toolbar Application Server Controls
These sets of controls are simpler, but perform many of the same tasks. It's up
to you to decide which set of controls you'd rather use.
In addition to the new server controls, you can also access the embedded
Tomcat 6 preferences from the Application Server Connector preference pages
similar to standard application server connector configurations.
top
Debugging our application isn't just handy to stop at break points and inspect
values; we can also change variable values on the fly during the debug session
and see them realized immediately in the application as it's running.
Now let's say we wanted to change that value on the fly. We can simply right-
click on it, and adjust it's value right here:
Figure 19. Right-click to Change the Variable
Then type in a new value for the variable:
9. Conclusion
Hopefully from this simple guide you can begin to get an idea of how fast you
can get up and running with the embedded Tomcat server that now ships with
MyEclipse when working on your own projects.
We also hope that you've seen some of the power of working with MyEclipse
during the development cycle and how that can increase your development
efficiency.
top
10. Resources
In this section we want to provide you with additional links to resources that
supplement the topics covered in this tutorial. While this is not an exhaustive
list, we do make an effort to point to the more popular links that should provide
you with diverse, high-quality information.
top
11. Feedback
We would like to hear from you! If you liked this tutorial, has some suggestions
or even some corrections for us please let us know. We track all user feedback
about our learning material in our Documentation Forum. Please be sure to let
us know which piece of MyEclipse material you are commenting on so we can
quickly pinpoint any issues that arise.
top