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

Liberty in Docker on a Raspberry Pi

It seems like everyone is looking at what they should be <em>containerising</em> (yes, that's a word!) in <a href="https://www.docker.com/">Docker</a> to help improve their development, test, and production pipelines. With the recent <a href="/wasdev/docs/deploying-applications-docker-1-12-liberty/">release of Docker 1.12</a>, it's now easy to deploy Docker on a <a href="https://www.raspberrypi.org/">Raspberry Pi</a>. As Liberty was <a href="https://twitter.com/WASdevnet/status/763744610627776512">the first application server to be shown running on a Raspberry Pi</a> we're always looking at how we can take advantage of the awesome little computers. So I set off on a mission to see how easy it is to get a Raspberry Pi-compatible Docker image of Liberty, and then to see how many instances of that image I can run on a single Raspberry Pi. Continue reading Liberty in Docker on a Raspberry Pi

Using Docker Compose to configure a topology with WebSphere Liberty and IBM MQ

This tutorial demonstrates how easy it is to set up a connection between two instances of <a href="/wasdev/websphere-liberty/">WebSphere Liberty</a> using <a href="/messaging/">IBM MQ</a> as the messaging service, all running under Docker containers. This is done using <a href="https://docs.docker.com/compose/">Docker Compose</a> which brings up the containers and connects them to one another. Continue reading Using Docker Compose to configure a topology with WebSphere Liberty and IBM MQ

Filed under: devops

Deploying Liberty applications using Docker 1.12 and swarm mode

With the <a href="https://blog.docker.com/2016/06/docker-1-12-built-in-orchestration/">release of Docker 1.12</a>, building <a href="https://docs.docker.com/engine/swarm/">a swarm</a> of Docker engines has become much easier and container orchestration is now built-in. This article explains how to build your Docker swarm, create and scale a simple web application service built with Liberty, and then orchestrate a rolling update of the service. It also covers healthchecks, a feature introduced in Docker 1.12. Continue reading Deploying Liberty applications using Docker 1.12 and swarm mode

Filed under: devops

Deploying a highly available Liberty application to Docker Datacenter

To deploy a highly available application to <a href="https://www.docker.com/products/docker-datacenter">Docker Datacenter</a>, you need to consider load balancing and service discovery. As the application is scaled horizontally, it needs to be able to first discover the new instance and then equally distribute the load across these new instances. This article covers three potential scenarios for deploying an application using Liberty as the application server. Continue reading Deploying a highly available Liberty application to Docker Datacenter

Filed under: devops

Deploying Liberty into your Docker Registry using Source-To-Image

<a href="https://github.com/openshift/source-to-image/blob/master/docs/builder_image.md#required-image-contents">Source-To-Image</a> is a deployment tool created by <a href="https://blog.openshift.com/create-s2i-builder-image/">OpenShift</a> that enables developers to build and deploy Docker images with just one command. The tool pulls down source from a repository, compiles that source, puts it in a directory on the container of your choosing, and then starts the server. This tutorial takes you through setting up the Source-To-Image tool and using it to build and deploy WebSphere Liberty into your local Docker Registry. Continue reading Deploying Liberty into your Docker Registry using Source-To-Image

Filed under: devops

Traditional WebSphere or Liberty: how to choose?

WebSphere Liberty has now 'grown-up' to provide the full Java EE 7 platform. Combining that API set with operational capabilities that have been rapidly expanded over the past three years, Liberty is now a great deployment choice for many Java applications. WAS traditional remains fully strategic, however, and will evolve to the Java EE 7 standards itself in time, so how do you choose between the two? Continue reading Traditional WebSphere or Liberty: how to choose?

Filed under: java-ee, devops

Application deployment in Liberty

A common requirement whilst developing an application is to run your application in an expanded format. The easiest and quickest way is to put that application into the `dropins` directory in the server's configuration directory. This automatically deploys your application to your Liberty server. Alternatively, you can put the application in the `apps` directory in the server's configuration directory and add an entry to the server's `server.xml`. This means you have more control over certain aspects like security bindings or classloader delegation. By default, Liberty looks in both directories for applications. Continue reading Application deployment in Liberty

Filed under: devops

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

Java multitenancy support with Liberty profile and IBM JRE

Developers often have limited hardware resources at their disposal. Efficient usage of these resources becomes an absolute requirement. Sharing resources between multiple applications is one of the ways to achieve this and multitenancy, with varying degrees of isolation, can be achieved at a number of different levels in either hardware or software. This article describes how the MT-JVM can be transparently exploited by web applications deployed to the lightweight WebSphere Application Server Liberty Profile. Continue reading Java multitenancy support with Liberty profile and IBM JRE

Filed under: devops

Deploying Liberty using IBM UrbanCode Deploy (Part 2)

IBM UrbanCode provides a suite of tools to handle the build, release, and deployment phases of larger DevOps cycles. UrbanCode Deploy handles automating application deployments. It provides continuous delivery during agile development, and the auditing trails, version support, and approval trails needed in production. Part 2 of this pair of articles describes how to install a snoop application on to the Liberty server. Continue reading Deploying Liberty using IBM UrbanCode Deploy (Part 2)

Filed under: devops

Deploying Liberty using IBM UrbanCode Deploy (Part 1)

IBM UrbanCode provides a suite of tools to handle the build, release, and deployment phases of larger DevOps cycles. UrbanCode Deploy handles automating application deployments. It provides continuous delivery during agile development, and the auditing trails, version support, and approval trails needed in production. Part 1 of this pair of articles describes how to set up the deployment of a single Liberty server. Continue reading Deploying Liberty using IBM UrbanCode Deploy (Part 1)

Filed under: devops

Installing Liberty with the Liberty Maven plug-in

The <a href="https://github.com/WASdev/ci.maven">Liberty Maven plug-in</a> provides a set of goals for managing and operating Liberty profile servers. It can also download and install the Liberty runtime from the <a href="/wasdev/downloads/">Liberty repository</a> or from another location. This makes it easy to use Liberty and Maven together in continuous integration or deployment scenarios. Continue reading Installing Liberty with the Liberty Maven plug-in

Running Liberty profile in a Docker container

Docker enables you to develop an application in a Linux environment and take it anywhere with you in a Docker container. You can easily create large numbers of Docker containers, meaning that making multiple instances of a single application becomes trivial. Docker containers can hold any payload, including Liberty profile. This article describes how to set up Liberty profile in a Docker container. Continue reading Running Liberty profile in a Docker container

Filed under: oss, devops

Introducing Liberty Clusters

With the introduction of the Liberty collective, we are also pleased to announce Liberty clusters. New in WebSphere Application Server 8.5.5, Liberty clusters provide centralized administrative support for application clusters. This new support does not invalidate clustering models available in WebSphere Application Server Liberty V8.5, rather it allows for formalizing cluster definitions and enables centralized management of those clusters. Continue reading Introducing Liberty Clusters

Filed under: devops

Principles of the Liberty Collective

Application server environments are changing. Organizations have more servers than ever before. Use of virtualization, dynamic provisioning, and elastic scaling are critical to large-scale deployments. These changes bring important challenges that application server management solutions must meet. The new management capabilities introduced in WebSphere Application Server Liberty Profile V8.5.5 are built to meet these modern requirements. Continue reading Principles of the Liberty Collective

Filed under: devops

Introducing Liberty Collectives

We are pleased to announce Liberty Collectives, introduced with WebSphere Application Server V8.5.5. The Liberty Collective is the new multi-server administrative domain designed exclusively for the WebSphere Application Server Liberty Profile. A Liberty Collective extends the Liberty management model provided in WebSphere Application Server V8.5 by enabling servers to be grouped together into a "collective". Continue reading Introducing Liberty Collectives

Filed under: devops

Minify!

Impressed with the small size of your Liberty install but wanting to make it even smaller? Looking at your Liberty install and wishing you could shave a few more megabytes off? Well now you can! Working to satisfy the unquenchable desire for an even smaller app server, the Liberty development team have created a new option when packaging Liberty – minify. Continue reading Minify!

Filed under: devops