Java EE Microservices – the Payara Way

Cloud & Microservices

Microservices are the latest new-but-not-really-new thing that developers are talking about, and the Java EE world is no exception. In this Devoxx 2015 talk, Mike is using some new features of Payara Server that bring the power of Hazelcast to Java EE microservices, while still keeping the overall footprint incredibly low.

JavaEE Microservices -the Payara Way from Payara

In the talk, I mentioned that I would find out why the demos didn’t work on the day and explain it all to you, so here it is: 

After a few minutes looking back over it in the calm of my hotel room, I found that Payara was working perfectly – the fault was entirely my own!

In the first demo, I start up a few Payara Micro instances without deploying anything. In the second, I deploy the rest-jcache.war file and attempt to curl to it. What I forgot to do was stop the first Payara Micro instances which had no deployments! 

So I was trying to access a resource on an instance which had no deployments… D’oh 

The second issue I had was with Vagrant. Here, the problem was simply that I was running my ‘vagrant up’ command one directory too high. Vagrant requires the presence of a Vagrantfile and, under the spotlight, I didn’t notice the obvious!

Comments (1)

Post a comment

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

Payara needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Legal & Privacy Policy.

  1. SQIAR

    Thanks for the detailed description, well I simply want to offer you a huge thumbs up for your great information.
    Tableau Guru
    http://www.sqiar.com

Related Posts

payara qube logo 5 minutes
Payara

Payara Cloud Is Now part of Payara Qube family of Unified Platforms for Enterprise Java

Payara Cloud is becoming part of Payara Qube family of Java application deployment runtimes. This move reflects how the […]

Payara promotional graphic showing transition from Spring to Jakarta EE, including technology logos, a code icon and arrows leading from Spring to Jakarta EE. 6 minutes
Jakarta EE

From Spring Boot To Jakarta EE 11: How Payara Starter Eases The Transition

If you’ve been living in the Spring ecosystem, you’re used to fast project setup. Spring Initializr gives you a […]

Promotional graphic for a podcast episode titled “Why Open Source is the Future of Business Innovation - A conversation with Arun Gupta”. The podcast is hosted by Payara Community. The right side features a photo of the speaker, Arun Gupta, labeled as a “VP, Developer Experience at JetBrains”. The design uses dark blue and teal backgrounds with coral and fish illustrations. 2 minutes
Community

Payara Podcast – Why Open Source is the Future of Business Innovation – A Conversation with Arun Gupta

Open source is no longer a developer-only concern — it’s at the heart of how modern businesses innovate, build […]