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

Related Topics: Weblogic

Weblogic: Article

Building Infrastructure-Aware Applications

Building Infrastructure-Aware Applications

Just as service-based applications leverage a shared set of application resources, infrastructure-aware applications leverage a shared infrastructure that can adapt to meet the needs of the application. This article will introduce the basics of a shared infrastructure, look at the Blue Titan Network Director and how it interoperates with WebLogic Enterprise Platform to enable infrastructure-aware application development, and provide a glimpse into the future of adaptive applications.

Infrastructure-Aware Applications
Applications have traditionally been stand-alone islands of functionality. Web services are changing this by providing a natural way to decompose applications into granular pieces, allowing them to be recomposed and recombined across multiple systems for different uses. This granularity, along with the ability to compose higher-level applications out of individual pieces, provides developers with new facilities to build extremely sophisticated applications with a high degree of reuse and efficiency.

A number of emerging standards and technologies will extend this granularity and reusability down into the application infrastructure itself - allowing infrastructure-aware applications to interact with the application backbone in real time to serve broader service-level or reliability requirements. For example, if the latency of a Web service increases to an unacceptable level due to a traffic spike, an infrastructure-aware application would be able to increase capacity by adding another service instance, or alternatively, limiting access to only priority customers. Either of these actions would ensure that performance stays within the bounds of service-level agreements (SLAs) established with your most important customers.

Blue Titan gives developers a practical way to create infrastructure-aware applications by providing a shared infrastructure that virtualizes core functions such as SLA enforcement, routing, failover, access control, logging, and prioritization into a common set of shared services that can be reused across any number of Web service applications. This clean separation of application from infrastructure functionality allows developers to focus on creating core business logic without concern for deployment details, while also allowing administrators to define and enforce consistent, enterprise-wide control policies for all Web services.

Shared Infrastructure
The benefits of shared infrastructure are numerous and clear. From a development perspective, developers are no longer burdened with building infrastructure into every application. Instead, they simply utilize a set of shared services that are executed in the network. From an administration perspective, administrators can define and apply uniform infrastructure practices to all of the applications they manage, and maintain a well-defined, common set of services and infrastructure facilities. From a resource utilization perspective, infrastructure can be managed and scaled as a cohesive set of resources to meet broad performance or reliability requirements, rather than as a disparate set of isolated islands.

To create an adaptive application backbone a shared infrastructure must have four key attributes:

  • A set of shared network nodes that monitor and route Web service traffic in accordance with established infrastructure policies: These nodes proxy all Web service traffic and are generally managed by the enterprise IT organization.
  • A set of shared infrastructure services that can be provisioned across an organization to be utilized by multiple developer groups: These services either run on the shared network nodes or on specialized enterprise systems (for example, a shared authentication service would probably run on an existing identity system).
  • The ability to define and enforce unified policies across the entire shared infrastructure: These policies govern such shared functions as authentication and prioritization of requestors, logging of inbound messages, and compensation for breached SLAs.
  • An open, service-based interface that provides access to infrastructure control functions and service metadata.

    With these four pieces in place it's possible to create an adaptive feedback loop between real-time service performance and the underlying application infrastructure.

    In Figure 1, a continuous compliance cycle runs in the background of every application to verify that all associated infrastructure policies are met. If all policy requirements are met, this cycle just hums away unnoticed. When a policy is breached (unacceptable latency, multiple unauthorized requests, etc.), an event is generated that triggers a set of compensation services. These services adapt operational properties of the shared infrastructure to return the service to a compliant state.

    A Practical Implementation of Shared Infrastructure
    Blue Titan Network Director is enterprise software that enables the control and coordination of Web services. It provides a shared infrastructure of Control Points (network nodes) and Fabric Services (shared infrastructure services). When used in conjunction with the BEA WebLogic Platform, Network Director enables a practical path toward infrastructure-aware applications.

    Services created in BEA WebLogic Workshop are registered with the Network Director, where they become manageable network resources. Once registered, services are assigned specific security, management, and monitoring polices that are enforced across the enterprise in a consistent, unified way. Developers are responsible for creating services with well-defined interfaces and WSDLs, and IT handles the rest. This way, if policies change (say a new logging requirement is imposed), the service itself remains valid and usable.

    Fabric Services
    Currently Blue Titan provides a set of over 80 shared, reusable services out of the box. These Fabric Services allow developers and administrators to programmatically interact with the Network Director without coding or scripting. They give programmatic access to service metadata, service management functions, and control functions. This lets IT build infrastructure policies that can affect traffic flow, capacity, and access properties of the network to meet operational requirements.

    Indirect Addressing Through Control Points
    Blue Titan Control Points execute and enforce Web service control policies across an enterprise. Control Points are servlet-based components that run on BEA WebLogic Server and are deployed across a network as dictated by traffic, security, or reliability requirements. Upon registration with the Network Director, all Web service interfaces are assigned a virtual address that references a Control Point. All requests for the service are routed first to a Blue Titan Control Point and then to the corresponding service provider. This indirect addressing enables all of the control, coordination, and metadata functions provided by Network Director. As requests and responses pass through the Control Point, policy is enforced (access, failover, etc.) and operational metadata (response time, uptime percentage, etc.) is gathered and stored in logs. This information can then be referenced by any application with any Web service-compatible application, including WebLogic Workshop or Portal.

    Infrastructure-Aware Application Examples
    Using the BEA WebLogic Enterprise Platform and the Blue Titan Network Director, developers and enterprise IT can collaborate to create an adaptive infrastructure. Given that all visibility and control functions are Web services themselves, the flexibility of the resulting infrastructure is almost unlimited. The examples below demonstrate a few simple ways that a developer can utilize the shared infrastructure to make more reliable and responsive applications.

    Analyzing Service Metadata at Build Time
    Using the Blue Titan Network Director and BEA WebLogic Workshop, a developer can query up-to-the-minute performance information for a specific service. With this information, decisions can be made on whether to use a specific service or an alternative with a better performance and reliability history. (see Figure 2).

    Using WebLogic Workshop a developer would call the Blue Titan Fabric Service listConsumableServices to display which services are available for use. In this example, assume that there are two versions of a service: ServiceA.1 and ServiceA.2. Then the Fabric Services getLatencyByService, getUptimeByService, and getUsageByService would be called to view the metadata for ServiceA.1 and ServiceA.2. The resulting information would then be used to decide which service is better suited to the application (see Figure 2).

    Note that this sequence of Fabric Service calls could easily be aggregated into a single coarse-grained Web service named listServiceMetadata. This service could then be provisioned to developers for future use, made into a Workshop Control, or hooked into BEA WebLogic Portal to provide a graphical interface. The result is a streamlined process for discovering and acting upon service metadata at build time.

    Deploying Additional Service Instances Based on SLA Breach
    An infrastructure-aware application can interact with the underlying WebLogic Platform to fulfill service-level agreement (SLA) requirements. Assume that a certain high-value service, tradeStatus, has a maximum latency constraint of 500ms. In other words, the service provider has guaranteed that tradeStatus will execute within 500ms or the usage fee will be returned to the consumer. To enforce this constraint the service provider utilizes the Blue Titan Network Director.

    Look again at the flowchart in Figure 1. The compliance cycle runs continuously to monitor the operational metrics of tradeStatus. A usage surge causes latency to exceed 500ms and an event is generated that kicks off the compensation cycle. Given that the compensation cycle simply calls other (infrastructure) Web services, it can perform any number of actions in response to the event. In this case, the compensation cycle will call two Workshop Controls, deployWebService and registerWithBlueTitan, which will bring an additional instance of tradeStatus online, increasing capacity and reducing latency. (see Figures 3 and 4).

    The Workshop Control deployWebService invokes a previously defined set of Ant tasks that automatically build an EAR in Workshop and deploy it to an available WebLogic Server. Then the Workshop Control registerWithBlueTitan invokes a series of Fabric Services that registers the new WSDL with the Network Director and assigns appropriate policy. Once that is done the Web service will be accessed automatically by consumers and included in the compliance cycle. Should the latency remain out of bounds, the process can be repeated.

    BEA and Blue Titan are actively collaborating to provide a best-in-class Web service infrastructure. The WebLogic Platform is purpose built to compose and run business-critical Web services. Blue Titan Network Director augments these capabilities by providing a common control infrastructure to ensure that all Web services are utilized in a consistent way across an enterprise. Today this offers customers a practical way to operate reliable and scalable Web service applications. In the near future, as customers utilize conversations to support asynchronous processes, BEA and Blue Titan will extend the flexibility of Web services into event-driven stateful processes that span multiple systems or domains. The end result is a 100% standards-based approach to enterprise computing and a dramatic reduction in the cost of building, integrating, and operating business applications.

  • More Stories By Robert Shear

    Robert Shear is the director of product management for Blue Titan Software. He has more than 10 years of experience in the high-tech industry. Before joining Blue Titan, Robert was director of marketing for CommerceRoute, a pioneer in XML appliances, and a development engineer for the Scripps Institution of Oceanography. He holds a B.S. in physics from UC San Diego and an MBA from the Haas School of Business.

    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
    Digital Transformation (DX) is not a "one-size-fits all" strategy. Each organization needs to develop its own unique, long-term DX plan. It must do so by realizing that we now live in a data-driven age, and that technologies such as Cloud Computing, Big Data, the IoT, Cognitive Computing, and Blockchain are only tools. In her general session at 21st Cloud Expo, Rebecca Wanta explained how the strategy must focus on DX and include a commitment from top management to create great IT jobs, monitor ...
    The 22nd International Cloud Expo | 1st DXWorld Expo has announced that its Call for Papers is open. Cloud Expo | DXWorld Expo, to be held June 5-7, 2018, at the Javits Center in New York, NY, brings together Cloud Computing, Digital Transformation, Big Data, Internet of Things, DevOps, Machine Learning and WebRTC to one location. With cloud computing driving a higher percentage of enterprise IT budgets every year, it becomes increasingly important to plant your flag in this fast-expanding busin...
    "Digital transformation - what we knew about it in the past has been redefined. Automation is going to play such a huge role in that because the culture, the technology, and the business operations are being shifted now," stated Brian Boeggeman, VP of Alliances & Partnerships at Ayehu, 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.
    In his session at 21st Cloud Expo, Raju Shreewastava, founder of Big Data Trunk, provided a fun and simple way to introduce Machine Leaning to anyone and everyone. He solved a machine learning problem and demonstrated an easy way to be able to do machine learning without even coding. Raju Shreewastava is the founder of Big Data Trunk (www.BigDataTrunk.com), a Big Data Training and consulting firm with offices in the United States. He previously led the data warehouse/business intelligence and B...
    A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
    Cloud Expo | DXWorld Expo have announced the conference tracks for Cloud Expo 2018. Cloud Expo will be held June 5-7, 2018, at the Javits Center in New York City, and November 6-8, 2018, at the Santa Clara Convention Center, Santa Clara, CA. Digital Transformation (DX) is a major focus with the introduction of DX Expo within the program. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive ov...
    Product connectivity goes hand and hand these days with increased use of personal data. New IoT devices are becoming more personalized than ever before. In his session at 22nd Cloud Expo | DXWorld Expo, Nicolas Fierro, CEO of MIMIR Blockchain Solutions, will discuss how in order to protect your data and privacy, IoT applications need to embrace Blockchain technology for a new level of product security never before seen - or needed.
    Smart cities have the potential to change our lives at so many levels for citizens: less pollution, reduced parking obstacles, better health, education and more energy savings. Real-time data streaming and the Internet of Things (IoT) possess the power to turn this vision into a reality. However, most organizations today are building their data infrastructure to focus solely on addressing immediate business needs vs. a platform capable of quickly adapting emerging technologies to address future ...
    With tough new regulations coming to Europe on data privacy in May 2018, Calligo will explain why in reality the effect is global and transforms how you consider critical data. EU GDPR fundamentally rewrites the rules for cloud, Big Data and IoT. In his session at 21st Cloud Expo, Adam Ryan, Vice President and General Manager EMEA at Calligo, examined the regulations and provided insight on how it affects technology, challenges the established rules and will usher in new levels of diligence arou...
    SYS-CON Events announced today that Evatronix 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. Evatronix SA offers comprehensive solutions in the design and implementation of electronic systems, in CAD / CAM deployment, and also is a designer and manufacturer of advanced 3D scanners for professional applications.
    SYS-CON Events announced today that Synametrics Technologies will exhibit at SYS-CON's 22nd International Cloud Expo®, which will take place on June 5-7, 2018, at the Javits Center in New York, NY. Synametrics Technologies is a privately held company based in Plainsboro, New Jersey that has been providing solutions for the developer community since 1997. Based on the success of its initial product offerings such as WinSQL, Xeams, SynaMan and Syncrify, Synametrics continues to create and hone inn...
    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 ...
    "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.
    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...
    Nordstrom is transforming the way that they do business and the cloud is the key to enabling speed and hyper personalized customer experiences. In his session at 21st Cloud Expo, Ken Schow, VP of Engineering at Nordstrom, discussed some of the key learnings and common pitfalls of large enterprises moving to the cloud. This includes strategies around choosing a cloud provider(s), architecture, and lessons learned. In addition, he covered some of the best practices for structured team migration an...
    No hype cycles or predictions of a gazillion things here. IoT is here. You get it. You know your business and have great ideas for a business transformation strategy. What comes next? Time to make it happen. In his session at @ThingsExpo, Jay Mason, an Associate Partner of Analytics, IoT & Cybersecurity at M&S Consulting, presented a step-by-step plan to develop your technology implementation strategy. He also discussed the evaluation of communication standards and IoT messaging protocols, data...
    Recently, REAN Cloud built a digital concierge for a North Carolina hospital that had observed that most patient call button questions were repetitive. In addition, the paper-based process used to measure patient health metrics was laborious, not in real-time and sometimes error-prone. In their session at 21st Cloud Expo, Sean Finnerty, Executive Director, Practice Lead, Health Care & Life Science at REAN Cloud, and Dr. S.P.T. Krishnan, Principal Architect at REAN Cloud, discussed how they built...
    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 ...
    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 ...
    DevOps at Cloud Expo – being held June 5-7, 2018, at the Javits Center in New York, NY – announces that its Call for Papers is open. Born out of proven success in agile development, cloud computing, and process automation, DevOps is a macro trend you cannot afford to miss. From showcase success stories from early adopters and web-scale businesses, DevOps is expanding to organizations of all sizes, including the world's largest enterprises – and delivering real results. Among the proven benefits,...