James Strachan - A busy Java developers guide to developing microservices on Kubernetes and docker

James Strachan blogged a few days ago about all the great work that has happened recently at the fabric8 project in terms of improving the developer experience with "kicking the tires" as I say it.

As a Java developer he shows how you can get started with a Kubernetes cluster with a single Maven command, that downloads and install the binaries. While its doing that you can go fetch a cup of coffee and relax.

And don't worry the installation is local and installing in your home directory under .fabric8. So at the end of the day, you can just delete it all, and its gone - no uninstall procedure or something like that.

It has never been that easy to just from Maven run

    mvn fabric8:run

And it will build, deploy your application in the cluster, and then tailing the log. And when you are done, just press ctrl + c to break and the app is un deployed.

Oh bugger there is a bug in the code somewhere. How do I debug this, when the application runs in the cluster and my Java IDE is running on my computer/laptop? Well behold just run:

    mvn fabric8:debug

And you can attach a remote debugger from your Java IDE.

Okay I don't want to steal more of James thunder. Now head over and read his blog piece and make sure also to watch the video at the end. Christian Posta demonstrates all this.

PS: Next week we are traveling and presenting in USA. So if you have the opportunity to attend then James Strachan, Christian Posta, Rob Davies, James Rawling and myself will be there to give talks and demos about this stuff and other cool things as well.

PPS: The next thing we are working on is a fabric8:watch so you can do live code changes in your running containers without a full redeploy. There is still a few things to iron out to make it work well, but we are getting very close.


Videos from my two latest talks about Apache Camel and Developing Java based microservices

Last week I gave two talks at JDKIO 2016 in Copenhagen. I want to thank Javagruppen for organizing this conference and having my come to my home country and spread the love about Apache Camel and fabric8.

We had a group photo of all the speaks and organizers taken at the lovely waterfront in front of the Royal Library.

(its me with the orange bag-pack in the front center left) 

The talks was video recorded and just published to youtube today.

Apache Camel - The Integration Library

Links for video and slides.

Developing Java based microservices ready for the world of containers

Links for video slides and source code.


fabric8 going to America - Microservices day in Atlanta and Minneapolis

I have just got all my flight tickets and hotel bookings confirmed and are set for going to America in early October.

Red Hat is hosting two Microservices days in Atlanta and Minneapolis. They have titled the event:

... which is a title I really like ;)

The event is a full day event, where fabric8 and friends are speaking about the technologies and projects we work on.

James, Claus, and other speakers will discuss topics including: Kubernetes for Java developers, microservices with Apache Camel, microservices workflow, Integrated Platform-as-a-Service (iPaaS), and API-centric architectures.

I will bring along some of my fellow fabric8 colleagues: James Strachan, James Rawlings and Rob Davies from the EU, and we are joined by Christian Posta from the states. And I am sure Christian bring along a number of copies of his recent book: Microservices for Java Developers. And if you ask him I am sure he will also sign the book. I am still waiting for a chance myself to get hand on a hardcopy of the book.

We will be in Atlanta first, where the event take place on Tuesday 4th of October followed by the event in Minneapolis hosted on Thursday 6th of October.

I am glad to be visiting the state of Georgia again, where I spoke at the DevNexus conference five years ago. Minneapolis will be my first visit to the state of Minnesota. Minneapolis got my attention recently when I learned that Metallica played a rock concert there in what I assume is a new/rebuild stadium - feel free to correct me.

I have previously blogged about these kind of events such as last time we went to New York.

Hope to see you at either of the events, and we love to chat, and also share a beer.
You can find more details about the event, venue, and time at the event page.

PS: Yes you would need to register if you are going. The event page has more details.

PPS: If you need accommodation, then we are staying in the Hotel Indigo in Atlanta, and Hilton Garden Inn in Minneapolis. I am not aware of any discount code for hotels.