Refactor Java EE application Microservices and Containers
summary
Shows a Java EE7 monolith (WAR) refactored into user/catalog/order microservices each packaged as Docker images and run in WildFly containers, with service registration via Zookeeper service registry (alternatives: snoop, Kubernetes). Uses the Docker Maven plugin to build images and start containers; code size increases due to duplication but services deploy faster and scale independently. Covers patterns (aggregator, proxy, chain, branch), async messaging vs REST, CI/CD/automation needs, and real-world scale concerns (Netflix: ~50 billion daily calls, ~35% evening traffic) and failure handling.
AI-written summary · about
chapters (26)
- 0:00Introduction and speaker background
- 1:09Monolithic applications explained
- 3:37Disadvantages of monolithic apps
- 5:23Scaling strategies and Y-axis decomposition
- 6:49Microservices definition and principles
- 8:35Conway's law and team structure
- 9:41Well-defined interfaces in microservices
- 10:44Independently replaceable services
- 11:47Netflix's microservices culture
- 13:52Fault tolerance and graceful degradation
- 15:16Polyglot infrastructure benefits
- 16:22Automation and CI/CD requirements
- 17:46Synchronous vs asynchronous communication
- 19:13Microservices vs SOA comparison
- 20:57Service discovery importance
- 22:01Strategies for decomposing monoliths
- 23:22Starting with microservices refactoring
- 24:44Microservices design patterns
- 27:52Synchronous vs asynchronous patterns
- 28:55Advantages of microservices
- 31:03Prerequisites for microservices
- 32:49Service registry and discovery
- 35:08Monolith to microservices code comparison
- 43:55Complexity and operational challenges
- 46:39Microservices as silver bullet myth
- 47:45Key characteristics and refactoring tips
related talks
46mEffective Docker and Kubernetes for Java EE Developers
01h 07mThe Java EE-stic Way of Coding
46mModern Enterprise Java from the ground up
33mJava EE Microservices with WildFly Swarm
56mModern Enterprise Java from the Ground Up
01h 00mBulletproof Java Enterprise applications for the hard production life
05mInterview
58mKotlin EE: Boost your Productivity
