Welcome!

Microservices Expo Authors: Liz McMillan, Elizabeth White, Aruna Ravichandran, Pat Romanski, Cameron Van Orman

Related Topics: Microservices Expo

Microservices Expo: Article

Model-Driven SOA

Everything Should Start with a Model

In this article I'll cover how a model-driven design and development process can pave the way to a Service Oriented Architecture that will in turn produce accurate applications that meet business needs and increase development team productivity.

SOA is hot topic in our industry right now. One of the important aspects of SOA is that it's a business approach and methodology as much as it's a technological approach and methodology for developing distributed computing systems.

SOA is a software architecture for building applications that implement business processes or services by using a set of loosely coupled components orchestrated to deliver a well-defined package. With SOA, existing software assets already in use are packaged in such a way that they're self-contained, loosely coupled, and can be called and executed by other new applications as a service. Any new computing modules would be created as services the first time around, and so would enter into the services library to be used over and over again. Well, to call a service, we have to know how to call it, where to call it, and what to expect back as a response; that is, a service must have a callable interface that's well defined, well published, and well secured. In short, not only should a service be good quality code, it must be well understood and well documented.

How Many of You Have Done This or Seen It Happen in Your Organization?
A business analyst sketches out a system feature-by-feature, either on paper or using a flowcharting tool and hands it over to a team for development.

When the system comes back from development for testing, the analyst returns to his sketch and system tests the functionality of each feature, one feature at a time.

Whenever a feature doesn't perform as the analyst thinks he defined it, he makes a note that goes back to the developers, who make changes to the code, and the whole thing starts again...all manual, all by hand. And remember the testing team isn't always made up of analysts who wrote the "sketch"...it's a perfect world assumption that the analyst and some business users are testers along with the testing professionals. How many understandings of the "system" are in that group and how many "notes" go back to development teams? How Neanderthal!

We are no longer Neanderthals. We now have modeling tools. We now have iterative and prototyping development processes. Programming language technology has advanced such that all of our well-meaning attempts at good modular programming over the years can be expanded into bigger modules with more of a business meaning. We recognize the need to communicate and collaborate. It's taken us 40 years...but we're getting there. The idea of architecture implies a thoughtful plan using a standard set of guidelines and rules to construct a blueprint. A good software architecture will have the blueprints for how data is stored, how users interact, how blocks of functionality (services) are linked together to form programs, how programs communicate, the capacity needed of the hardware, and so forth.

The idea behind SOA is that these blocks of functionality (services) are available to be used by many programs, and that, over time, when you have more and more services those programs can be compiled and put together more quickly. And since the services are already defined, their design can be reused too. Also, if a service implements a specific business function or rule, it's simpler, more cost-effective, and less time-consuming just to change the related service code rather than search through all the independent programs for code that may have implemented that business rule and then change all the programs using it like we used to.

Of course, you still have to test it, but the actual design and development time to implement a change from the business is much less of an impact when you have models to work from, impact analysis reports to guide you, and independent services to change.

A set of loosely coupled components does the same work that used to be done inside tightly structured programs. But now the components can be combined and recombined in many ways. This makes the overall infrastructure more flexible and agile. This way SOA can make it easier and faster to build and deploy IT systems that directly service the goals of a business and we can prove it because we have our models of the SOA architectures linked directly back to the model of our business goals, business requirements, and business processes. Not only do we reuse the code, we reuse the models.

Model-Driven SOA
The whole point of SOA is to make business applications more manageable, more flexible, and more responsive to change. Businesses are constantly changing how they do things - not necessarily changing what they do. Models allow the business people to focus and change the business processes and workflows without having to focus on the technological plumbing. The IT folks can focus on designing, changing, and improving those business processes by codifying the business services. The models are their common point of communications and it documents the agreements of what needs to be done. Models can automate and drive impact analysis for better communication between IT and business and, when enough textual information has been captured, most modeling tools can generate quality code that provides a good start toward overall development.

Sybase's view of modeling (Figure 1) is that in an enterprise world your modeling environment has to be able to address the broader range of application classes and has to integrate them. You do not want a silo'd environment; a SOA environment is all about sharing and reuse. Your models have to be able to import, export, capture, forward generate, reverse engineer, and report between the common implementation techniques of service-driven, composite, event-driven, mobile, and federated systems using today's integration protocols.

To Tie It All Together
Business Process Modeling, Data Modeling (with conceptual and physical data models, data warehouse models, and data movement through the information liquidity model), Application Modeling with UML (all diagrams for UML 2.0), XML modeling and Free Models (a semantic-free diagramming and drawing facility that can be adapted to document ANY notation desired) are all used to built applications today.

Requirements should be attached or linked to any elements of any models, with multiple requirements documents tied to multiple models simultaneously for complete requirements traceability and visible as a document or a matrix. Models should be used to round-trip engineer to process engines (BPEL engines), databases, application servers as well as object-oriented development languages including VB, .NET, C#, and Java. By using patterns and templates, you can take a model-driven approach to development on J2EE, .NET and Web Services. By using techniques like object/relational mapping and data source mapping as well as integrated metadata management, you can link and synchronize all the models together. Changes that occur in one model can be communicated effectively and easily as change requests to any other model type to ensure a complete, cohesive, and consistent response to change throughout the project team, and throughout the enterprise. With your common metadata repository, you have a secure environment to manage, share, and collaborate on modeling projects.

SDLC
Modern software development systems are usually developed using model-driven methodologies and processes. The nice thing about comprehensive modeling tools is that all the stakeholders throughout the SDLC (Software Development Lifecycle) have their own view into the metadata or information about the system to be developed. This common detailed definition of what must be built to meet the customer's needs is how development teams can be productive and not waste time because of misunderstandings or because one expert didn't pass some information on to another (Figure 2).
• End users and business analysts have a business-centric view into the system that captures information about requirements, goal, ands conceptual business processes.
• IT management and enterprise architects have detailed functional models, more technical but not a code-level view of system components, hardware, and software deployment details, and shared application components.
• Data architects and DBAs have conceptual data models, physical data models, and the DBMS-specific artifacts necessary to implement the data structure and the services necessary to support the processes being automated or implemented.
• Application/system architects and application developers have their view into the use cases, sequences of events, and objects that have to be implemented to develop the application code and the services necessary to codify the detailed business process.


More Stories By Ian Thain

As one of the Sybase Technical Evangelists, Ian regularly addresses technical audiences all over the world and his sessions are always very well attended. He also writes education classes, whitepapers, demos and articles for various Sybase products and publishes regularly in Journals such as SYS-CON's PBDJ and International Developer Magazine. He is also the Sybase Unwired Platform & PocketBuilder Evangelist and works closely with the team in Dublin, CA and Concord, MA on new features and demonstrations for the products. In his customer-facing Evangelist role, Ian is very involved with the design, production and testing of Enterprise class Unwired Solutions, that have been implemented using Sybase's Unwired tools for Sybase customers around the globe. In addition, Ian is a dedicated technical expert continually working with Sybase's key partners and clients to enhance the capabilities of the Unwired solutions that Sybase can offer to its customers. Ian can also be found on Twitter @ithain

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.


@MicroservicesExpo Stories
DevOps at Cloud Expo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 21st Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time to w...
Is advanced scheduling in Kubernetes achievable? Yes, however, how do you properly accommodate every real-life scenario that a Kubernetes user might encounter? How do you leverage advanced scheduling techniques to shape and describe each scenario in easy-to-use rules and configurations? In his session at @DevOpsSummit at 21st Cloud Expo, Oleg Chunikhin, CTO at Kublr, will answer these questions and demonstrate techniques for implementing advanced scheduling. For example, using spot instances ...
We all know that end users experience the Internet primarily with mobile devices. From an app development perspective, we know that successfully responding to the needs of mobile customers depends on rapid DevOps – failing fast, in short, until the right solution evolves in your customers' relationship to your business. Whether you’re decomposing an SOA monolith, or developing a new application cloud natively, it’s not a question of using microservices – not doing so will be a path to eventual b...
In his session at 21st Cloud Expo, Michael Burley, a Senior Business Development Executive in IT Services at NetApp, will describe how NetApp designed a three-year program of work to migrate 25PB of a major telco's enterprise data to a new STaaS platform, and then secured a long-term contract to manage and operate the platform. This significant program blended the best of NetApp’s solutions and services capabilities to enable this telco’s successful adoption of private cloud storage and launchi...
Transforming cloud-based data into a reportable format can be a very expensive, time-intensive and complex operation. As a SaaS platform with more than 30 million global users, Cornerstone OnDemand’s challenge was to create a scalable solution that would improve the time it took customers to access their user data. Our Real-Time Data Warehouse (RTDW) process vastly reduced data time-to-availability from 24 hours to just 10 minutes. In his session at 21st Cloud Expo, Mark Goldin, Chief Technolo...
Digital transformation leaders have poured tons of money and effort into coding in recent years. And with good reason. To succeed at digital, you must be able to write great code. You also have to build a strong Agile culture so your coding efforts tightly align with market signals and business outcomes. But if your investments in testing haven’t kept pace with your investments in coding, you’ll lose. But if your investments in testing haven’t kept pace with your investments in coding, you’ll...
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...
Containers are rapidly finding their way into enterprise data centers, but change is difficult. How do enterprises transform their architecture with technologies like containers without losing the reliable components of their current solutions? In his session at @DevOpsSummit at 21st Cloud Expo, Tony Campbell, Director, Educational Services at CoreOS, will explore the challenges organizations are facing today as they move to containers and go over how Kubernetes applications can deploy with lega...
Today most companies are adopting or evaluating container technology - Docker in particular - to speed up application deployment, drive down cost, ease management and make application delivery more flexible overall. As with most new architectures, this dream takes significant work to become a reality. Even when you do get your application componentized enough and packaged properly, there are still challenges for DevOps teams to making the shift to continuous delivery and achieving that reducti...
SYS-CON Events announced today that Cloud Academy has been named “Bronze 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. Cloud Academy is the leading technology training platform for enterprise multi-cloud infrastructure. Cloud Academy is trusted by leading companies to deliver continuous learning solutions across Amazon Web Services, Microsoft Azure, Google Cloud Platform, and the most...
The last two years has seen discussions about cloud computing evolve from the public / private / hybrid split to the reality that most enterprises will be creating a complex, multi-cloud strategy. Companies are wary of committing all of their resources to a single cloud, and instead are choosing to spread the risk – and the benefits – of cloud computing across multiple providers and internal infrastructures, as they follow their business needs. Will this approach be successful? How large is the ...
DevOps is often described as a combination of technology and culture. Without both, DevOps isn't complete. However, applying the culture to outdated technology is a recipe for disaster; as response times grow and connections between teams are delayed by technology, the culture will die. A Nutanix Enterprise Cloud has many benefits that provide the needed base for a true DevOps paradigm. In their Day 3 Keynote at 20th Cloud Expo, Chris Brown, a Solutions Marketing Manager at Nutanix, and Mark Lav...
Many organizations adopt DevOps to reduce cycle times and deliver software faster; some take on DevOps to drive higher quality and better end-user experience; others look to DevOps for a clearer line-of-sight to customers to drive better business impacts. In truth, these three foundations go together. In this power panel at @DevOpsSummit 21st Cloud Expo, moderated by DevOps Conference Co-Chair Andi Mann, industry experts will discuss how leading organizations build application success from all...
DevSecOps – a trend around transformation in process, people and technology – is about breaking down silos and waste along the software development lifecycle and using agile methodologies, automation and insights to help get apps to market faster. This leads to higher quality apps, greater trust in organizations, less organizational friction, and ultimately a five-star customer experience. These apps are the new competitive currency in this digital economy and they’re powered by data. Without ...
A common misconception about the cloud is that one size fits all. Companies expecting to run all of their operations using one cloud solution or service must realize that doing so is akin to forcing the totality of their business functionality into a straightjacket. Unlocking the full potential of the cloud means embracing the multi-cloud future where businesses use their own cloud, and/or clouds from different vendors, to support separate functions or product groups. There is no single cloud so...
For most organizations, the move to hybrid cloud is now a question of when, not if. Fully 82% of enterprises plan to have a hybrid cloud strategy this year, according to Infoholic Research. The worldwide hybrid cloud computing market is expected to grow about 34% annually over the next five years, reaching $241.13 billion by 2022. Companies are embracing hybrid cloud because of the many advantages it offers compared to relying on a single provider for all of their cloud needs. Hybrid offers bala...
With the modern notion of digital transformation, enterprises are chipping away at the fundamental organizational and operational structures that have been with us since the nineteenth century or earlier. One remarkable casualty: the business process. Business processes have become so ingrained in how we envision large organizations operating and the roles people play within them that relegating them to the scrap heap is almost unimaginable, and unquestionably transformative. In the Digital ...
These days, APIs have become an integral part of the digital transformation journey for all enterprises. Every digital innovation story is connected to APIs . But have you ever pondered over to know what are the source of these APIs? Let me explain - APIs sources can be varied, internal or external, solving different purposes, but mostly categorized into the following two categories. Data lakes is a term used to represent disconnected but relevant data that are used by various business units wit...
The nature of the technology business is forward-thinking. It focuses on the future and what’s coming next. Innovations and creativity in our world of software development strive to improve the status quo and increase customer satisfaction through speed and increased connectivity. Yet, while it's exciting to see enterprises embrace new ways of thinking and advance their processes with cutting edge technology, it rarely happens rapidly or even simultaneously across all industries.
It has never been a better time to be a developer! Thanks to cloud computing, deploying our applications is much easier than it used to be. How we deploy our apps continues to evolve thanks to cloud hosting, Platform-as-a-Service (PaaS), and now Function-as-a-Service. FaaS is the concept of serverless computing via serverless architectures. Software developers can leverage this to deploy an individual "function", action, or piece of business logic. They are expected to start within milliseconds...