SDN Journal Authors: Daniel Gordon, John Walsh, Elizabeth White, Liz McMillan, Sven Olav Lund

Related Topics: PowerBuilder

PowerBuilder: Article

Legacy Systems: To Extend or Not Extend

Legacy Systems: To Extend or Not Extend

In 1999 millions of dollars were spent preparing legacy systems for the dreaded Y2K meltdown. Thankfully, most of these core computer systems survived the 01/01/00 coding problem. However, businesses now face another issue regarding their legacy systems that in many ways will prove more challenging than simple Y2K code remediation.

IT managers today need to provide customers and employees with access to data stored in legacy systems via the Internet. Unfortunately legacy systems are not "Internet compatible." This leaves many IT organizations facing the question of whether to extend their legacy systems or scrap them in favor of a whole new system.

The good news is most companies probably won't have to destroy their legacy systems just to get on the Internet. There's this notion that because legacy systems are old, they need to be replaced. But if they survived Y2K, chances are they can be modified or "extended" to the Web. The difficult thing is figuring out the best way to get there.

Legacy systems aren't necessarily the big, black boxes we call mainframe systems. The technical definition is any core computer system that's integral to keeping a business running. A business could have a brand new core computer system, and it will still be a legacy system. For the purposes of this article we're talking about older technology, such as mainframes and newer client/ server systems.

The problem with the older legacy systems is that the Internet wasn't important when they were invented. So if companies want to integrate Web-based data retrieval and processing, they can't just hook up a T1 line. The process of providing Internet access to a legacy system is much more complex. That's why businesses think they need to scrap the old in favor of the new, which isn't always the case.

Companies are interested in Internet access to their legacy systems because customers are demanding 24/7 access to their information. For example, people are no longer satisfied with quarterly statements from their 401K plans. They want to be able to go online and get real-time information about their accounts. The same holds true for customers who want to know if a warehouse has a part in stock. They can look online and not worry about delays due to telephone tag or being placed on hold.

Today's world is more self-service. Businesses are running off the McDonald's model of "get your own straw and napkin" when it comes to data. If you're in the business of selling something, it's easier to let customers service themselves with Web access to your core business computer system.

Up until a few years ago, the only two solutions were to scrap the legacy system in favor of a new system or to rewrite all its coding. The word rewrite sends chills up most managers' spines because traditionally it takes lots of time and money. Another problem is many older legacy systems have "black box" logic, which is a big mystery to IT managers. The systems do their job but very few people know how their inner workings function. Huge costs were amassed in the 1990s as people tried to figure out how the old systems worked and struggled to rewrite the coding. These difficulties really left a bad taste in many a manager's mouth.

The good news is twofold. First, rewriting is less expensive now that procedures and precedents have been set over the past few years. Second, rewriting isn't the only solution that preserves a legacy system and makes it Web accessible. The other option is called extension. Instead of writing legacy code on new platforms, technology pros are integrating new platforms with the old legacy systems. This means having a new system running side-by-side with the old one with programs that allow the two systems to communicate.

The legacy system is preserved with little or no modification. Extending doesn't lead to a rewrite of the legacy system, rather it's reframed with phrase changes or new interfaces. When a legacy system is extended, a front end can be added so that customers have Web access to data and a back end, such as a data warehouse, or a business intelligence tool can be added. Either way, the core logic - the "black box" of the legacy system - is not modified.

There are drawbacks to extension. You'll create more complexity in your infrastructure because you're now work- ing with two platforms. In some cases the extension becomes so complex we actually recommend the company swallow the pill and rewrite the whole system. Also, if the IT manager isn't ready to manage a system with two platforms, it's time for a new system.

There are basically six options for a company with a legacy system that's looking to integrate new technologies into its core operations and get to the Web now.

Outside of Extending
1. Prepackaged Solutions
Prepackaged systems can be a great way to make the jump into a Web-based solution. What you do is buy the application, install it, get rid of your old system, and you're done. You have a front end on the Web, and you cut the ties to the old legacy system. These packages are very expensive; however, they aren't very customizable, and there could be a problem during transition. A company could be left helpless if a glitch develops along the way.

2. Automatic Rewriting
Tools exist that read your legacy code, such as COBOL, then rewrite it into Visual Basic or Java. This lets you completely rewrite your old system and move your core system into a Windows-based environment. The scary part comes into play when these types of programs encounter your legacy system's black box area. What happens if part of the black box coding is captured by the tool and rewritten incorrectly? Your system may be changed, and you won't even know until it's too late. This can lead to major problems for your business.

3. Screen Scraping or Enhanced Terminal Emulation
Screen scraping is the least expensive way to extend a system, plus it's fast and tactical. Basically you're using the protocols already in place and piggybacking a new operation on top. You'll have a dot.com component that lets you interface with the Web. However, you're stuck with whatever green screen you had in the first place. This means you can't modify the way you view or interface with the data. A screen scrape only allows you to hook the Web attachment onto the old system. It still looks the same, just Web-based. But if all you need is Web access and nothing fancy, screen scraping could work.

4. Wrapping
A wrap is what its name implies. The legacy system is wrapped by the new back and front ends. By doing this you ratchet up your complexity level. Typically, wrapping is a fine solution if you want to get data into or out of your mainframe via a new system. Wrapping is best suited for a batch-processing environment, such as taking customer orders. You can wrap a SQL system onto the front and back ends of the legacy system. Then create a Web application that takes that data and puts it into a SQL system that dumps into the mainframe several times a day.

The drawback of wrapping is that you can't get complex, real-time data. You can see if an order has been placed, but you can't check its details. Wrapping gives you a buffered legacy environment with new technologies that create a good Web connection. The information can be formed any way the company wants, unlike the limitations of screen scraping. The tradeoff is that the system is now more complicated.

Once legacy data has been restaged into a relational database environment, a variety of Internet development tools can be used to create new Web-based applications. The chosen development platform should be able to address as many back-end data sources as possible. For example, EAStudio from Sybase offers a back-end independent solution for Java development. While offering native drivers for Sybase and Oracle connections, it also provides broader database connectivity through JDBC and ODBC support. This is an attractive feature for managers considering a wrapping strategy to extend legacy data because it allows them to choose the best relational database for their organization. EAServer also provides connection pooling, which can dramatically increase application performance. Pooling of database connections is a must-have feature of any application server because establishing the initial connection is the single biggest drain on database-driven solutions.

Tool sets such as EAStudio also provide IDEs for Java development. Developers can visually create the inherently nonvisual server-side components they need to encapsulate business logic. Sybase has managed to use its mature PowerBuilder IDE for Java development as well. PowerBuilder really introduced the masses to the concept of encapsulating business-processing logic in software classes. Their IDE was one of the first to provide a visual metaphor for developing components. They've done a great job extending this into the Java development arena.

5. Middleware Solutions
Middleware provides direct programmatic access to legacy code and processes. To use middleware you typically introduce a server or middleware system that knows how to talk to the operating environment of the legacy system. Middleware solutions are more appropriate than screen scraping for most business applications.

However, they're technically more challenging and complex because you're brokering a new relationship between the new and old platforms. Middleware allows you to use Java or new languages to program new components to your legacy systems. It allows for real-time data access, which is important for transaction processes and things such as stock exchanges.

6. Enterprise Application Integration
EAI allows you to buy a package that does the entire extending process for you. For example, you have a legacy payroll system you'd like to get on the Web. You can buy an EAI that automatically does a front- and back-end extension for you. In theory, you can buy the package, put it in, and you're done. The drawback is you're stuck with whatever system the vendor likes. EAI may be quick, but it's certainly not easy to customize and is very costly.

Which solution is the best? It all depends upon your needs and how much money you have to fix the problem. But remember, if your legacy system is working, you may not have to change or replace it. If your core business hasn't changed and the access needs haven't changed, the answer is simple: don't touch it. If your customers or employees want to have Internet access to the data, you need to extend. Whatever choice you make, I recommend calling an outside consultant to look at your legacy set up and help determine the best way to apply the solution. Try to pick a solution that gives you as much flexibility and customization as possible.

The trick to extending legacy systems properly is to keep the business running while you modify the system to incorporate new applications, such as the Internet. Only when the traditionally inflexible core system has been made flexible can the process be declared a success. It can be done; the trick is finding the right solution for you.

More Stories By Stephen Laich

Stephen Laich is a senior solution developer at Pinnacle Decision Systems, a Microsoft Certified Solution Provider.

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.

@CloudExpo Stories
DX World EXPO, LLC, a Lighthouse Point, Florida-based startup trade show producer and the creator of "DXWorldEXPO® - Digital Transformation Conference & Expo" has announced its executive management team. The team is headed by Levent Selamoglu, who has been named CEO. "Now is the time for a truly global DX event, to bring together the leading minds from the technology world in a conversation about Digital Transformation," he said in making the announcement.
"Space Monkey by Vivent Smart Home is a product that is a distributed cloud-based edge storage network. Vivent Smart Home, our parent company, is a smart home provider that places a lot of hard drives across homes in North America," explained JT Olds, Director of Engineering, and Brandon Crowfeather, Product Manager, at Vivint Smart Home, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
SYS-CON Events announced today that Conference Guru has been named “Media Sponsor” of the 22nd International Cloud Expo, which will take place on June 5-7, 2018, at the Javits Center in New York, NY. 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 gre...
DevOps is under attack because developers don’t want to mess with infrastructure. They will happily own their code into production, but want to use platforms instead of raw automation. That’s changing the landscape that we understand as DevOps with both architecture concepts (CloudNative) and process redefinition (SRE). Rob Hirschfeld’s recent work in Kubernetes operations has led to the conclusion that containers and related platforms have changed the way we should be thinking about DevOps and...
In his Opening Keynote at 21st Cloud Expo, John Considine, General Manager of IBM Cloud Infrastructure, led attendees through the exciting evolution of the cloud. He looked at this major disruption from the perspective of technology, business models, and what this means for enterprises of all sizes. John Considine is General Manager of Cloud Infrastructure Services at IBM. In that role he is responsible for leading IBM’s public cloud infrastructure including strategy, development, and offering m...
The next XaaS is CICDaaS. Why? Because CICD saves developers a huge amount of time. CD is an especially great option for projects that require multiple and frequent contributions to be integrated. But… securing CICD best practices is an emerging, essential, yet little understood practice for DevOps teams and their Cloud Service Providers. The only way to get CICD to work in a highly secure environment takes collaboration, patience and persistence. Building CICD in the cloud requires rigorous ar...
Companies are harnessing data in ways we once associated with science fiction. Analysts have access to a plethora of visualization and reporting tools, but considering the vast amount of data businesses collect and limitations of CPUs, end users are forced to design their structures and systems with limitations. Until now. As the cloud toolkit to analyze data has evolved, GPUs have stepped in to massively parallel SQL, visualization and machine learning.
"Evatronix provides design services to companies that need to integrate the IoT technology in their products but they don't necessarily have the expertise, knowledge and design team to do so," explained Adam Morawiec, VP of Business Development at Evatronix, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
To get the most out of their data, successful companies are not focusing on queries and data lakes, they are actively integrating analytics into their operations with a data-first application development approach. Real-time adjustments to improve revenues, reduce costs, or mitigate risk rely on applications that minimize latency on a variety of data sources. In his session at @BigDataExpo, Jack Norris, Senior Vice President, Data and Applications at MapR Technologies, reviewed best practices to ...
"ZeroStack is a startup in Silicon Valley. We're solving a very interesting problem around bringing public cloud convenience with private cloud control for enterprises and mid-size companies," explained Kamesh Pemmaraju, VP of Product Management at ZeroStack, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Large industrial manufacturing organizations are adopting the agile principles of cloud software companies. The industrial manufacturing development process has not scaled over time. Now that design CAD teams are geographically distributed, centralizing their work is key. With large multi-gigabyte projects, outdated tools have stifled industrial team agility, time-to-market milestones, and impacted P&L stakeholders.
Enterprises are adopting Kubernetes to accelerate the development and the delivery of cloud-native applications. However, sharing a Kubernetes cluster between members of the same team can be challenging. And, sharing clusters across multiple teams is even harder. Kubernetes offers several constructs to help implement segmentation and isolation. However, these primitives can be complex to understand and apply. As a result, it’s becoming common for enterprises to end up with several clusters. Thi...
"Infoblox does DNS, DHCP and IP address management for not only enterprise networks but cloud networks as well. Customers are looking for a single platform that can extend not only in their private enterprise environment but private cloud, public cloud, tracking all the IP space and everything that is going on in that environment," explained Steve Salo, Principal Systems Engineer at Infoblox, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Conventio...
In his session at 21st Cloud Expo, James Henry, Co-CEO/CTO of Calgary Scientific Inc., introduced you to the challenges, solutions and benefits of training AI systems to solve visual problems with an emphasis on improving AIs with continuous training in the field. He explored applications in several industries and discussed technologies that allow the deployment of advanced visualization solutions to the cloud.
The question before companies today is not whether to become intelligent, it’s a question of how and how fast. The key is to adopt and deploy an intelligent application strategy while simultaneously preparing to scale that intelligence. In her session at 21st Cloud Expo, Sangeeta Chakraborty, Chief Customer Officer at Ayasdi, provided a tactical framework to become a truly intelligent enterprise, including how to identify the right applications for AI, how to build a Center of Excellence to oper...
"IBM is really all in on blockchain. We take a look at sort of the history of blockchain ledger technologies. It started out with bitcoin, Ethereum, and IBM evaluated these particular blockchain technologies and found they were anonymous and permissionless and that many companies were looking for permissioned blockchain," stated René Bostic, Technical VP of the IBM Cloud Unit in North America, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Conventi...
In his session at 21st Cloud Expo, Carl J. Levine, Senior Technical Evangelist for NS1, will objectively discuss how DNS is used to solve Digital Transformation challenges in large SaaS applications, CDNs, AdTech platforms, and other demanding use cases. Carl J. Levine is the Senior Technical Evangelist for NS1. A veteran of the Internet Infrastructure space, he has over a decade of experience with startups, networking protocols and Internet infrastructure, combined with the unique ability to it...
22nd International Cloud Expo, taking place June 5-7, 2018, at the Javits Center in New York City, NY, and co-located with the 1st DXWorld Expo will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud ...
"Cloud Academy is an enterprise training platform for the cloud, specifically public clouds. We offer guided learning experiences on AWS, Azure, Google Cloud and all the surrounding methodologies and technologies that you need to know and your teams need to know in order to leverage the full benefits of the cloud," explained Alex Brower, VP of Marketing at Cloud Academy, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clar...
Gemini is Yahoo’s native and search advertising platform. To ensure the quality of a complex distributed system that spans multiple products and components and across various desktop websites and mobile app and web experiences – both Yahoo owned and operated and third-party syndication (supply), with complex interaction with more than a billion users and numerous advertisers globally (demand) – it becomes imperative to automate a set of end-to-end tests 24x7 to detect bugs and regression. In th...