Sun ONE Application Server 7, Enterprise Edition Migrating and Redeploying Server Applications Guide |
About This Guide
This Migrating and Redeploying Server Applications Guide describes how J2EE applications are migrated from earlier versions of the Sun ONE Application Server to Sun ONE Application Server 7 product line.
This manual is intended for system administrators, network administrators, application server administrators and web developers who have an interest in migration issues.
What You Should KnowBefore you begin, you should already be familiar with the following topics:
- HTML
- Application Servers
- Client/Server programming model
- Internet and World Wide Web
- Windows 2000 and/or Solaris operating systems
- Java programming
- Java APIs as defined in specifications for EJBs, Java Server Pages (JSP)
- Java Database Connectivity (JDBC)
- Structured database query languages such as SQL
- Relational database concepts
- Software development processes, including debugging and source code control
How This Guide is OrganizedThis guide is organized as follows:
- Chapter 1, "Migration Considerations," describes the enhancements available in Sun ONE Application Server 7, Enterprise Edition.
- Chapter 2, "Migrating to Sun ONE Application Server 7, Enterprise Edition Overview," describes the architecture of the Sun ONE Application Server 7 and the differences between J2EE standards and application components implemented with this version of the Sun ONE Application Server versus previous versions.
- Chapter 3, "Migrating from Sun ONE Application Server 6.x to Sun ONE Application Server 7," describes considerations and strategies for migrating applications from Sun ONE Application Server 6.x to 7 Standard Edition and Enterprise Edition. There are also sample migration applications included that provide an end-to-end description of the migration process.
- Chapter 4, "Installation, Administration, and Deployment," describes the difference between installing and administering Sun ONE Application Server 7, Enterprise Edition and Sun ONE Application Server 6.x Enterprise Edition. Also includes a brief description of the deployment topologies.
- Chapter 5, "Migrating iBank Application - Walkthrough," describes the process for migrating the main components of a J2EE application to Sun ONE Application Server 7 Enterprise Edition. Uses iBank sample application as the example to demonstrate the steps.
- Chapter 6, "Importing 6.5 Applications in Sun ONE Studio," describes the steps to import a Sun ONE Application Server 6.x application to Sun ONE Application Server 7 Enterprise Edition and deploy the same to the Application Server.
- Appendix A, "iBank Application Specification," describes the modifications required to migration from EJB 1.1 specification to EJB 2.0.
- Appendix B, "Migration Resources," describes the resources that helps in migrating the J2EE applications to Sun ONE Application Server 7, EE.
- Appendix C, "Migrating from the Enterprise Java Beans 1.1 Specification to Enterprise Java Beans 2.0," describes the iBank specification that is used throughout this guide.
Using the DocumentationThe Sun ONE Application Server manuals are available as online files in Portable Document Format (PDF) and Hypertext Markup Language (HTML) at:
http://docs.sun.com/db/prod/s1appsrv
The following table lists tasks and concepts described in the Sun ONE Application Server 7, Enterprise Edition manuals. The left column lists the tasks and concepts, and the right column lists the corresponding manuals.
Documentation ConventionsThis section describes the types of conventions used throughout this guide:
General Conventions
The following general conventions are used in this guide:
- Font conventions include:
- The monospace font is used for sample code and code listings, API and language elements (such as function names and class names), file names, pathnames, directory names, and HTML tags.
- Italic type is used for code variables.
- Italic type is also used for book titles, emphasis, variables and placeholders, and words used in the literal sense.
- Bold type is used as either a paragraph lead-in or to indicate words used in the literal sense.
- Installation root directories for most platforms are indicated by install_dir in this document. Exceptions are noted in "Conventions Referring to Directories".
By default, the location of install_dir on most platforms is:
/opt/SUNWappserver7
The directories, default_config_dir and install_config_dir are identical to install_dir. See "Conventions Referring to Directories", for exceptions and additional information.
Conventions Referring to Directories
By default, when using the Solaris 8 and 9 installation, the application server files are spread across several root directories. These directories are described in this section.
- For Solaris 8 and 9 installations, this guide uses the following document conventions to correspond to the various default installation directories provided:
- install_dir refers to /opt/SUNWappserver7, which contains the static portion of the installation image. All utilities, executables, and libraries that make up the application server reside in this location.
- default_config_dir refers to /var/opt/SUNWappserver7/domains which is the default location for any domains that are created.
- install_config_dir refers to /etc/opt/SUNWappserver7/config, which contains installation-wide configuration information such as licenses and the master list of administrative domains configured for this installation.
Product SupportIf you have general feedback on the product or documentation, please send this to appserver-feedback@sun.com.
If you have problems with your system, contact customer support using one of the following mechanisms:
Please have the following information available prior to contacting support. This helps to ensure that our support staff can best assist you in resolving problems:
- Description of the problem, including the situation where the problem occurs and its impact on your operation
- Machine type, operating system version, and product version, including any patches and other software that might be affecting the problem
- Detailed steps on the methods you have used to reproduce the problem
- Any error logs or core dumps