Managing global (XA) transactions on AWS with WebSphere Liberty

A <a href="https://en.wikipedia.org/wiki/Transaction_processing">transaction</a> is an <em>atomic</em> unit of work in which multiple updates (e.g. to a database) must be completed within the transaction or, if there are problems, none of the updates are made at all (also known as <em>two-phase commit</em>). The purpose of transactions is to avoid situations where only part of an update is made. This article demonstrates a WebSphere Liberty application that processes global (XA) transactions across multiple resources and how Liberty automatically recovers the XA transaction during a simulated server failure in a cloud environment. Continue reading Managing global (XA) transactions on AWS with WebSphere Liberty

Filed under: java-ee, cloud

HTTP session management with WebSphere Liberty, eXtreme Scale, and Amazon Web Services

HTTP sessions are used to manage state. A common example is the contents of a shopping cart. A user might make multiple visits to a site over a period of hours or days, all the time putting more items in their cart. This article looks at how to manage this data across multiple HTTP sessions on WebSphere Liberty in AWS. Continue reading HTTP session management with WebSphere Liberty, eXtreme Scale, and Amazon Web Services

Filed under: devops, cloud

Using the Bluemix utility to integrate Bluemix services into local Liberty applications

The Bluemix command-line utility, <a href="http://www.ibm.com/support/knowledgecenter/en/SSEQTP_liberty/com.ibm.websphere.wlp.nd.multiplatform.doc/ae/rwlp_blmx_utility.html">bluemixUtility</a>, enables you to use <a href="https://console.ng.bluemix.net/">IBM Bluemix</a> cloud services in applications that are running on a local <a href="https://developer.ibm.com/wasdev/websphere-liberty/">Liberty</a> server. This article takes you through the steps to create an instance of a Bluemix service and bind it to a local Liberty server running a sample application that uses the service. Continue reading Using the Bluemix utility to integrate Bluemix services into local Liberty applications

Filed under: cloud

Changing a Liberty application to use dashDB instead DB2

You might be considering switching your Liberty applications to use <a href="http://www.ibm.com/software/data/dashdb/">dashDB</a> instead of DB2 if, for example, you want to use the <a href="https://console.ng.bluemix.net/catalog/services/dashdb">dashDB service in the cloud</a>. I want to show how easy this transition is because dashDB is very compatible with DB2. Continue reading Changing a Liberty application to use dashDB instead DB2

Filed under: coding, cloud

On the cloud: WAS as a service with Java EE 7 samples

For WebSphere Application Server (WAS) V9, available on <a href="https://console.ng.bluemix.net/catalog/services/application-server-on-cloud">IBM Bluemix</a>, there are some downloadable Java EE 7 sample applications that allow you to explore some selected Java EE 7 technologies. You will deploy the samples for yourself, and will <a href="https://github.com/WASdev?utf8=%E2%9C%93&query=.javaee7.">find the samples on GitHub</a>. These applications run on both WAS V9 and on Liberty (which already supports the Java EE 7 Full Platform). Let's take a closer look at these samples. Continue reading On the cloud: WAS as a service with Java EE 7 samples

Filed under: java-ee, cloud

Deploying a web application using Liberty, DB2, Docker Swarm and Docker Compose across multiple Docker machines

Multiple Docker machines linked through <a href="https://docs.docker.com/swarm/">Docker Swarm</a> running your web application is referred to as a <em>multi-node Web application</em>. Launching a multi-node web application using <a href="https://docs.docker.com/compose/">Docker Compose</a> allows for easy single command deployment and scaling of web applications across multiple hosts. This article explains how to create a multi-node web application that uses a single DB2 database. Continue reading Deploying a web application using Liberty, DB2, Docker Swarm and Docker Compose across multiple Docker machines

Filed under: devops, cloud

Running WebSphere Liberty on Docker Machine and Docker Swarm

Docker is useful if you're developing applications to run on Liberty or if you're working in <a href="https://en.wikipedia.org/wiki/DevOps">DevOps</a> to deploy those Liberty applications into test or production environments. The web application is deployed to a Liberty server in a Docker container. That container can then be replicated and deployed into any or all of on-premise, cloud, and hybrid cloud environments. Docker Swarm makes it easier to run a number of hosts and manage them as a single entity. Docker Machine provides an easy way to create those hosts. Continue reading Running WebSphere Liberty on Docker Machine and Docker Swarm

Filed under: devops, cloud

WAS Liberty in the cloud

If you want to build new, responsive applications running in the cloud, or move your existing WAS applications into the cloud, we've got all your bases covered. Find out how to get started with the WAS and Liberty in the cloud, quickly deploy a sample directly from Github, and more... Continue reading WAS Liberty in the cloud

Filed under: cloud

WebSphere Liberty, égalité, fraternité – in all clouds

When we created WebSphere Liberty we designed it to be easy to use and run well in <em>any</em> cloud, so that Liberty could always be the enterprise Java container regardless of the choice of cloud infrastructure. <em>Égalité in all clouds for the Java EE 7 fraternité...</em> OK, I’m still working on that. But let me illustrate what I mean. Continue reading WebSphere Liberty, égalité, fraternité – in all clouds

Filed under: cloud

Build your apps on the cloud!

IBM SmartCloud Enterprise provides quick, secure, self-service access to IBM Rational developer tools on virtual desktops.These Rational IDEs join a comprehensive catalog of IBM product offerings on IBM's flagship public cloud service, SmartCloud Enterprise, providing new and existing customers with broad development and test workloads on the cloud. Continue reading Build your apps on the cloud!

Filed under: cloud