Sun Java logo     Copyright      Index      Next     

Sun logo
Sun Java System Application Server Platform Edition 8 2004Q4 Beta Migration Guide 

Contents


Preface
Who Should Use This Guide
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   Understanding Migration
J2EE Component Standards
J2EE Application Components and Migration
Migration and Redeployment
Why is Migration Necessary?
What Needs to be Migrated
What is Redeployment?

Chapter 2   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 3   Migrating from Sun ONE Application Server 6.x/7.x to Application Server 8
Migrating Deployment Descriptors
Migrating J2EE Components
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 Java Server Pages and JSP Custom Tag Libraries
Migrating Servlets
Obtaining a Data Source from the JNDI Context
Declaring EJBs in the JNDI Context
EJB Migration
EJB Changes Specific to Application Server Platform Edition 8
Session Beans
Entity Beans
Message Driven Beans
Migrating Web Applications
Migrating Web Application Modules
Potential Servlets and JSP Migration Problems
Migrating Enterprise EJB Modules
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 Rich Clients
Authenticating a Client in Sun One Application Server 6.x
Authenticating a Client in Sun Java System Application Server Platform Edition 8
Using ACC in Sun ONE Application Server 6.x and Sun Java System Application Server Platform Edition 8

Chapter 4   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
Assembling Application for Deployment
Using the asadmin Utility to Deploy the iBank Application on Application Server

Chapter 5   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 Sun Microsystems, Inc. All rights reserved.