We’re pleased to announce the release of a new pattern, Deploy MicroProfile-based Java microservices on Kubernetes. Modern computing has made a fundamental shift to cloud and microservices. The evolution of the cloud has reduced time to market, addressed unpredictable loads, and introduced container-based architecture. Microservices have brought with them a reference architecture and new guidelines around how to deliver features more quickly with smaller, more agile teams. Microservices also emphasize the delivery of business features as discrete services, and they are able to scale services independently. According to one IDC survey, 60 percent of new applications will use cloud-enabled continuous delivery microservice architectures, devOps, and containers. The Java community has been using Enterprise Java technologies like Java EE within a microservices architecture for quite a while now, and in some really innovative ways. This innovation has resulted in multiple approaches, both in product implementations and design patterns.

Finding common ground

So what began as a collection of independent discussions and many innovative microservice efforts within existing Java EE projects — for example, WildFly Swarm, WebSphere Liberty, TomEE, and others — have finally coalesced around common ground to form MircoProfile. MicroProfile is a baseline platform definition that optimizes Enterprise Java for a microservices architecture. It delivers application portability across multiple MicroProfile runtimes; the initial planned baseline is JAX-RS plus CDI plus JSON-P. Using the IBM Container Kubernetes Service, you can deploy and manage your own Kubernetes cluster in the cloud that lets you automate the deployment, operation, scaling, and monitoring of containerized apps over a cluster of independent compute hosts, called worker nodes.

Use, extend, improve

The new pattern, Deploy MicroProfile-based Java microservices on Kubernetes, shows how you can deploy a sample Java microservices application that is based on MicroProfile and runs on the IBM Cloud Kubernetes cluster. We’ve also integrated the pattern with the IBM Cloud DevOps toolchain to provide a one-click deployment for anyone who wants to try it out quickly. We hope you’ll use this pattern, extend it, and let us know how we can improve it. All pull requests to extend the pattern are welcome — let us know your experiences with it!

2 comments on"Java microservices, containers, and the cloud"

  1. […] design and deployment patterns, and will continue to do so for the foreseeable future. In a previous post, I wrote about how 60 percent of all new applications will use cloud-enabled continuous delivery […]

  2. […] in this space include MicroProfile and Spring Boot. We talked about MicroProfile in a previous post. In this post, we’re focusing on Spring […]

Join The Discussion

Your email address will not be published. Required fields are marked *