Migrating Applications from Weblogic, Jboss and Tomcat to Websphere V6, SG24-6690: Hernan Cunico, Leonardo Fernandez, Christian Hellsten and Roman

Total Page:16

File Type:pdf, Size:1020Kb

Migrating Applications from Weblogic, Jboss and Tomcat to Websphere V6, SG24-6690: Hernan Cunico, Leonardo Fernandez, Christian Hellsten and Roman Front cover WebSphere Application Server V7 Competitive Migration Guide Learn migration strategy and planning Experiment with the Migration Toolkit Review migration case studies Joao Emilio S B da Silva Kiran Mantripragada Vasfi Gucer Kurtcebe Eroglu Hamdy Eed Fabio Xavier Albertoni ibm.com/redbooks International Technical Support Organization WebSphere Application Server V7: Competitive Migration Guide August 2010 SG24-7870-00 Note: Before using this information and the product it supports, read the information in “Notices” on page xix. First Edition (August 2010) This edition applies to IBM WebSphere Application Server Version 7.0. © Copyright International Business Machines Corporation 2010. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Figures . xi Tables . xv Examples. xvii Notices . xix Trademarks . xx Preface . xxi The team who wrote this book . xxi Now you can become a published author, too! . xxiii Comments welcome. xxiii Stay connected to IBM Redbooks . xxiv Chapter 1. Introduction. 1 1.1 Objectives . 2 1.2 Scope of this book. 2 1.3 Applications covered in this book . 3 1.3.1 Java SE and EE technologies covered . 4 1.4 What is not covered in this book . 4 1.5 How to use this book . 5 Chapter 2. Common migration issues. 7 2.1 Java EE application server compatibility . 8 2.1.1 Differences in Java EE implementations. 8 2.1.2 Using vendor-specific features . 12 2.1.3 Deployment descriptors . 12 2.2 Application portability . 15 2.2.1 Application packaging . 15 2.2.2 Java source code . 18 2.2.3 Use of native code . 18 2.2.4 Database-related issues . 19 2.2.5 Java EE application clients . 20 2.3 J2EE 1.4 to Java EE 5 migration considerations . 21 2.3.1 Java Message Service . 21 2.3.2 Java Server Pages . 22 2.3.3 Servlets . 22 2.3.4 Java Server Faces . 22 © Copyright IBM Corp. 2010. All rights reserved. iii 2.3.5 Web services. 22 2.4 Runtime migration issues . 23 2.4.1 Migrating other products at the same time . 23 2.4.2 Resource definitions . 24 2.4.3 Development environment issues . 26 Chapter 3. WebSphere overview . 27 3.1 IBM WebSphere Platform . 28 3.1.1 Application infrastructure. 28 3.1.2 Application integration. 29 3.1.3 Business process management . 29 3.1.4 Business rule management systems . 29 3.1.5 Optimization . 30 3.1.6 Portals . 30 3.2 WebSphere Application Server V7 . 30 3.2.1 Overview . 30 3.2.2 Packaging . 33 3.2.3 Java Platform Enterprise Edition (Java EE) . 36 3.2.4 Evolving Java application development standards . 38 3.2.5 Supported hardware, platforms, and software . 39 3.2.6 New features and enhancements in WebSphere Application Server V7 . 43 3.2.7 Feature packs . 55 3.3 Development and deployment tools . 63 3.3.1 Rational Application Developer for Assembly and Deploy V7.5 . 64 3.3.2 Rational Application Developer for WebSphere Software V7.5 . 66 3.3.3 WebSphere Rapid Deployment. 67 3.3.4 Choosing which tools to use . 68 Chapter 4. Migration strategy and planning . 69 4.1 Migration process overview. 70 4.1.1 Types of migrations. 71 4.1.2 Important aspects of migrations . 72 4.1.3 Migration considerations . 73 4.2 Before beginning . 75 4.2.1 Migration assessment . 75 4.3 Migration planning . 77 4.3.1 Roles and responsibilities . 77 4.3.2 Getting help. 77 4.3.3 Migration project plan . 78 4.4 Migration implementation . 79 4.4.1 Implementation considerations . 79 4.4.2 Implementation phases . 80 iv WebSphere Application Server V7: Competitive Migration Guide 4.4.3 Application migration. 82 4.4.4 Runtime migration . 83 4.5 Post deployment . 83 4.5.1 Performance tuning and optimization . 84 4.5.2 WebSphere Application Server V7: New opportunities. 84 4.6 Summary . 86 Chapter 5. Installation and configuration . 87 5.1 Hardware and software . 88 5.2 IBM Rational Application Developer for WebSphere Software . 88 5.2.1 Installing the latest fixpack . 90 5.2.2 Verifying installation . 93 5.3 IBM Application Migration Tool . 95 5.3.1 Installing Application Migration Tool into IBM Rational Application Developer for WebSphere Software . 95 5.4 IBM DB2 Server Express Edition . 97 Chapter 6. Migration from Oracle WebLogic. ..
Recommended publications
  • AJAX Requests CPEN400A - Building Modern Web Applications - Winter 2018-1
    What is AJAX XmlHttpRequest Callbacks and Error Handling JSON Lecture 6: AJAX Requests CPEN400A - Building Modern Web Applications - Winter 2018-1 Karthik Pattabiraman The Univerity of British Columbia Department of Electrical and Computer Engineering Vancouver, Canada Thursday, October 17, 2019 What is AJAX XmlHttpRequest Callbacks and Error Handling JSON What is AJAX ? 2 1 What is AJAX 2 XmlHttpRequest 3 Callbacks and Error Handling 4 JSON What is AJAX XmlHttpRequest Callbacks and Error Handling JSON What is AJAX ? 3 Mechanism for modern web applications to communicate with the server after page load Without refreshing the current page Request can be sent asynchronously without holding up the main JavaScript thread Stands for “Asynchronous JavaScript and XML”, but does not necessarily involve XML Complement of COMET (Server Push) What is AJAX XmlHttpRequest Callbacks and Error Handling JSON A Brief History of AJAX 4 Introduced by Microsoft as part of the Outlook Web Access (OWA) in 1998 Popularized by Google in Gmail, Maps in 2004-05 Term AJAX coined around 2005 in an article Made part of the W3C standard in 2006 Supported by all major browsers today What is AJAX XmlHttpRequest Callbacks and Error Handling JSON Uses of AJAX 5 Interactivity To enable content to be brought in from the server in response to user requests Performance Load the most critical portions of a webpage first, and then load the rest asynchronously Security (this is questionable) Bring in only the code/data that is needed on demand to reduce the attack surface of the
    [Show full text]
  • Introduction to Oracle Weblogic Server 11G Release 1 (10.3.1)
    Oracle® Fusion Middleware Introduction to Oracle WebLogic Server 11g Release 1 (10.3.1) E13752-01 May 2009 This document provides an overview of Oracle WebLogic Server features and describes how you can use them to create enterprise-ready solutions. 1 Introduction to Oracle WebLogic Server The following sections provide a brief overview of Oracle WebLogic Server features and describe how you can use them to create enterprise-ready solutions: Note: Oracle Fusion Middleware 11g contains Oracle WebLogic Server 11g. The version number of Oracle WebLogic Server is 10.3.1. ■ Section 1.1, "The WebLogic Server Solution" ■ Section 1.2, "Programming Models" ■ Section 1.3, "High Availability" ■ Section 1.4, "System Administration" ■ Section 1.5, "Diagnostic Framework" ■ Section 1.6, "Security" ■ Section 1.7, "Oracle JRockit JVM" ■ Section 1.8, "Client Options" ■ Section 1.9, "Upgrade" ■ Section 1.10, "Integration with Oracle WebLogic Suite" ■ Section 1.11, "Integration with Other Systems" ■ Section 1.12, "Integration with Web Servers" ■ Section 1.13, "WebLogic Server API Examples and Sample Application" 1.1 The WebLogic Server Solution Oracle WebLogic Server is a scalable, enterprise-ready Java Platform, Enterprise Edition (Java EE) application server. The WebLogic Server infrastructure supports the deployment of many types of distributed applications and is an ideal foundation for building applications based on Service Oriented Architectures (SOA). SOA is a design methodology aimed at maximizing the reuse of application services. See http://www.oracle.com/technology/tech/soa/index.html. 1 The WebLogic Server complete implementation of The Sun Microsystems Java EE 5.0 specification provides a standard set of APIs for creating distributed Java applications that can access a wide variety of services, such as databases, messaging services, and connections to external enterprise systems.
    [Show full text]
  • Oracle® Toplink Release Notes Release 12C (12.1.2)
    Oracle® TopLink Release Notes Release 12c (12.1.2) E40213-01 June 2013 This chapter describes issues associated with Oracle TopLink. It includes the following topics: ■ Section 1, "TopLink Object-Relational Issues" ■ Section 2, "Oracle Database Extensions with TopLink" ■ Section 3, "Allowing Zero Value Primary Keys" ■ Section 4, "Managed Servers on Sybase with JCA Oracle Database Service" ■ Section 5, "Logging Configuration with EclipseLink Using Container Managed JPA" ■ Section 6, "Documentation Accessibility" 1 TopLink Object-Relational Issues This section contains information on the following issues: ■ Section 1.1, "Cannot set EclipseLink log level in WLS System MBean Browser" ■ Section 1.2, "UnitOfWork.release() not Supported with External Transaction Control" ■ Section 1.3, "Returning Policy for UPDATE with Optimistic Locking" ■ Section 1.4, "JDBC Drivers returning Timestamps as Strings" ■ Section 1.5, "Unit of Work does not add Deleted Objects to Change Set" 1.1 Cannot set EclipseLink log level in WLS System MBean Browser Use Oracle Enterprise Manager to set the EclipseLink log level; do not use the WLS System MBean Browser to complete this action. 1.2 UnitOfWork.release() not Supported with External Transaction Control A unit of work synchronized with a Java Transaction API (JTA) will throw an exception if it is released. If the current transaction requires its changes to not be persisted, the JTA transaction must be rolled back. When in a container-demarcated transaction, call setRollbackOnly() on the EJB/session context: @Stateless public class MySessionBean { @Resource SessionContext sc; public void someMethod() { ... 1 sc.setRollbackOnly(); } } When in a bean-demarcated transaction then you call rollback() on the UserTransaction obtained from the EJB/session context: @Stateless @TransactionManagement(TransactionManagementType.BEAN) public class MySessionBean implements SomeInterface { @Resource SessionContext sc; public void someMethod() { sc.getUserTransaction().begin(); ..
    [Show full text]
  • What's New in Oracle Weblogic Server 12.2.1.3.0
    Oracle® Fusion Middleware What's New in Oracle WebLogic Server 12.2.1.3.0 12c (12.2.1.3.0) E80396-05 April 2018 Oracle Fusion Middleware What's New in Oracle WebLogic Server 12.2.1.3.0, 12c (12.2.1.3.0) E80396-05 Copyright © 2007, 2018, Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency- specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs.
    [Show full text]
  • Jersey 1.8 User Guide Jersey 1.8 User Guide Table of Contents
    Jersey 1.8 User Guide Jersey 1.8 User Guide Table of Contents Preface ............................................................................................................................ ix 1. Getting Started ............................................................................................................... 1 1.1. Creating a root resource ........................................................................................ 2 1.2. Deploying the root resource ................................................................................... 3 1.3. Testing the root resource ....................................................................................... 3 1.4. Here's one Paul created earlier ................................................................................ 4 2. Overview of JAX-RS 1.1 ................................................................................................. 5 2.1. Root Resource Classes .......................................................................................... 5 2.1.1. @Path ...................................................................................................... 5 2.1.2. HTTP Methods .......................................................................................... 6 2.1.3. @Produces ................................................................................................ 7 2.1.4. @Consumes .............................................................................................. 9 2.2. Deploying a RESTful Web Service .........................................................................
    [Show full text]
  • HTML5 Websocket Protocol and Its Application to Distributed Computing
    CRANFIELD UNIVERSITY Gabriel L. Muller HTML5 WebSocket protocol and its application to distributed computing SCHOOL OF ENGINEERING Computational Software Techniques in Engineering MSc arXiv:1409.3367v1 [cs.DC] 11 Sep 2014 Academic Year: 2013 - 2014 Supervisor: Mark Stillwell September 2014 CRANFIELD UNIVERSITY SCHOOL OF ENGINEERING Computational Software Techniques in Engineering MSc Academic Year: 2013 - 2014 Gabriel L. Muller HTML5 WebSocket protocol and its application to distributed computing Supervisor: Mark Stillwell September 2014 This thesis is submitted in partial fulfilment of the requirements for the degree of Master of Science © Cranfield University, 2014. All rights reserved. No part of this publication may be reproduced without the written permission of the copyright owner. Declaration of Authorship I, Gabriel L. Muller, declare that this thesis titled, HTML5 WebSocket protocol and its application to distributed computing and the work presented in it are my own. I confirm that: This work was done wholly or mainly while in candidature for a research degree at this University. Where any part of this thesis has previously been submitted for a degree or any other qualification at this University or any other institution, this has been clearly stated. Where I have consulted the published work of others, this is always clearly attributed. Where I have quoted from the work of others, the source is always given. With the exception of such quotations, this thesis is entirely my own work. I have acknowledged all main sources of help. Where the thesis is based on work done by myself jointly with others, I have made clear exactly what was done by others and what I have contributed myself.
    [Show full text]
  • Opening Plenary State of the Feather
    Opening Plenary Lars Eilebrecht V.P., Conference Planning at ASF and Lead for ApacheCon Europe 2009 State of the Feather Jim Jagielski Chairman, The Apache Software Foundation Welcome to Amsterdam Presented by The Apache Software Foundation Produced by Stone Circle Productions, Inc. Conference Program • Detailed conference program guide available as a PDF from the ApacheCon Web site – www.eu.apachecon.com • Printed Conference-at-a- Glance program available at registration desk Presentations • 4 Tracks every day starting at 9:00 • Presentation slides provided by speakers will be made available on the ApacheCon Web site during the conference Wednesday Special Events • 9:15-9:30: Jim Jagielski “State of the Feather” • 9:30-10:30: Raghu Ramakrishnan “Data Management in the Cloud” • 10:30-11:30: Arjé Cahn, Ajay Anand, Steve Loughran, and Mark Brewer “Panel: The Business of Open Source”, moderated by Sally Khudairi • 13:00-14:00: Lars Eilebrecht “Behind the Scenes of The ASF” Wednesday Special Events • 18:30-20:00: Welcome Reception and ASF 10th Anniversary Party – Celebrating a Decade of Open Source Leadership • 19:30: OpenPGP Key Signing – [email protected] – moderated by Jean-Frederic Clere Thursday Special Events • 13:00-14:00: Jim Jagielski “Sponsoring the ASF at the Corporate and Individual Level” • 17:30-18:30: James Governor “Open Sourcing The Analyst Business – Turning Prop. Knowledge Inside Out” • 18:30-20:00: “Lightning Talks”, mod. by Danese Cooper and Rich Bowen Friday Special Events • 11:30-13:00: Lars Eilebrecht, Dirk- Willem van Gulik, Jim Jagielski, Sally Khudairi, Cliff Skolnick, “Apache Pioneer's Panel – 10 years of the ASF”, mod.
    [Show full text]
  • Security Management Server Virtual V10.2.11 Adminhelp
    Security Management Server Virtual v10.2.11 AdminHelp Table of Contents Welcome ............................................................................................................................................................... 1 About Online Help ............................................................................................................................................. 1 Attributions & Copyrights .................................................................................................................................. 1 Get Started.......................................................................................................................................................... 23 Get Started with Dell Data Security ................................................................................................................ 23 Log In ............................................................................................................................................................... 23 Log Out ............................................................................................................................................................ 23 Dashboard ........................................................................................................................................................ 24 Change Superadmin Password ......................................................................................................................... 26 Components .......................................................................................................................................................
    [Show full text]
  • The Dzone Guide to Volume Ii
    THE D ZONE GUIDE TO MODERN JAVA VOLUME II BROUGHT TO YOU IN PARTNERSHIP WITH DZONE.COM/GUIDES DZONE’S 2016 GUIDE TO MODERN JAVA Dear Reader, TABLE OF CONTENTS 3 EXECUTIVE SUMMARY Why isn’t Java dead after more than two decades? A few guesses: Java is (still) uniquely portable, readable to 4 KEY RESEARCH FINDINGS fresh eyes, constantly improving its automatic memory management, provides good full-stack support for high- 10 THE JAVA 8 API DESIGN PRINCIPLES load web services, and enjoys a diverse and enthusiastic BY PER MINBORG community, mature toolchain, and vigorous dependency 13 PROJECT JIGSAW IS COMING ecosystem. BY NICOLAI PARLOG Java is growing with us, and we’re growing with Java. Java 18 REACTIVE MICROSERVICES: DRIVING APPLICATION 8 just expanded our programming paradigm horizons (add MODERNIZATION EFFORTS Church and Curry to Kay and Gosling) and we’re still learning BY MARKUS EISELE how to mix functional and object-oriented code. Early next 21 CHECKLIST: 7 HABITS OF SUPER PRODUCTIVE JAVA DEVELOPERS year Java 9 will add a wealth of bigger-picture upgrades. 22 THE ELEMENTS OF MODERN JAVA STYLE But Java remains vibrant for many more reasons than the BY MICHAEL TOFINETTI robustness of the language and the comprehensiveness of the platform. JVM languages keep multiplying (Kotlin went 28 12 FACTORS AND BEYOND IN JAVA GA this year!), Android keeps increasing market share, and BY PIETER HUMPHREY AND MARK HECKLER demand for Java developers (measuring by both new job 31 DIVING DEEPER INTO JAVA DEVELOPMENT posting frequency and average salary) remains high. The key to the modernization of Java is not a laundry-list of JSRs, but 34 INFOGRAPHIC: JAVA'S IMPACT ON THE MODERN WORLD rather the energy of the Java developer community at large.
    [Show full text]
  • What's New in Oracle Weblogic Server 12C Release 1 (12.1.1)
    Oracle® Fusion Middleware What's New in Oracle WebLogic Server 12c Release 1 (12.1.1) E24494-07 February 2014 Welcome to Oracle WebLogic Server. This is most significant release of WebLogic Server to date, as it is the first release of WebLogic Server that is compliant with Java Enterprise Edition 6 (Java EE 6). The following sections describe new and changed functionality in this WebLogic Server release: ■ Section 1, "JDK 7 Certification" ■ Section 2, "Java EE 6 Support" ■ Section 3, "Administration Console" ■ Section 4, "Core Server" ■ Section 5, "Enterprise Java Beans (EJBs)" ■ Section 6, "JDBC Data Sources" ■ Section 7, "Node Manager" ■ Section 8, "Resource Adapters" ■ Section 9, "Security" ■ Section 10, "Stand-alone Clients" ■ Section 11, "Web Services" ■ Section 12, "Web Server Plug-ins" ■ Section 13, "Standards Support" ■ Section 14, "Supported Configurations" ■ Section 15, "WebLogic Server Compatibility" ■ Section 16, "Documentation Accessibility" 1 JDK 7 Certification On March 15, 2012, Oracle made available an updated Oracle WebLogic Server 12.1.1 distribution. This distribution includes patches that enable Java SE Development Kit (JDK) 7 certification and provide other product optimizations. Oracle recommends use of WebLogic Server 12.1.1 with these patches applied, on both JDK 6 and JDK 7. You can obtain these patches in either of the following ways: ■ The preferred approach is to use the updated WebLogic Server 12.1.1 distribution. If you obtain the updated product distribution for WebLogic Server 12.1.1 on or after March 15, 2012, the patches are included. After you install WebLogic Server, 1 the JDK 7 certification patches are automatically applied and put in effect when using standard WebLogic Server start scripts.
    [Show full text]
  • Return of Organization Exempt from Income
    OMB No. 1545-0047 Return of Organization Exempt From Income Tax Form 990 Under section 501(c), 527, or 4947(a)(1) of the Internal Revenue Code (except black lung benefit trust or private foundation) Open to Public Department of the Treasury Internal Revenue Service The organization may have to use a copy of this return to satisfy state reporting requirements. Inspection A For the 2011 calendar year, or tax year beginning 5/1/2011 , and ending 4/30/2012 B Check if applicable: C Name of organization The Apache Software Foundation D Employer identification number Address change Doing Business As 47-0825376 Name change Number and street (or P.O. box if mail is not delivered to street address) Room/suite E Telephone number Initial return 1901 Munsey Drive (909) 374-9776 Terminated City or town, state or country, and ZIP + 4 Amended return Forest Hill MD 21050-2747 G Gross receipts $ 554,439 Application pending F Name and address of principal officer: H(a) Is this a group return for affiliates? Yes X No Jim Jagielski 1901 Munsey Drive, Forest Hill, MD 21050-2747 H(b) Are all affiliates included? Yes No I Tax-exempt status: X 501(c)(3) 501(c) ( ) (insert no.) 4947(a)(1) or 527 If "No," attach a list. (see instructions) J Website: http://www.apache.org/ H(c) Group exemption number K Form of organization: X Corporation Trust Association Other L Year of formation: 1999 M State of legal domicile: MD Part I Summary 1 Briefly describe the organization's mission or most significant activities: to provide open source software to the public that we sponsor free of charge 2 Check this box if the organization discontinued its operations or disposed of more than 25% of its net assets.
    [Show full text]
  • USER GUIDE IE-SNC-P86xx-07
    COMET SYSTEM www.cometsystem.com Web Sensor P8610 with PoE Web Sensor P8611 with PoE Web Sensor P8641 with PoE USER GUIDE IE-SNC-P86xx-07 © Copyright: COMET System, s.r.o. Is prohibited to copy and make any changes in this manual, without explicit agreement of company COMET System, s.r.o. All rights reserved. COMET System, s.r.o. makes constant development and improvement of their products. Manufacturer reserves the right to make technical changes to the device without previous notice. Misprints reserved. Manufacturer is not responsible for damages caused by using the device in conflict with this manual. To damages caused by using the device in conflict with this manual cannot be provide free repairs during the warranty period. Revision history This manual describes devices with latest firmware version according the table below. Older version of manual can be obtained from a technical support. This manual is also applicable to discontinued device P8631. Document version Date of issue Firmware version Note IE-SNC-P86xx-01 2011-06-13 4-5-1-22 Latest revision of manual for an old generation of firmware for P86xx devices. IE-SNC-P86xx-04 2014-02-20 4-5-5-x Initial revision of manual for new generation of 4-5-6-0 P86xx firmware. IE-SNC-P86xx-05 2015-03-13 4-5-7-0 IE-SNC-P86xx-06 2015-09-25 4-5-8-0 IE-SNC-P86xx-07 2017-10-26 4-5-8-1 2 IE-SNC-P86xx-07 Table of contents Introduction ........................................................................................................................................................ 4 General safety rules ..................................................................................................................................... 4 Device description and important notices ..............................................................................................
    [Show full text]