This document provides an overview of migrating applications from Oracle Containers for J2EE (OC4J) to WebLogic Server (WLS). It discusses the benefits of migrating such as improved management and features in WLS. The process involves choosing the easiest application to migrate first, moving it to JDeveloper 11g for configuration, deploying to WLS 11g, fixing any errors, running full testing, and learning WLS terminology and management practices. Migrating involves addressing differences in classpaths, deployment descriptors, libraries, web and EJB applications between the two platforms.
In this document
Powered by AI
Presentation introduction by Liran Zelkha and migration from OC4J to WebLogic Server (WLS).
Agenda detailing migration goals and benefits, highlighting the decline of OC4J, superiority of WLS, management improvements, and migration complexities.
Steps for migration process emphasizing selection criteria for the easiest application, potential proprietary features, and challenges with legacy systems.
Utilization of JDev11g for migration and configuration setups required for WLS, advising on potential deployment issues.
Steps to fix issues post-migration including identifying failures, classpath problems, and XML library conflicts.
Importance of updating WebLogic-specific deployment descriptors like weblogic.xml and weblogic-ejb-jar.xml during migration.
Managing library conflicts and web application configuration differences, especially regarding servlet mappings and SSO.
Discussion on complexities of migrating EJB applications, especially CMP beans, and ensuring quality assurance post-migration.
Key terminology related to WLS, including domain structure and administrative elements, as well as ecosystem management practices.
Closing remarks on ecosystem training, with space allocated for questions and answers regarding the migration process.
Should We MigrateOC4Jis dying, if not deadWLS is the new kingWLS is so much betterBetter managementMore featuresMigration is difficultTakes a long timeDoesn’t have to…
Choose Easiest ApplicationTryto answer the following questions:OC4J version:iAS version:JavaJava version?Does the application open internal threads?JDBC?J2EE Technologies in use:ServletsJSPJSFEJBVersionXMLDoes the application parse XML files on its own?If yes, how?XSL?JMSJNDI lookupJCA
10.
Choose Easiest Application– Cont’Security:Single Sign On?JAZN?Build a custom JAZN module?ADFADF?BC4J?TopLink? DatabaseOracle version?RAC enabled?OC4J configurationCustom start parameters for the OC4J instance?Shared libraries?JARs in LIB directory?Management tool integration?Deployment?WARJAREAR
11.
Choose Easiest Application– Cont’Choose the application with the minimal number of proprietary features usedSome applications can’t be migrated easilyOld (not supported Java version, ADF migration)Proprietary features (will be discussed later)
12.
Move To JDev11gGreattoolIntegrated with WLSCan generate EAR, JAR, WAR files for WLS for youIncluding proprietary filesRemember to have enough RAM on your developers machinesNote:If you use ADF – migration might be necessary (depending on your ADF version)
13.
Try To MoveTo WLS11gConfigurationData sourcesJMS sourcesSecurityJust run your appProbably deployment issues will arise…
14.
Fix ProblemsDeployKeep yourfingers crossedIdentifying failuresFailed to start app in WLSExceptions in server consoleCan’t access web applicationCan’t see EJBs in JNDI view
15.
Fix Problems –Class PathClasspath issuesAre you using app-inf/lib?Are you using lib/endorsed?XML libraries issuesHave you used standard XML parser or Oracle?
16.
Deployment DescriptorsMissing infoin weblogic.xml, weblogic-ejb-jar.xml filesWeblogic.xml replaces orion-web.xmlNeeded for resource/ejb referencesClass loader managementContext root for standalone WAR files
17.
Deployment Descriptors –Cont’Weblogic-ejb-jar.xml replaces orion-ejb-jar.xmlUsed for JNDI namingNeeded for resource/ejb referencesMDB configurationweblogic-cmp-rdbms.xml used for CMP beans
Web AppOC4J autoexposed servletsWLS does not. Make sure servlet and servlet-mapping tags exist in your web.xml fileSSO configurationNo more jaznConfiguration is done at WLS level, not web-appSSL configuration
20.
EJB AppCMP beansmigration is a painEJB3 migration is much easier…JNDI naming is differentJNDI tree is differentUse JNDI view to recognize namesIf app client is usedClasspath is differentnew InitialContext() parameters are different
21.
Run Full QAMakesure full tests run on the web applicationSame as releasing a new version
22.
2 Words OnWLS TerminologyDomainManaged ServerAdmin ServerManaged Server
23.
Eco SystemScriptsManagement –install app, start server, stop server, etc.WLST against domain server – vs. opmnctlSecuritySSL certificates, users