Application Server Quickstart
天下维客,你可以修改的网络知识库
|
Eclipse编辑 技术应用:
其他资源: |
[编辑]
Preface
This document was written using Sun JDK 1.4.2, Eclipse 3.0.1 and MyEclipse 3.8.2. All screenshots are based upon the default user interface settings for Eclipse, MyEclipse, and Windows XP.
[编辑]
Introduction
MyEclipse Enterprise Workbench provides developers the ability to seamlessly deploy, execute, and test their MyEclipse J2EE applications to any of over 20 different application servers including:
- JBoss
- Jetty
- Jonas
- JRun
- Oracle
- Orion
- Resin
- Sun
- Tomcat
- WebLogic Server
- WebSphere
MyEclipse interacts with a local application server instance through an application server connector. Each connector is configured through the MyEclipse preferences and provides integrated controls that allow you to:
- Start an application server in Run or Debug mode
- Monitor application server operation via stdout log messages which is redirected to the MyEclipse console
- Test deployed applications through your custom test client or web browser
- Perform hot-swap Java debugging of deployed application code
- Perform JSP source-level debugging on JSR-045 compliant application servers such as Tomcat 5.x
- Stop the application server
[编辑]
Requirements
The requirements for MyEclipse application server support are:
- MyEclipse application server connectors require direct access to application server installation. Therefore the application server must be installed on the file system of the machine that MyEclipse will operate. Note: MyEclipse does not currently support application deployment to remote application servers.
- To support JSP source level debugging, your application server must support JSR-045 specification for debugging of non-Java source code.
- Hot-swap debugging requires that your application server be launched with a JDK 1.4.x virtual machine. If you are working with an older application server that requires JDK 1.3 debugger, breakpoints will be honored but hot-swapping of modified code in your MyEclipse workbench will not be possible since 1.3 JVM's do not support the JPDA specification.
- Application server connectors should be configured to launch their respective application server with a full JDK (javac included) environment. Do not use a JRE. The full JDK is required because it provides a Java compiler which is required by all application server to compile JSP pages or dynamically process and deploy EJBs. A full JDK for your platform can be downloaded from Sun Microsystems at http://java.sun.com/j2se/downloads/index.html
- Only MyEclipse J2EE project types (Enterprise, EJB, and WEB) may be deployed with the MyEclipse Deployment Service. MyEclipse does not support direct deployment of basic Java projects.


