Click here to close now.

Welcome!

@MicroservicesE Blog Authors: Lori MacVittie, Cloud Best Practices Network, Liz McMillan, Elizabeth White, Michael Kanasoot

Related Topics: Java IoT, Industrial IoT, @MicroservicesE Blog, IBM Cloud, Weblogic, IoT User Interface

Java IoT: Article

Component Models in Java | Part 1

Component-oriented programming is a preferred solution to address the increasing complexity in developing software applications

A component is a reusable software entity. A component is a deployable piece of software that can be independently developed and maintained. In the previous article -Componentizing a Monolithic Application in Java, we discussed the need for componentizing applications to get the benefits of reusability and modularity. We also looked at how an E-Store application can be componentized using a simple component model developed by the authors using a factory whiteboard pattern and a simple repository.

In Part 1 of this article we will try to understand various component models in Java and provide a brief comparison of the features provided by them. Traditionally to explain component-based software engineering (CBSE) principles, popular component frameworks like CORBA, DCOM and JavaBeans are used. Instead of this traditional approach, this article will focus on the latest and widely adopted component models and frameworks specific to Java platform such as Enterprise JavaBeans Component Model (EJB), OSGi Component Model (OSGi), Spring Component Model (spring) and Component Model using Service Component Architecture (SCA).

In this article, first an introduction of component is given and types of components are explained and then the four component models are discussed in brief. At the end, a summary of the four component models is given.

Understanding Components
Component-oriented programming is a preferred solution to address the increasing complexity in developing software applications. Component oriented development has many advantages. Typically a component is accessed using an interface that is provided by the component. A component can also depend on other interfaces provided by other components for fulfilling the functionality. Components are developed, assembled and composed with the help of a standardized component model. Each component model has its own standards for development and composition. These component models provide are accompanied by component framework which provides the runtime environment where these components are executed.

Components can be classified into different types depending on where and how they are used. We try to classify the components into the following types based on their usage in N-tier architecture.

  • UI Components
    • Reusable components created for User Interface in applications. These components typically represent UI elements like form control - text field, radio button, data grid, table etc. used for managing the presentation tier of the application.
  • Business Components
    • Reusable components that contain the business logic of the application. The components are usually POJO based, developed and deployed according to a standardized component model. The model also provides the environment for execution of these components.
  • Persistence Components
    • Reusable components used in the persistence tier of an enterprise application. These components typically help in managing the persistence between the enterprise application and the data store.
  • Application Services Components
    • Reusable components which perform services like security, infrastructure management, transaction and validation for the application. These components are used along with the business components since they provide the application services required for the business components.

There are several models and frameworks available to develop each type of component. The focus of this article is on the business components; we will try to understand how the business components can be developed using the following standardized, matured and popularly used component models:

  • Enterprise JavaBeans (EJB)
  • Spring
  • OSGi
  • Service Component Architecture (SCA)

The objective is to give an introduction of these component models from the perspective of component principles and to understand the features provided by each of them. This article does not delve much into the details of the component models.

Enterprise JavaBeans Component Model
Enterprise JavaBeans (EJB) is a component model that is significant part of the Java Platform, Enterprise Edition. This is a standard from the JCP (Java Community Process) for representing business components in an n-tier enterprise application. Enterprise JavaBeans are distributed business components that contain the business logic of the enterprise application. The first release of the standard is EJB version 1.0. Much has changed in the EJB standard from its version 3.0. EJB has become truly lightweight, POJO based component model from EJB 3.0. This article will focus on the features of EJB with reference to EJB 3.0 specification. The classes and interfaces required for developing the components as per the model are packaged in EJB API.

An Enterprise JavaBeans component is a combination of an interface referred to as business interface and a class (POJO) containing the implementation for the interface referred to as EJB component.

Business Interface
The business interface of an EJB is a Plain Old Java Interface (POJI). The business interface for the enterprise bean contains the signature of the business methods. Business interface is the component interface which is exposed to the clients. The Enterprise JavaBeans model supports both local invocation and distributed invocation. So the component interface (business interface) can be used for local invocation and remote invocation.

EJB Component
The EJB component implements the business interface and contains the implementation of the methods in the business interface. The EJB component is used for the implementation of the business logic of the enterprise application and is available in the following types:

  • Stateless Session Bean
  • Stateful Session Bean
  • Singleton Session Bean
  • Message Driven Bean

Stateless session bean represents the business component which has no conversational state with the client. Stateless session bean components are not shared between clients. They are used for single method request/response communication between client and the component.

Stateful session bean is a business component that contains the conversational state for a single client. The conversational state of the component is maintained ONLY for a single client.

Singleton session bean is a new type of business component introduced from the recent specification of EJB. This is a business component which is shared between clients and supports concurrent access.

Message driven beans are business components that are designed to consume messages from messaging systems like Java Message Service (JMS). Message driven beans enable asynchronous communication and they get activated upon message arrival.

The types of beans are identified using metadata annotation in the source code or through the XML deployment descriptor. All the types of EJB components are POJO based and the following annotations are used:

  • @Stateless
  • @Stateful
  • @Singleton
  • @MessageDriven

EJB Container
Components are typically deployed into the container that provides runtime and services for them. The EJB component and the business interface are packaged into a JAR file and deployed in an EJB container. EJB containers manage the life cycle of the EJB components. Typically clients trying to access the component cannot create an object of the EJB directly, rather it gets a reference to the object created by the container. Containers are rich in features and provide all the services required for the components. The container acts as a registry having references of all components deployed in it.

Component Reference
Clients accessing EJB components (except Message Driven Beans) can be a remote client or local clients. A remote client is the one that accesses EJB components using remote protocol like RMI or IIOP. A local client is the one that accesses EJB components from the same JVM where the component is running.

Like any other component model, the EJB beans are not instantiated directly using the ‘new' operator. For accessing EJB components, dependency injection is used for getting a reference to the component deployed in the container. Dependency injection is based on the principles of ‘Inversion of Control.' The idea is to avoid the direct creation of objects using a ‘new' operator on the server-side Java. Dependency injection for EJB components is provided with the help of metadata annotation @EJB. The annotation @EJB specifies a reference to the business interface. When this annotation is used, the container will provide a reference of the component to the clients. A local client for EJB simply uses the @EJB to get a reference to the component.

A remote client for EJB, where injection is not possible has an alternate way of accessing EJB components. They have to use JNDI (Java Naming and Directory Interface) API for locating the components in the container with a string name usually called as JNDI name. The container will provide the reference of the component which will be used by the clients.

A Message Driven Bean can't be accessed by clients directly because they are asynchronous message listeners. This is a type of EJB component that is activated by the arrival of a message in a message destination. So clients cannot invoke any of the methods in the message driven bean.

Example to Understand EJB Component Model
The EJB component model discussed above can be understood with a simple example. Let us take the example of a Cart component used in online shopping. The Cart component has several methods like addItem, listItems, getTotalPrice and clearCart which helps to add items to the cart, list the items in the cart, get the total price of the components in the cart and clear the cart contents.

Note:  For benefit of those readers who read our earlier article on Componentizing Monolithic Application in Java, this is the same ShoppingCart component discussed in the article with little modifications. For simplicity, only a single component - Cart is used for demonstration purposes in this article.

Figure 1 - EJB Component Model - Cart Component Example

The business interface of the component in EJB model is a remote interface called ‘CartBeanRemote'.

package com.online.shopping;

import java.util.Collection;
import javax.ejb.Remote;

@Remote
public interface CartBeanRemote {
public void addItem(Product product, int quantity);
public Collection<Product> listItems();    
public double getTotalPrice();
public void clearCart();   
}

The business interface is implemented as a Stateful session EJB component ‘CartBean' because the component has to maintain the conversational state across method invocations for the client.

package com.online.shopping;

import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import javax.ejb.Stateful;

@Stateful
public class CartBean implements CartBeanRemote {
Map<Product, Integer> items = new HashMap<Product, Integer>();      

@Override
public Collection<Product> listItems() {
HashSet<Product> contents = new HashSet<Product>();
Set<Product> set = items.keySet();
Iterator<Product> iterator = set.iterator();
while(iterator.hasNext()) {
contents.add(iterator.next());
}
return contents;
}  

@Override
public void addItem(Product product, int quantity) {
if(items.containsKey(product)) {
quantity +=items.get(product);
}
items.put(product, quantity);
}

@Override
public void clearCart() {
items.clear();
}

@Override
public double getTotalPrice() {
double totalPrice = 0;
for(Product product: items.keySet()) {
totalPrice+=product.getPrice()* items.get(product);           
}
return totalPrice;
}

}

The Stateful session bean is accessed by the client using a dependency injection @EJB annotation. The client need not create an object of the bean; rather the container will give the reference of the bean instance. Since this is a Stateful session bean, the bean maintains the conversational state of this client. The EJB component is stored internally in the container with a global JNDI name which by default is the name of the business interface-cartBeanRemote. Optionally the JNDI name can be specified as part of the @Stateful annotation. The container will look up internally for the bean with the global JNDI name (cartBeanRemote in this case) and a reference is injected into the business interface which is used by the client. The client is as simple as shown below.

package shoppingcartclient;

import com.online.shopping.CartBeanRemote;
import com.online.shopping.Product;
import java.util.Collection;
import javax.ejb.EJB;

public class ClientApp {

@EJB
private static CartBeanRemote cartBeanRemote;

public static void main(String[] args) {      

Product product = new Product();
product.setName("OSGi");
product.setPrice(550.00);
cartBeanRemote.addItem(product, 10);

Product newProduct = new Product();
newProduct.setName("EJB");
newProduct.setPrice(500.00);
cartBeanRemote.addItem(newProduct, 20);

Collection<Product> productItems = cartBeanRemote.listItems();
for(Product items: productItems) {
System.out.println(items.getName()+"******"+ items.getPrice());             
}            

System.out.println("Total Price of Cart Items: "+cartBeanRemote.getTotalPrice());

cartBeanRemote.clearCart();  

}
}

An alternative to the dependency injection as mentioned earlier, the JNDI API can be used to locate the business interface and the bean can be accessed using that. This is how the standardized EJB component Model simplifies the development, deployment and accessing of the components which is really a complex task without the model.

Spring Component Model
Spring is the most popular open source framework for building end-to-end enterprise applications in Java. Spring brings in greatest benefits like lightweight and modularity. This is achieved with the help of componentization of the framework. The Spring framework was initially written by Rod Johnson and was first released in the year June 2003. Spring components are POJO based and the benefit here is that the Spring components do not need heavyweight containers, only lightweight web containers (Servlet Containers...) are sufficient.

Spring is popular because of its support for Inversion of Control (IoC) features in the form of a Dependency Injection. As discussed earlier, dependency injection is the simplest form of representation of dependency between two classes without creating an object of the class using ‘new' operator. Dependency injection is the heart of the Spring framework. Apart from dependency injection, Spring framework provides support for AOP (Aspect Oriented Programming) as well. Spring framework provides the required APIs for development and deployment of the components.

Spring is slightly different component model from others in the fact that there is no concept of interface available directly to expose component methods. The component itself is used directly, without violating the component principles. Spring framework comprises of Spring Beans (the ‘Component') which is a POJO which is deployed and instantiated in a container called Spring Container which instantiates the bean components using a configuration file -XML file.

Spring Container
The Spring container is the core of the Spring framework. The container takes the responsibility of creating objects, configuring properties of objects, wiring them together and completely managing the life cycle of objects from its creation till destruction. The container completely depends on the configuration file which is XML file to perform any operations on the object.

Spring Container is built on the principles of IoC. The container uses dependency injection to manage the components deployed in them. The components are referred as Spring beans. The Spring container is of two types:

  • Spring BeanFactory Container
  • Spring ApplicationContext Container

The Spring BeanFactory container is the simplest container, an implementation of the Factory design pattern that provides the basic support for dependency injection and is defined by an interface called ‘BeanFactory' interface in the Spring API. Spring ApplicationContext container is an enhanced one which includes all the functionality provided by the BeanFactory container and provides additional features required for enterprise functionality. Hence for simple, lightweight applications, BeanFactory container is used whereas ApplicationContext container is the most preferred one.

The ApplicationContext container is advanced and is used for loading the bean definitions from the configuration file. This container provides several ways to load the configuration file. It allows loading XML file from a file system through FileSystemXmlApplicationContext, from the CLASSPATH using ClassPathXmlApplicationContext and from a web application through WebXmlApplicationContext. These contexts are crucial in instantiation of a bean.

Spring Beans
Spring Beans are the components that contain the business logic in the Spring framework. They are developed and deployed in the spring container which manages the life cycle of the beans. The instantiation of beans is managed by the container with the help of configuration file. Spring Beans are POJOs and are categorized into two types only at the time of instantiation:

  • Singleton
  • Prototype

If Singleton, only one single instance of the bean is created per Spring container. The single instance is cached and used for subsequent requests. If Prototype, instances can be created in any number based on the requests. By default, the spring bean is Singleton in nature. The type of the bean to be instantiated is decided by the entry in the configuration XML file.

Spring Configuration
Spring configuration is an XML file that is popularly known as a Bean Configuration file. This configuration file can have any name, but is usually referred to as ‘Beans.xml' and is critical in managing bean instances. Spring container loads the XML file and manages the beans referred in the file. Actually Spring provides three ways of configuration as mentioned below:

  • XML-based configuration file
  • Annotation based configuration
  • Java-based configuration

However the XML-based configuration file is commonly used. The XML file contains the configuration metadata that is used by the container for creating a bean instance, managing bean's lifecycle methods and bean's dependencies. Some of the important metadata that goes as part of the configuration file are listed below:

  • id - Id for the bean
  • class - Specified the bean class
  • name - Id for the bean by a name
  • scope - Scope of the bean objects - singleton, prototype, request, session
  • lazy-init - Bean will be initialized only during the first request
  • init-method - Method invoked after initialization of the bean
  • destroy-method - Method invoked before the destruction of the bean instance
  • constructor-arg - Used for injecting dependencies
  • properties - Used for injecting dependencies
  • autowire - Used for injecting dependencies

Example to Understand Spring Component Model
The Spring Component model can be understood with the same shopping Cart example discussed in the EJB component model.

Figure 2 - Spring Component Model - Cart Component Example

The CartBean is a POJO with the same methods discussed earlier. The spring bean need not implement any interfaces.

package com.online.shopping;

import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;

public class CartBean {
Map<Product, Integer> items = new HashMap<Product, Integer>();

public Collection<Product> listItems() {       
return items.keySet();
}

public void addItem(Product product, int quantity) {
if (items.containsKey(product)) {
quantity += items.get(product);
}
items.put(product, quantity);
}

public void clearCart() {
items.clear();
}

public double getTotalPrice() {
double totalPrice = 0;
for (Product product : items.keySet()) {
totalPrice += product.getPrice() * items.get(product);
}
return totalPrice;
}
}

The configuration file which is an XML file for the CartBean is referred as ‘Beans.xml'.  The XML file is placed under the source folder of the project. As mentioned earlier, the XML file is used for uniquely identifying beans and creation of objects. When the Spring application is loaded in the memory, the XML file is read first and the container uses this configuration file to create all the required beans and assigns id as per the tags present the configuration file. The XML file used in this example is mentioned below. The ‘CartBean' is assigned a unique id ‘cartBean'. Every bean is loaded and identified using the <bean> tag in the XML file and this tag can have child tags like <property>.

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

<bean id="cartBean" class="com.online.shopping.CartBean" />

</beans>

To access the CartBean, the id of the bean and the context should be available for the client programs. First, the client tries to create an application context appropriately (File or ClassPath or Web). In this example, the client uses ClassPathXmlApplicationContext API that helps in loading the ‘Beans.xml' from the CLASSPATH (the XML file must be available in the CLASSPATH) and based on the information available in the configuration file, the container takes the responsibility of creating and initializing the beans, cartBean in this case.  The context plays an important role to get the reference of the bean since there is no interface. The bean reference is obtained using getBean() method of the context object.

package com.shopping.client;

import java.util.Collection;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.online.shopping.CartBean;
import com.online.shopping.Product;

public class ClientApp {

/**
* @param args
*/
public static void main(String[] args) {
ApplicationContext context = new ClassPathXmlApplicationContext("Beans.xml");
CartBean cartBean = (CartBean) context.getBean("cartBean");

Product product = new Product();
product.setName("OSGi");
product.setPrice(550.00);
cartBean.addItem(product, 10);

Product newProduct = new Product();
newProduct.setName("Spring");
newProduct.setPrice(550.00);
cartBean.addItem(newProduct, 10);

Collection<Product> productItems = cartBean.listItems();
for(Product items: productItems) {
System.out.println(items.getName()+"******"+ items.getPrice());             
}            

System.out.println("Total Price of Cart Items: "+cartBean.getTotalPrice());

cartBean.clearCart();
}

}

Thus, Spring framework provides a simplified way to create components with the help of Spring factory, configuration XML file and the Spring container. Developing components has really become easy with the help of the Spring framework.

More Stories By Piram Manickam

Piram Manickam works at Infosys Limited. He would like to acknowledge and thank Sangeetha S, a beloved colleague and friend, for her invaluable contributions in this work.

More Stories By Subrahmanya SV

Subrahmanya SV works at Infosys Limited. He would like to acknowledge and thank Sangeetha S, a beloved colleague and friend, for her invaluable contributions in this work.

More Stories By S Sangeetha

S Sangeetha is a Senior Technical Architect at the E-Commerce Research Labs at Infosys Limited. She has over 15 years of experience in architecture, design and development of enterprise Java applications. She is also involved in enhancing the technical skills of Architects at Infosys. She has co-authored a book on ‘J2EE Architecture’ and also has written numerous articles on Java for various online Java forums like JavaWorld, java.net, DevX.com and internet.com. She can be reached at [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.


@MicroservicesExpo Stories
Data center models are changing. A variety of technical trends and business demands are forcing that change, most of them centered on the explosive growth of applications. That means, in turn, that the requirements for application delivery are changing. Certainly application delivery needs to be agile, not waterfall. It needs to deliver services in hours, not weeks or months. It needs to be more cost efficient. And more than anything else, it needs to be really, dc infra axisreally, super focus...
Cloud Migration Management (CMM) refers to the best practices for planning and managing migration of IT systems from a legacy platform to a Cloud Provider through a combination professional services consulting and software tools. A Cloud migration project can be a relatively simple exercise, where applications are migrated ‘as is’, to gain benefits such as elastic capacity and utility pricing, but without making any changes to the application architecture, software development methods or busine...
"Plutora provides release and testing environment capabilities to the enterprise," explained Dalibor Siroky, Director and Co-founder of Plutora, in this SYS-CON.tv interview at @DevOpsSummit, held June 9-11, 2015, at the Javits Center in New York City.
Discussions about cloud computing are evolving into discussions about enterprise IT in general. As enterprises increasingly migrate toward their own unique clouds, new issues such as the use of containers and microservices emerge to keep things interesting. In this Power Panel at 16th Cloud Expo, moderated by Conference Chair Roger Strukhoff, panelists addressed the state of cloud computing today, and what enterprise IT professionals need to know about how the latest topics and trends affect t...
Many people recognize DevOps as an enormous benefit – faster application deployment, automated toolchains, support of more granular updates, better cooperation across groups. However, less appreciated is the journey enterprise IT groups need to make to achieve this outcome. The plain fact is that established IT processes reflect a very different set of goals: stability, infrequent change, hands-on administration, and alignment with ITIL. So how does an enterprise IT organization implement change...
DevOps tends to focus on the relationship between Dev and Ops, putting an emphasis on the ops and application infrastructure. But that’s changing with microservices architectures. In her session at DevOps Summit, Lori MacVittie, Evangelist for F5 Networks, will focus on how microservices are changing the underlying architectures needed to scale, secure and deliver applications based on highly distributed (micro) services and why that means an expansion into “the network” for DevOps.
Conferences agendas. Event navigation. Specific tasks, like buying a house or getting a car loan. If you've installed an app for any of these things you've installed what's known as a "disposable mobile app" or DMA. Apps designed for a single use-case and with the expectation they'll be "thrown away" like brochures. Deleted until needed again. These apps are necessarily small, agile and highly volatile. Sometimes existing only for a short time - say to support an event like an election, the Wor...
Containers have changed the mind of IT in DevOps. They enable developers to work with dev, test, stage and production environments identically. Containers provide the right abstraction for microservices and many cloud platforms have integrated them into deployment pipelines. DevOps and Containers together help companies to achieve their business goals faster and more effectively. In his session at DevOps Summit, Ruslan Synytsky, CEO and Co-founder of Jelastic, reviewed the current landscape of...
The cloud has transformed how we think about software quality. Instead of preventing failures, we must focus on automatic recovery from failure. In other words, resilience trumps traditional quality measures. Continuous delivery models further squeeze traditional notions of quality. Remember the venerable project management Iron Triangle? Among time, scope, and cost, you can only fix two or quality will suffer. Only in today's DevOps world, continuous testing, integration, and deployment upend...
Sharding has become a popular means of achieving scalability in application architectures in which read/write data separation is not only possible, but desirable to achieve new heights of concurrency. The premise is that by splitting up read and write duties, it is possible to get better overall performance at the cost of a slight delay in consistency. That is, it takes a bit of time to replicate changes initiated by a "write" to the read-only master database. It's eventually consistent, and it'...
While DevOps most critically and famously fosters collaboration, communication, and integration through cultural change, culture is more of an output than an input. In order to actively drive cultural evolution, organizations must make substantial organizational and process changes, and adopt new technologies, to encourage a DevOps culture. Moderated by Andi Mann, panelists discussed how to balance these three pillars of DevOps, where to focus attention (and resources), where organizations migh...
At DevOps Summit NY there’s been a whole lot of talk about not just DevOps, but containers, IoT, and microservices. Sessions focused not just on the cultural shift needed to grow at scale with a DevOps approach, but also made sure to include the network ”plumbing” needed to ensure success as applications decompose into the microservice architectures enabling rapid growth and support for the Internet of (Every)Things.
Mashape is bringing real-time analytics to microservices with the release of Mashape Analytics. First built internally to analyze the performance of more than 13,000 APIs served by the mashape.com marketplace, this new tool provides developers with robust visibility into their APIs and how they function within microservices. A purpose-built, open analytics platform designed specifically for APIs and microservices architectures, Mashape Analytics also lets developers and DevOps teams understand w...
Sumo Logic has announced comprehensive analytics capabilities for organizations embracing DevOps practices, microservices architectures and containers to build applications. As application architectures evolve toward microservices, containers continue to gain traction for providing the ideal environment to build, deploy and operate these applications across distributed systems. The volume and complexity of data generated by these environments make monitoring and troubleshooting an enormous chall...
Buzzword alert: Microservices and IoT at a DevOps conference? What could possibly go wrong? In this Power Panel at DevOps Summit, moderated by Jason Bloomberg, the leading expert on architecting agility for the enterprise and president of Intellyx, panelists peeled away the buzz and discuss the important architectural principles behind implementing IoT solutions for the enterprise. As remote IoT devices and sensors become increasingly intelligent, they become part of our distributed cloud envir...
Containers and Docker are all the rage these days. In fact, containers — with Docker as the leading container implementation — have changed how we deploy systems, especially those comprised of microservices. Despite all the buzz, however, Docker and other containers are still relatively new and not yet mainstream. That being said, even early Docker adopters need a good monitoring tool, so last month we added Docker monitoring to SPM. We built it on top of spm-agent – the extensible framework f...
There's a lot of things we do to improve the performance of web and mobile applications. We use caching. We use compression. We offload security (SSL and TLS) to a proxy with greater compute capacity. We apply image optimization and minification to content. We do all that because performance is king. Failure to perform can be, for many businesses, equivalent to an outage with increased abandonment rates and angry customers taking to the Internet to express their extreme displeasure.
There's a lot of things we do to improve the performance of web and mobile applications. We use caching. We use compression. We offload security (SSL and TLS) to a proxy with greater compute capacity. We apply image optimization and minification to content. We do all that because performance is king. Failure to perform can be, for many businesses, equivalent to an outage with increased abandonment rates and angry customers taking to the Internet to express their extreme displeasure.
SYS-CON Events announced today that the "Second Containers & Microservices Conference" will take place November 3-5, 2015, at the Santa Clara Convention Center, Santa Clara, CA, and the “Third Containers & Microservices Conference” will take place June 7-9, 2016, at Javits Center in New York City. Containers and microservices have become topics of intense interest throughout the cloud developer and enterprise IT communities.
The causality question behind Conway’s Law is less about how changing software organizations can lead to better software, but rather how companies can best leverage changing technology in order to transform their organizations. Hints at how to answer this question surprisingly come from the world of devops – surprising because the focus of devops is ostensibly on building and deploying better software more quickly. Be that as it may, there’s no question that technology change is a primary fac...