DEV Community

Cover image for Java Microservices: A Practical Guide

Java Microservices: A Practical Guide

Marco Behler on December 14, 2019

You can use this guide to understand what Java microservices are, how you architect and build them. Also: A look at Java microservice libraries &am...
Collapse
 
ahmednrana profile image
Rana Ahmed

Great article

Collapse
 
marcobehler profile image
Marco Behler

Thank you

Collapse
 
thatdevaaron profile image
Aaron Akhtar

Swished through this, so I apologise if I missed something.

Personally, for my Microservices and when I follow Service Oriented Architecture (SOA), I prefer to stick with Layer 4 (TCP specifically) Protocols rather than Layer 7 (Such as HTTP, FTP etc), this is because when dealing with microservices, you want to keep up your speed and insure you are not using redundant resources, this is why TCP/IP is the perfect option for building microservices, the only downside is that it is quite difficult for a beginner networker to implement in a safe and secure way.

Collapse
 
jackfr0st13 profile image
Deepak Choudhary

Another great article Marco. Might I suggest that you make these long articles into series so that it's easier for people to consume even on mobile device. Content is wonderful as always

Collapse
 
thatdevaaron profile image
Aaron Akhtar

Hello, I have recorded a video on this subject already, not as detailed as this post as was targeted toward beginners, but here you go: youtube.com/watch?v=9rTnycgSk00&ab...

Collapse
 
marcobehler profile image
Marco Behler

Thanks for the suggestion, but unlikely due to canonical/duplicate content issues with my own blog posts if I split this up. I need to look into it again if I can make this happen somehow

Collapse
 
siy profile image
Sergiy Yevtushenko

Good article. One of the rare articles which reminds that "microservices" basically a turned inside out monolith, so all internal links are exposed into infrastructure. This has numerous consequences, such as infrastructure becomes part of the application and operations knowledge and experience gets equally important to language/tools knowledge and experience.

P.S. Spring should be avoided as much as possible. In many legacy apps the Spring is one of the main causes why app unable to handle increased load.

Collapse
 
manuelbrs profile image
Juan Manuel Bello

Thanks, very helpful

Collapse
 
andresalbertoramos profile image
Andres Alberto Ramos

Very good! Thank You.