Posts tagged Uber JAR
Admitting When You’re Wrong
Just recently, I have had to admit being wrong. Very wrong. Way back at the start of October, I was feeling the familiar sensation of panic and dread that only happens right before I need to give a presentation that includes a demo! In the end, there were major problems with the AV setup in the room I was allocated, so even arriving as early I could to set up didn’t give the techs enough time to hook up my laptop successfully.
Both Payara Server and Payara Micro can cluster together and share data using Hazelcast. Out-of-the-box, there is no configuration needed, since Hazelcast uses multicast to discover and join other cluster members. However, when running in cloud environments like AWS, for example, there are a lot of things which can stop discovery being quite so straightforward. The key thing is that Multicast is not available, meaning another discovery strategy is needed; the most common generic alternative is to use TCP, but this assumes that you know at least the intended subnet that your cluster members will be in ahead of time.
Back in May, we announced the 172 release of Payara Server and mentioned a preview of our Maven plugin for Payara Micro, available on GitHub. Since then, we have released the plugin to Maven Central so, to illustrate it's use, I'll be revisiting my earlier blog on another feature of Payara Micro 172 - the ability to use Payara Micro as a JMS consumer.
In this blog, which follows on from the introduction to Cloud Connectors in Payara Micro, we'll guide you through the process of setting up Payara Micro as a Kafka Client, which can produce and consume data from Apache Kafka.
This quick vlog shows off a few of the recent features and changes we added to Payara Micro in the 171 release. In it, we’ll cover sending asadmin commands to Micro instances from the DAS, how config changes in a pre-existing Payara Micro domain now get packaged up when creating an Uber JAR, as well as a couple of quality of life changes we’ve added.
In his second interview for TechTarget, Mike Croft - Payara's Support Engineer - talks about the benefits of having a configuration standard as part of Java and Java EE. Mike is also sharing his views on how container-based technology is changing the way application servers are developed, along with how microservices are being deployed.
It is relatively common for applications to need additional configuration files outside of what is provided in Payara Server or Payara Micro. If you are used to using a custom security realm in Payara Server, for example, it may not be immediately clear how you can use the same file with applications deployed to Payara Micro.