Combining reactive programming with JAX-RS 2.1 reactive extensions make for a powerful asynchronous processing that avoids overwhelming the consumer.
The Open Liberty blog is your source for official Open Liberty announcements and other hot open source topics, all in an easily digestible form! Follow @OpenLibertyIO and never miss a new post!
All the application code running on Open Liberty runs in a single thread pool called the default executor. The size of this pool is controlled by an auto-tuning algorithm which works well for a wide range of workloads. Because of the autonomic control, for most applications there is no need to tune the size of this thread pool.
MicroProfile 2.2: Improving the developer experience of writing cloud-native Java microservices on Open Liberty 220.127.116.11
A full implementation of MicroProfile 2.2. Focuses on improving the developer experience of writing cloud-native Java microservices with MicroProfile. Includes updates to the MicroProfile Rest Client, Fault Tolerance, OpenAPI, and Open Tracing features. Based on Java EE 8 technologies.
MicroProfile Rest Client 1.2 improves the developer experience and enhances integration with other MicroProfile technologies such as CDI, Fault Tolerance, OpenTracing, etc.
Learn how to write simple and effective integration tests that run against your real application's Docker container. No mock objects needed.
In the second of our new 4-weekly Open Liberty releases, we have support for sharding keys (JDBC 4.3) and support for hashed passwords in quickStartSecurity configuration (Application Security 2.0, 3.0). Plus previews of future capabilities in the latest development build.
MicroProfile Concurrency provides a ManagedExecutor and ThreadContext API that enables you to make better use of completion stages. An implementation of the MicroProfile Concurrency specification is now available.
A quick summary of the DevNexus 2019 workshops and talks on MicroProfile and Open Liberty.
Using MongoDB with Open Liberty previously meant enabling the mongodb-2.0 feature and configuring several elements in server.xml, but was limited to certain versions of MongoDB. Now, with improvements in CDI and the introduction of MicroProfile Config, you can easily configure access to any version of MongoDB with a CDI producer.
In Open Liberty 18.104.22.168 we are officially supporting running on Java 11! Many of us are still running on Java 8, since that was the most recent long-term supported release of Java. Let's catch up a bit and review the new features introduced in Java 9, 10, and 11, then look at what it takes to build and run an application on Open Liberty and Java 11.
The latest release of Open Liberty (22.214.171.124) now supports Java SE 11, provides support for HTTP Forwarded and X-Forwarded-* headers, and kicks off a new 4-week release schedule for 2019.
In Open Liberty 126.96.36.199, we are moving from our previous 3-monthly release cycle to a new 4-weekly release cycle. Alasdair, Open Liberty architect, explains what this means.
JAX-RS and MicroProfile Rest Client make writing and consuming RESTful services both easy and powerful, especially when using their asynchronous capabilities. Take a look at how to use asynchronous JAX-RS resource methods on the client and server.
HTTP Forwarded and X-Forwarded-* header support means that developers and applications can obtain the original client endpoint information presented by a proxy or a load balancer using the Forwarded or X-Forwarded-* headers instead of the current TCP connected endpoint.
MicroProfile 2.1 provides enhancements to the Open Tracing 1.2 feature and how you trace the flow of requests between microservices. This release also has reactive extensions to JAX-RS 2.1 and, on the ops side, Liberty exposes connection pool metrics from its runtime to the /metrics endpoint.
A preview of what's coming in 188.8.131.52 (async transport layer, connection pooling enhancements, reactive extensions) and a look back at 2018 (reactive client, server sent events, asynchronous methods, URL support, integration with CDI, RestClientBuilderListener for third-party libraries, and more...).
A quick roundup of some things you can try in the current Open Liberty development builds. Options to skip tracing of JAX-RS requests and using alternative formats of span names in MicroProfile OpenTracing 1.2. Also, try out writing simpler Dockerfiles by packaging your server as a TAR file, and try the support for sharding in Java 11 with JDBC 4.3.
In development, starting a new log file each time the server restarts is great but, in production, you can now disable this behaviour so that you can retain more history in your logs.
The Eclipse MicroProfile project allows you to leverage your existing Enterprise Java skills while moving to the cloud-native microservices architecture.
Fault Tolerance provides annotations which allow you to easily apply common fault mitigation strategies to your application but did you know that, since version 1.1, it also exports metrics which allow you to monitor these mitigation strategies?
Monitor your microservices with metrics from your applications, from Liberty components, and to report on their fault tolerance handling. Plus more for your microservices with Open Liberty 184.108.40.206.
Separate configuration from your microservices code with MicroProfile Config. Easily and dynamically change your app's configuration by adding and modifying variables in your server config.
A simple and efficient way of building and pushing layered Docker images of Spring Boot applications using the Boost Maven plugin.
Get Kevin Sutter's view on how the MicroProfile and Jakarta EE projects could be combined at some point. He describes the progress in establishing each of the two projects, the issues to consider as the projects become more established, and current steps that are being made towards a more integrated future.
Include only what you need in your runtime. It's as simple as adding dependencies in your Maven or Gradle build.
Embrace Docker for your Spring Boot applications! Building dual layer Docker images and gain efficiencies for CI/CD teams. This post shows you how.
Full Java EE 8 support, including JAX-RS 2.1 reactive client and server-sent events, CDI event-ordering and asynchonous events, HTTP/2 support in servlets, JSF 2.3, JPA 2.2, JWT cookies (yum!), security improvements,...oh, and you can now deploy Spring Boot applications to Liberty.
Find out how to build Java microservices with MicroProfile 1.3. Get a quick introduction to microservices, MicroProfile, and an overview of each of the MicroProfile 1.3 technologies, including Config, Metrics, Health Check, JWT, OpenAPI, OpenTracing... Each summary gives links to relevant guides so you can find out more and try out the technologies with your own bare hands.
Enable distributed tracing of microservices with MicroProfile 1.3 (and more) in Open Liberty 220.127.116.11
Get distributed tracking of your microservices, a standardised way (through OpenAPI) to describe your RESTful applications, and a type-safe approach to invoking RESTful services over HTTP in Open Liberty 18.104.22.168.
When you deploy an application to a Liberty server using Open Liberty Tools, it attempts to detect what features your application needs and adds them to the server configuration automatically. Learn how Open Liberty Tools determines what features to add. And how to disable it when necessary.
And, like a flash, a second release of Open Liberty (22.214.171.124) is upon us! Fancy bringing your own JSF implementation (Mojarra or MyFaces) to Open Liberty? You can now (and benefit from CDI) with the JSF Container 2.2 feature. Also, administrators can now configure concurrency policies for managed executors (Concurrency updates), and get distributed tracing with our implementation of opentracing.io....
Now that the Open Liberty project is in full swing we are looking for more opportunities to enable developers to use Open Liberty in their own projects. It is very common for developers to create and deploy Spring applications on Open Liberty as a simple web application, but increasingly Spring developers are using Spring Boot as a faster, simpler way...
Well, this is exciting! Our first proper release of Open Liberty and the Open Liberty Tools! In Open Liberty 126.96.36.199 is a full implementation of MicroProfile 1.2, some Liberty Gradle plugin updates, and some transport security updates. You might have noticed that the download actually went live some time ago but we were so caught up with JavaOne and other...
Update 2017-10-13: Now with links to JavaOne session videos, where available. Wow, how time has flown! It’s been just two weeks since Open Liberty went live and we totally forgot to mention we’ll be at JavaOne next week. There’ll be a bunch of JavaOne sessions given by Liberty developers (and emeritus developers) throughout the week. If you want to talk...
I’d like to take this opportunity to welcome you to the Open Liberty project, an open source runtime for Java microservices. In 2012, IBM released WebSphere Liberty, an application server designed for the cloud. It was small, lightweight, and designed with modern application development in mind. It wasn’t perfect, it didn’t have everything people wanted, but it was a great...