Weblogic Authors: Yeshim Deniz, Elizabeth White, Michael Meiner, Michael Bushong, Avi Rosenthal

Related Topics: Weblogic

Weblogic: Article

Migrate Early, and Often:Maintain your flexibility to upgrade when the time comes

Migrate Early, and Often:Maintain your flexibility to upgrade when the time comes

Working at a software company and watching products evolve over the years, "Migrate Early, and Often"is the best advice I can give someone who is trying to stay on the cutting edge of technology. Obviously, if you have an application that's in production with no problems and you aren't planning on adding any new features, then of course keep the same version of the underlying platform. However, if you're developing a new application and are currently in the process of architecting and designing, you should definitely talk with your vendor about what you can expect in upcoming releases. Although you might not target the initial phase of your project to the new release, you can ensure that you have the flexibility to upgrade when that time comes. Keeping your options open will, in the long run, give you a more stable and maintainable product. As one of my friends, Peter Seibel (now at Kenamea), said, "Software gets better."And I think that you can say that almost universally. Some might argue that it should be phrased, "Software gets bigger,"but I take exception to that. This might be true in the world of desktop applications, where new releases inevitably exist only to encourage people to buy the next upgrade; in the enterprise people have support contracts that ensure the next version is available. All the critical aspects of enterprise software increase with each new release: reliability, administration, scalability, and performance. Those are the normal ones, but I'm going to add one more aspect that also gets better with age - one that WebLogic has concentrated on in our newest release: usability. That may not be part of the big four, but it's fast becoming one of the more important measures in the enterprise software world.

So what has WebLogic done in this release to increase usability? Migration is an excellent example and the focus of this issue of WLDJ. One of the big problems that people had moving from previous WebLogic Server versions to the newest release was the changes that had to be made to accommodate J2EE. The move from EJB 1.0 to EJB 1.1 was particularly painful because there were some source changes that had to be made. For people who are migrating from 5.1, the biggest obstacle was often the switch from using the weblogic.properties file to using Web applications (.war files). This was especially true for our ISVs, who had become accustomed to releasing their products in a certain way. In that transition we attempted to solve the problem through documentation and support. Although people got through it, I'm glad that future migrations will be done mostly through effective applications of technology. From WebLogic Server 6.0 and forward we have kept the config.xml file as a backwards-compatible configuration store so new versions of the server can read an old version of the configuration and still understand it. In the process it upgrades that configuration to be perfectly compatible with the new system. WebLogic Server 7.0 helps you migrate to the newest version using a number of tools and built-in functionality.

Inside the server, we again have the capability to read an old config.xml and upgrade it to the newest version. In fact, you might have heard about the new security framework that was released with WebLogic 7.0. This framework can even read your old security properties from 6.1. This gives everyone an easy upgrade path if you're not planning to use many of the features of the new security framework right away. To address the needs of applications, WebLogic Builder will automatically upgrade your old application .ears, EJB .jars, and Web Application .wars to the newest versions of the specifications. You do this by starting up the tool, loading the application in question, adding in any new functionality, validating the configuration with the (possibly) new restrictions, and then saving the configuration files back to the application. This upgrade path for applications makes it much easier for people to test on the new platform to ensure that everything behaves as it did before the upgrade.

Even with these tools, however, the developer still has some responsibility to ensure that the application works properly with the new system. Some changes to the J2EE specification, plus bug fixes that occur between releases, can sometimes cause incompatibilities that must be found prior to going to production with an application. In order to find these differences you must have a proper set of unit, feature, system, and performance tests in place to validate that the new version of the platform software performs as you would expect. If properly implemented, these tests can find any problems well before they are deployed to a customer.

Finally, there's one other selfish reason to upgrade to the next release of the product. You'll be working with the current state of the art. Staying on top of new technologies, like J2EE 1.3 or Web services, is very important for any developer. To sum up what I've said, I will rephrase the tagline: "Migrate as soon as you can."

More Stories By Sam Pullara

Sam Pullara has been a software engineer at WebLogic since 1996 and has contributed to the architecture, design, and implementation of many aspects of the application server.

e-mail: [email protected]

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.

IoT & Smart Cities Stories
The deluge of IoT sensor data collected from connected devices and the powerful AI required to make that data actionable are giving rise to a hybrid ecosystem in which cloud, on-prem and edge processes become interweaved. Attendees will learn how emerging composable infrastructure solutions deliver the adaptive architecture needed to manage this new data reality. Machine learning algorithms can better anticipate data storms and automate resources to support surges, including fully scalable GPU-c...
A valuable conference experience generates new contacts, sales leads, potential strategic partners and potential investors; helps gather competitive intelligence and even provides inspiration for new products and services. Conference Guru works with conference organizers to pass great deals to great conferences, helping you discover new conferences and increase your return on investment.
Poor data quality and analytics drive down business value. In fact, Gartner estimated that the average financial impact of poor data quality on organizations is $9.7 million per year. But bad data is much more than a cost center. By eroding trust in information, analytics and the business decisions based on these, it is a serious impediment to digital transformation.
We are seeing a major migration of enterprises applications to the cloud. As cloud and business use of real time applications accelerate, legacy networks are no longer able to architecturally support cloud adoption and deliver the performance and security required by highly distributed enterprises. These outdated solutions have become more costly and complicated to implement, install, manage, and maintain.SD-WAN offers unlimited capabilities for accessing the benefits of the cloud and Internet. ...
Business professionals no longer wonder if they'll migrate to the cloud; it's now a matter of when. The cloud environment has proved to be a major force in transitioning to an agile business model that enables quick decisions and fast implementation that solidify customer relationships. And when the cloud is combined with the power of cognitive computing, it drives innovation and transformation that achieves astounding competitive advantage.
SYS-CON Events announced today that Silicon India has been named “Media Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Published in Silicon Valley, Silicon India magazine is the premiere platform for CIOs to discuss their innovative enterprise solutions and allows IT vendors to learn about new solutions that can help grow their business.
DXWorldEXPO LLC announced today that "IoT Now" was named media sponsor of CloudEXPO | DXWorldEXPO 2018 New York, which will take place on November 11-13, 2018 in New York City, NY. IoT Now explores the evolving opportunities and challenges facing CSPs, and it passes on some lessons learned from those who have taken the first steps in next-gen IoT services.
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
Founded in 2000, Chetu Inc. is a global provider of customized software development solutions and IT staff augmentation services for software technology providers. By providing clients with unparalleled niche technology expertise and industry experience, Chetu has become the premiere long-term, back-end software development partner for start-ups, SMBs, and Fortune 500 companies. Chetu is headquartered in Plantation, Florida, with thirteen offices throughout the U.S. and abroad.
SYS-CON Events announced today that DatacenterDynamics has been named “Media Sponsor” of SYS-CON's 18th International Cloud Expo, which will take place on June 7–9, 2016, at the Javits Center in New York City, NY. DatacenterDynamics is a brand of DCD Group, a global B2B media and publishing company that develops products to help senior professionals in the world's most ICT dependent organizations make risk-based infrastructure and capacity decisions.