Sun Java logo     Copyright      Index      Next     

Sun logo
Sun Java System Application Server Enterprise Edition 8.1 2005Q1 Upgrade and Migration Guide 

Contents


Preface
Who Should Use This Guide
Before You Read This Book
How This Guide Is Organized
Conventions Used in This Book
Typographic Conventions
Symbols
Default Paths and File Names
Shell Prompts
Related Documentation
Books in This Documentation Set
Other Server Documentation
Accessing Sun Resources Online
Contacting Sun Technical Support
Related Third-Party Web Site References
Sun Welcomes Your Comments

Chapter 1   Application Server Compatibility Issues
Web Server Features
Security Realms
Sun Deployment Descriptor: sun-web.xml
encodeCookies Property
CORBA Performance Option
File Formats
Tools Interoperability
Cluster Scripts
Primary Key Attribute Values
Command Line Interface: hadbm
Command Line Interface: start-appserv and stop-appserv
Command Line Interface: asadmin
Subcommands
Error Codes for Start and Stop Subcommands
Options
Dotted Names
Tokens in Attribute Values
Nulls in Attribute Values

Chapter 2   J2EE 1.4 Compatibility Issues
Binary Compatibility
Source Compatibility
Incompatibilities in the J2EE 1.4 Platform (since the J2EE 1.3 release)
JAXP and SAX Incompatibilities
Application Server 8.1 Options Incompatible with J2EE 1.4 Specification Requirements
Application Server 8.1 Options Contrary to J2EE 1.4 Specification Recommendations

Chapter 3   Upgrading an Application Server Installation
Upgrading Through the Upgrade Utility
Upgrading Through the Wizard
Upgrading a Cluster: How Is It Done?
Correcting Potential PE and EE Upgrade Problems
Migrating Additional HTTP Listeners Defined on the Source Server to the Target PE Server
Migrating Additional HTTP and IIOP Listeners Defined on the Source Server to the Target EE Server
Eliminating Port Conflict Problems
Eliminating Problems Encountered When A Single Domain has Multiple Certificate Database Passwords

Chapter 4   Understanding Migration
J2EE Component Standards
J2EE Application Components
Migration and Deployment
Why is Migration Necessary?
What Needs to be Migrated
What is Deployment of Migrated Applications?

Chapter 5   Migrating from EJB 1.1 to EJB 2.0
EJB Query Language
Local Interfaces
EJB 2.0 Container-Managed Persistence (CMP)
Defining Persistent Fields
Defining Entity Bean Relationships
Message-Driven Beans
Migrating EJB Client Applications
Declaring EJBs in the JNDI Context
Recap on Using EJB JNDI References
Placing EJB References in the JNDI Context
Global JNDI context versus local JNDI context
Migrating CMP Entity EJBs
Migrating the Bean Class
Migration of ejb-jar.xml
Custom Finder Methods

Chapter 6   Migrating from Application Server 6.x/7.x to Application Server 8.1
Migrating Deployment Descriptors
Migrating Web Applications
Migrating Java Server Pages and JSP Custom Tag Libraries
Migrating Servlets
Obtaining a Data Source from the JNDI Context
Declaring EJBs in the JNDI Context
Potential Servlets and JSP Migration Problems
Migrating Web Application Modules
Migrating Enterprise EJB Modules
EJB Migration
EJB Changes Specific to Application Server Platform Edition 8.1
Session Beans
Migrating EJB Applications that Support SFSB Failover (Enterprise Edition)
Entity Beans
Message Driven Beans
Migrating Enterprise Applications
Application Root Context and Access URL
Applications With Form-based Authentication
Migrating Proprietary Extensions
Migrating UIF
Checking in the Registry Files
Checking for UIF Binaries in Installation Directories
Migrating JDBC Code
Establishing Connections Through the DriverManager Interface
Using JDBC 2.0 Data Sources
Looking Up the Data Source Via JNDI To Obtain a Connection
Migrating Rich Clients
Authenticating a Client in Application Server 6.x
Authenticating a Client in Sun Java System Application Server Enterprise Edition 8.1
Using ACC in Application Server 6.x and Sun Java System Application Server Enterprise Edition 8.1
Load-balancing and Failover Features in ACC Clients (Enterprise Edition)
Migrating Applications to Support HTTP Failover (Enterprise Edition)
Migrating Applications from Application Server 7 to Application Server 8.1
Migrating Rich Clients From 7 PE/SE to 8.1 EE
Migrating Rich Clients From 7EE to 8.1 EE
Migrating 7 2004Q2, SE Applications to Application Server 8.1 EE
Migrating EJB Applications to Support SFSB Failover
Migrating EJB Applications From 7 SE/PE/EE to 8.1 EE

Chapter 7   Migrating a Sample Application - an Overview
Preparing for Migrating the iBank Application
Choosing the Target
Identifying the Components of the iBank Application
Manual Steps in the iBank Application Migration
Configuring Database Connectivity
Adding a Connection Pool
Adding a JDBC Resource
Adding a Persistence Manager
Assembling Application for Deployment
Using the asadmin Utility to Deploy the iBank Application on Application Server

Chapter 8   Migration Tools and Resources
Migration Tool for Sun Java System Application Server 8
Redeploying Migrated Applications
J2EE Application Verification Kit
More Migration Information
Migrating from KIVA/NAS/NetDynamics Application Servers

Appendix A   iBank Application Specification
Database Schema
Application Navigation and Logic
Login Process
View/Edit Details
Account Summary and Transaction History
Fund Transfer
Interest Calculation
Application Components
Data Components
Business Components
Application Logic Components (Servlets)
Presentation Logic Components (JSP Pages)
Potential Migration Issues
Servlets
Java Server Pages
JDBC
Enterprise Java Beans
Entity Beans
Session Beans
Application Assembly

Index


Copyright      Index      Next     


Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.