Java Magazine, Mar/Apr 2018
Wookiee Reducing Microservice Configuration An open source framework to set up microservices quickly and with little fuss ORACLE COM JAVAMAGAZINE MARCH APRIL 2018 53 microservices and containers Being a developer today means dividing products into interconnected microservices standalone always up programs designed to address a few key functions in an assembly line of such services The trouble with this pattern however is that much of your setup code is reinvented based on the last service you wrote By the time everything is up and running you find youre likely to have burned as many cycles coaxing your program to work and play nicely with others as youve burned actually writing the key functions The open source framework Wookiee reduces the time and clutter of building a communicative microservice architecture It takes the error prone process of initial setup out of the picture When I go to set up my next project I take it for granted that I will be ready for the main logic with only a few lines of setup I can also depend on the base Wookiee framework for hosting health checks recording metrics and loading and updating global configurations On top of that Wookiee also has multiple components that seamlessly incorporate the latest technologies Java based frameworks can fill a similar niche but the flexible and extensible nature of Wookiee has allowed me to apply it to every type of service I need Ill be walking you through the primary interfaces and key concepts of Wookiee All code is in Scala but it should be understandable if you know Java In some places I have simplified it to avoid concepts specific to Scala or to Akka the open source messaging framework If you implement Wookiee on your own it will be critical to understand the Akka framework because Wookiee provides manages the Actor System and its respective routing If you see the word Harness in class or package names it is because Harness was the original name of Wookiee SPENCER WOOD
You must have JavaScript enabled to view digital editions.