Welcome!

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

Related Topics: Weblogic

Weblogic: Article

Software Reuse Is Dead, Long Live Software Reuse

Make yourself a hero

I know what you're probably thinking as you look at the title of this article: "software reuse - been there, done that, and it doesn't work...."

And it's true that many a software architect or project leader on a WebLogic project has broken his or her pick on the slag heap of reuse efforts and that the legacy of monolithic CASE tool suites has left a bad taste in many developers' mouths when it comes to developing reusable software. So, what has changed to make software reuse feasible today? Three key factors make software reuse initiatives worth considering or reconsidering at this juncture:

  • Mature, component-based development environments
  • Web services and service-oriented architectures
  • Software engineering processes and tools oriented towards reuse
I'll be discussing why each of these factors makes a difference towards the goal of effective software reuse, and why, in many cases, they combine with business factors to make a software reuse initiative a mandatory part of standard operating procedure in a rapidly increasing number of IT organizations.

Mature, Component-Based Development Environments
As we look at the past 20 years in software development, we see steady progress being made, both in the sophistication of programming techniques and the language-specific services being made available to the developer. From the early days of C, with its limited set of standard libraries and very much of a do-it-yourself mentality, to structured programming initiatives, to the early days of widespread object-oriented programming, to CORBA's distributed component infrastructure and services to today's modern J2EE and .NET component infrastructures, we can identify some major elements that make building and consuming reusable software feasible.

Structured programming techniques contributed to the notion of well-defined functional contracts to be consumed by callers of a module. Defining a contract in terms of its preconditions, expected input and output parameters (including the semantics of those parameters), side effects, and any exception conditions that may result from invocation of the function being described went a long way towards instilling a clean delineation between caller and invoked module.

Object-oriented programming introduced the concepts of data encapsulation and polymorphism, each of which contributed to effective software reuse. Data encapsulation freed the caller of an object from exposure to the underlying data structures used to manage persistent data and allowed the information being passed on a method call to be aligned more precisely with the caller's objectives. Polymorphism enabled the developers of a class to provide meaningful abstractions combined with underlying flexible implementations tuned to specific algorithmic needs, while allowing the calling code to be effectively decoupled from those implementations.

Taking the notion of decoupling one step further, distributed component technology provided developers with the ability to define and deploy coarse-grained component interfaces whose underlying implementations assembled a cluster of cohesive operations dealing with common data and functional objectives. While the tools provided with early component infrastructures such as CORBA were limited, and developers often had to be "rocket scientists" to get everything to work together correctly, when done right, the resulting deployed component landscape provided an efficient, flexible, and reusable application infrastructure.

Finally, the maturity of the two major component architectures, J2EE and .NET, gave developers a rich and stable platform upon which to build and deploy their components. The technical services provided by these two architectures, such as transactional integrity, messaging and directory services, security, exception processing, remoting, and many others make it possible for developers to focus on the function of their components rather than all of the underlying technical infrastructure required to make them work.

Web Services and Service-Oriented Architectures
I'm sure some of you are wondering, "Aren't Web services synonymous with service-oriented architectures? What exactly is a service-oriented architecture and how does it differ from Web services?" Simply put, a service-oriented architecture is one in which application functions are consolidated and presented in a loosely coupled form independent of their underlying implementation. These loosely coupled services typically present coarse-grained capabilities that are meant to be assembled together through some form of messaging runtime.

With that said, many, if not most, service-oriented architectures take advantage of the Internet-based Web service infrastructures being implemented and promoted by the major application server vendors. Web services and service-oriented architectures encourage - in fact, they demand - reuse by their very nature, as the sole purpose of a service is to expose a set of functional capabilities to multiple consumers. If that isn't reuse, then what is? In addition, because services are meant to be deployed once and accessed in place, they encourage the notion of business process assembly that crosses application boundaries - weaving together a series of services in support of a business process that may be described through a graphical design-time user interface. While the tools and underlying mechanisms to support this notion are still in their infancy, initiatives such as BPEL4WS (Business Process Execution Language For Web Services) show great promise in enabling this form of application development. Although it's unrealistic to expect that graphical application assembly will ever fully take the place of other development techniques, it will certainly take its place alongside those techniques and, in the process, encourage more effective reuse of underlying services.

Services and components also have a very symbiotic relationship that supports software reuse. Components are often the underlying mechanism behind a service, either fully implementing the functionality defined by the service or providing the necessary glue code to connect the modern Web service infrastructure with one or more legacy systems.

Software Engineering Processes and Tools
Great strides have been made in the past decade toward more disciplined and effective software development processes. Iterative methods such as RUP (Rational Unified Process) encourage early discovery, implementation, and refinement of key requirements. Incremental enhancements delivered on a regular and timely basis are a far cry from the heavyweight waterfall methodologies that typically resulted in late delivery of software that didn't meet user needs, not the least because those user needs changed from the time the original requirements were defined.

RUP and other modern software development processes encourage reuse by injecting specific software development asset (SDA) search and reuse review checkpoints into the development process. These search-and-review activities occur at all levels of the development life cycle from initial requirements definition, through analysis and design, and down to implementation. Modern UML-based modeling techniques also encourage reuse by providing analysts and developers with a concise, graphical means to crisply define functional requirements. Requirements in this form can then be consumed by other development tools such as code generators, mapping engines, and asset metadata repositories. UML-based IDE tools can be used not only to create UML but also to apply reusable knowledge SDAs such as design patterns to the resulting code, automatically preserving consistency between source code and model.

The Business Case for Reuse
With these tools and techniques in hand, and with IT budgets continuing to experience strong cost-cutting pressures, it's hard not to see the justification for a reuse initiative within an IT organization of any size. Dr. Jeffrey Poulin, noted software industry reuse expert, has compiled numerous studies that indicate reuse payback occurs on the first reuse of an SDA, even taking into account the extra effort required to build the asset for reuse. Michael Blechar, vice president and research director at Gartner Research, states, "Enterprises can substantially improve application development productivity and quality, while also decreasing time-to-market, by a factor of 5:1 or more through a committed software asset reuse program. At the heart of this initiative must be the ability for analysts and developers to easily locate and reuse these assets." Take the time to investigate the tools available to you to encourage reuse. (I'll cover process and tools in more detail in a future editorial.) Even something as seemingly simple as disseminating architectural guidance to development teams as UML models distributed through an asset metadata repository can produce significant payback in the form of code implemented using industry and organizational best practices, thus greatly reducing the chance of rewriting or experiencing heavy maintenance costs down the road. Adding the ability to define and distribute well-structured, coarse-grained components and services throughout your organization can accelerate productivity and, just as important, improve application consistency dramatically throughout your organization - and maybe make you a hero in the bargain!

More Stories By Brent Carlson

Brent Carlson is vice president of technology and cofounder of LogicLibrary, a provider of software development asset (SDA) management tools. He is the coauthor of two books: San Francisco Design Patterns: Blueprints for Business Software (with James Carey and Tim Graser) and Framework Process Patterns: Lessons Learned Developing Application Frameworks (with James Carey). He also holds 16 software patents, with eight more currently under evaluation.

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.


@ThingsExpo Stories
When shopping for a new data processing platform for IoT solutions, many development teams want to be able to test-drive options before making a choice. Yet when evaluating an IoT solution, it’s simply not feasible to do so at scale with physical devices. Building a sensor simulator is the next best choice; however, generating a realistic simulation at very high TPS with ease of configurability is a formidable challenge. When dealing with multiple application or transport protocols, you would be...
SYS-CON Events announced today that CA Technologies has been named “Platinum Sponsor” of SYS-CON's 21st International Cloud Expo®, which will take place October 31-November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. CA Technologies helps customers succeed in a future where every business – from apparel to energy – is being rewritten by software. From planning to development to management to security, CA creates software that fuels transformation for companies in the applic...
SYS-CON Events announced today that CAST Software will exhibit at 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. CAST was founded more than 25 years ago to make the invisible visible. Built around the idea that even the best analytics on the market still leave blind spots for technical teams looking to deliver better software and prevent outages, CAST provides the software intelligence that matter ...
SYS-CON Events announced today that Pulzze Systems will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place October 31-November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Pulzze Systems Inc, provides the software product "The Interactor" that uniquely simplifies building IoT, Web and Smart Enterprise Solutions. It is a Silicon Valley startup funded by US government agencies, NSF and DHS to bring innovative solutions to market.
In his session at @ThingsExpo, Dr. Robert Cohen, an economist and senior fellow at the Economic Strategy Institute, presented the findings of a series of six detailed case studies of how large corporations are implementing IoT. The session explored how IoT has improved their economic performance, had major impacts on business models and resulted in impressive ROIs. The companies covered span manufacturing and services firms. He also explored servicification, how manufacturing firms shift from se...
SYS-CON Events announced today that Elastifile will exhibit at 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. Elastifile Cloud File System (ECFS) is software-defined data infrastructure designed for seamless and efficient management of dynamic workloads across heterogeneous environments. Elastifile provides the architecture needed to optimize your hybrid cloud environment, by facilitating efficient...
SYS-CON Events announced today that Golden Gate University will exhibit at 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. Since 1901, non-profit Golden Gate University (GGU) has been helping adults achieve their professional goals by providing high quality, practice-based undergraduate and graduate educational programs in law, taxation, business and related professions. Many of its courses are taug...
Recently, WebRTC has a lot of eyes from market. The use cases of WebRTC are expanding - video chat, online education, online health care etc. Not only for human-to-human communication, but also IoT use cases such as machine to human use cases can be seen recently. One of the typical use-case is remote camera monitoring. With WebRTC, people can have interoperability and flexibility for deploying monitoring service. However, the benefit of WebRTC for IoT is not only its convenience and interopera...
When shopping for a new data processing platform for IoT solutions, many development teams want to be able to test-drive options before making a choice. Yet when evaluating an IoT solution, it’s simply not feasible to do so at scale with physical devices. Building a sensor simulator is the next best choice; however, generating a realistic simulation at very high TPS with ease of configurability is a formidable challenge. When dealing with multiple application or transport protocols, you would be...
WebRTC is the future of browser-to-browser communications, and continues to make inroads into the traditional, difficult, plug-in web communications world. The 6th WebRTC Summit continues our tradition of delivering the latest and greatest presentations within the world of WebRTC. Topics include voice calling, video chat, P2P file sharing, and use cases that have already leveraged the power and convenience of WebRTC.
An increasing number of companies are creating products that combine data with analytical capabilities. Running interactive queries on Big Data requires complex architectures to store and query data effectively, typically involving data streams, an choosing efficient file format/database and multiple independent systems that are tied together through custom-engineered pipelines. In his session at @BigDataExpo at @ThingsExpo, Tomer Levi, a senior software engineer at Intel’s Advanced Analytics ...
SYS-CON Events announced today that Secure Channels, a cybersecurity firm, will exhibit at 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. Secure Channels, Inc. offers several products and solutions to its many clients, helping them protect critical data from being compromised and access to computer networks from the unauthorized. The company develops comprehensive data encryption security strategie...
Internet-of-Things discussions can end up either going down the consumer gadget rabbit hole or focused on the sort of data logging that industrial manufacturers have been doing forever. However, in fact, companies today are already using IoT data both to optimize their operational technology and to improve the experience of customer interactions in novel ways. In his session at @ThingsExpo, Gordon Haff, Red Hat Technology Evangelist, shared examples from a wide range of industries – including en...
Detecting internal user threats in the Big Data eco-system is challenging and cumbersome. Many organizations monitor internal usage of the Big Data eco-system using a set of alerts. This is not a scalable process given the increase in the number of alerts with the accelerating growth in data volume and user base. Organizations are increasingly leveraging machine learning to monitor only those data elements that are sensitive and critical, autonomously establish monitoring policies, and to detect...
"We're a cybersecurity firm that specializes in engineering security solutions both at the software and hardware level. Security cannot be an after-the-fact afterthought, which is what it's become," stated Richard Blech, Chief Executive Officer at Secure Channels, in this SYS-CON.tv interview at @ThingsExpo, held November 1-3, 2016, 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. Jack Norris reviews best practices to show how companies develop, deploy, and dynamically update these applications and how this data-first...
Intelligent Automation is now one of the key business imperatives for CIOs and CISOs impacting all areas of business today. In his session at 21st Cloud Expo, Brian Boeggeman, VP Alliances & Partnerships at Ayehu, will talk about how business value is created and delivered through intelligent automation to today’s enterprises. The open ecosystem platform approach toward Intelligent Automation that Ayehu delivers to the market is core to enabling the creation of the self-driving enterprise.
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, will provide 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 ...
SYS-CON Events announced today that Massive Networks will exhibit at 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. Massive Networks mission is simple. To help your business operate seamlessly with fast, reliable, and secure internet and network solutions. Improve your customer's experience with outstanding connections to your cloud.
SYS-CON Events announced today that Datera, that offers a radically new data management architecture, has been named "Exhibitor" 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. Datera is transforming the traditional datacenter model through modern cloud simplicity. The technology industry is at another major inflection point. The rise of mobile, the Internet of Things, data storage and Big...