Migrate Web applications

Migration of Web applications that were deployed in WAS Version 4.x is not necessary. While version 2.3 of the servlet specification and version 1.2 of the JavaServer Pages (JSP) specification are supported by WAS Version 5.x, versions 1.1 and 1.2 of the JavaServer Pages (JSP) specification are compatible and the difference between versions 2.2 and 2.3 of the servlet specification are minor. However, there are behavioral differences between the Java 2 Enterprise Edition (J2EE) 1.2 and 1.3 specifications. Bear in mind that the J2EE 1.3 specification is implemented in Version 5, and it overrides any J2EE 1.2 behaviors.

Note: This topic does not describe how to migrate your entire configuration to Version 5. For more information about migrating your configuration, see Migration for migration instructions and tools.

Servlet migration might be a concern for your application if it has these characteristics:

JSP migration might be a concern if your application references JSP implementation classes in unnamed packages, or if you install WAS Version 4.x EAR files that contain compiled JSP classes, in Version 5. Your 4.x EAR files may contain compiled JSP classes if:

If you use the IBM <tsx:dbquery> tag in any of your JSPs, you might need to make additional updates. In Version 5.0, the behavior of the tag's id attribute changed. In previous versions, the id attribute specified the object name of the bean, but now refers to the bean's key name that is stored in the page context. For more information, see <tsx:dbquery> in the Application Development topic.

Here are some tips for migrating your Web applications:

Issues concerning the migration of JSPs and Servlets
When you migrate from Version 3.5 to Version 5, servlets and JSPs that are installed in the default Web application (default_app) are not migrated by the WAS migration tools. Options to migrate application components that are installed in the default_app Web application are as follows:

  1. Install the servlets and JSPs to a different Web application. The WAS migration tools migrate these application components.
  2. Use the WAS migration tools to migrate the resources used by the servlets and JSPs that are installed in the default Web application. The migration tools migrate resources, such as data sources and virtual hosts. After you migrate the resources, manually migrate the servlets and JSPs without using the WAS migration tools.