Migrating from Apache Tomcat to WebSphere application Server Liberty profile

Source: Internet
Author: User
Tags config require tomcat tomcat server apache tomcat websphere application server

Brief introduction

Apache Tomcat is an HTTP server and servlet container that is commonly used in simple WEB applications, as well as applications that use a framework that does not require a complete Java EE server. However, users often find that when there is more demand for Apache Tomcat, their initial simplicity becomes complex and impractical.

For example, perhaps the footprint of an Apache Tomcat installation becomes too large, because you need to add third-party libraries to provide the functionality you need. Alternatively, the startup time of the server may also be a problem because any configuration changes to the Server.xml file require that the Apache Tomcat server be restarted. Or, integrating and maintaining third-party libraries has become too time-consuming.

Either of these scenarios is sufficient to allow you to consider migrating Apache Tomcat applications and their configuration information to IBM WebSphere application Server V8.5.5 Libertyprofile. Liberty Profile provides a lightweight and Easy-to-use application server that takes up less space and starts the server quickly. It also includes Java EE features that many Apache Tomcat does not have, thus reducing the need to integrate and maintain third-party libraries.

Using Liberty Profile:

Users configure the components they need for their applications, making the server less space consuming and server startup time faster.

Configuration changes do not require a reboot of the server. They are automatically effective.

WebSphere application Server Developer Tools for Eclipse makes it easier to develop, test, and publish Web applications on the Liberty profile.

Configuration is done through a simple XML file. WebSphere application Server Developer Tools for Eclipse provides an intuitive user interface for viewing and modifying this configuration.

Learn more about the WebSphere application Server V8.5.5 Liberty profile in the information center and the Wasdev community.

This article provides instructions for migrating applications and their configuration information from Apache Tomcat to IBM WebSphere application Server V8.5.5 Liberty profile.

However, before migrating the configuration, you should migrate your applications first to ensure optimal compatibility and performance with WebSphere application Server V8.5. To facilitate migration, application migration Tool-apache Tomcat to Websphe are available in IBM WebSphere application Server Migration Toolkit Re, for scanning application code to detect required updates, and to provide quick fixes where possible. You can then migrate a subset of server and application configurations to Liberty profile in the Wasdev development blog as a Tech Preview-provided new configuration Migration Tool, Tomcat Config migration. When used together, these migration tools provide a reliable and easy way to migrate from Apache Tomcat to Liberty profile.

Prerequisite

This article assumes that you have configured an application for Apache Tomcat and want to migrate and publish it to the WebSphere application Server Liberty profile. For illustration purposes, this article refers to a sample application that has been published in an IBM Redbook publication (IBM Redbooks Publications sample application). The remainder of this article describes it as a sample application.

To follow the instructions in this article, you will need to download, properly install, and manipulate the software listed here:

Eclipse 4.2.2 for Java EE developers (Juno SR2)

IBM WebSphere Application Server V8.5.5 Liberty profile

IBM WebSphere Application Server Developer Tools for Eclipse V8.5.5

Application migration Tool–apache Tomcat to WebSphere V3.5.1

Tomcat Config Migration Tech Preview V3.5.1

1. Migrating Applications

The first step is to migrate the application itself using application migration Tool–apache Tomcat to WebSphere. If your application is not yet in the Eclipse workspace, follow these steps to import it:

In Eclipse, select File > Import ...

Select Web > WAR file.

Click Next.

Click Browse to navigate to the WAR file.

Set Target runtime to WebSphere application Server V8.5 Libertyprofile.

Click Next, and then click Finish.

You can now configure and run application migration Tool. Follow the detailed instructions in chapter 9th 4.5 of the WebSphere application Server V8.5 migration Guide.

After you complete the migration of your application, you can begin migrating configurations.

More Wonderful content: http://www.bianceng.cn/Servers/web/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.