Over a million developers have joined DZone.

New Book — Microservices for Java Developers By Christian Posta

MVB Christian Posta recently published his first book on Microservices in Java using Spring Boot, DropWizard, and WildFly Swarm.

· Java Zone

Learn more about the advantages of moving from a monolithic to microservices architecture.  Brought to you in partnership with IBM.

One of our Camel riders, Christian Posta, recently had his first book published.

Microservices for Java Developers

The book is free of charge if you obtain it from the Red Hat Developer website (registration may be needed).

I recently finish reading the book which is the magic number of 128 pages. Luckily Christian mentions the promise of a 2nd edition of the book, so we can get the other 128 pages for a total of 256.

I really enjoyed reading the book as it's very well written, and the flow of the book takes you to the content you expect. I really like that Christian took the time to set the scene of microservices not being a magic technical one-stop silverbullet solution. The first chapter is really excellent at setting the scene what to expect from the book, what "microservices" is. Make sure to read this chapter, not only once but maybe a second time as well.

The technical content of the book shows you how to get started with building a Java-based microservice using three well known Java frameworks: Spring Boot, WildFly Swarm, and DropWizard. So if you do not have hands-on experience with all three of them, then there is something to learn for "old guys" like myself. I also loved that JBoss Forge was used as developer tool to quickly create the REST service for the WildFly Swarm example. This tool is a hidden gem. 

The last two chapters covers distributed microservices on a clustered platform such as Kubernetes. This is a new world to many, and this book has great content how to approach and get started. This world moves very fast and since the book was published, then I would suggest to use minikube or minishift to run clustered Kubernetes, as that is much easier than the Red Hat OpenShift CDK. Also the Fabric8 Maven plugin to build the Docker image is currently being improved (version 3.x) so it requires a lot less configuration. 

Is there anything lacking about the book? Yes Apache Camel was not mentioned or covered in the book. We can only cross our fingeres for the 2nd edition to include our beloved Camel. ;)

Christian — congratulations on the book. You surely know how to write, as we have already seen in your great blog posts in the last couple of years covering Microservices. Looking forward to the 2nd edition!

From Idea to Application gives you the architecture to quickly build, manage and run a range of applications (web, mobile, big data, new smart devices, etc.) on an open-standard, cloud-based platform. See why developers are using IBM Bluemix. Brought to you in partnership with IBM.


Published at DZone with permission of Claus Ibsen, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}