I’LL BE COVERING ▸ New Container Support ▸ Decoupling Modules Using Services ▸ Quick Minimal Overview ▸ Mob ▸ Links ▸ Please help prioritize the next session by providing feedback
& MODULE DECOUPLING ▸ Java 10: CPU and memory limits of container respected ▸ “Java 10+ brings a lot of improvements but still needs manual configuration. To be safe, load test your stuff.”
THE API INTERFACE MODULE ▸ /src ▸ helloapi ▸ com.billyjf.hello.api/HelloProvider.java ▸ module-info.java CHECK OUT HTTPS://GITHUB.COM/BILLYJF/JAVA9-HELLO-MODULES
THE API INTERFACE MODULE: HELLOPROVIDER.JAVA package com.billyjf.hello.api; public interface HelloProvider { String getMessage(); } CHECK OUT HTTPS://GITHUB.COM/BILLYJF/JAVA9-HELLO-MODULES
THE WORLD HELLOPROVIDER MODULE ▸ /src ▸ worldhelloprovider ▸ com.billyjf.hello.providers/World.java ▸ module-info.java CHECK OUT HTTPS://GITHUB.COM/BILLYJF/JAVA9-HELLO-MODULES
THE WORLD HELLOPROVIDER MODULE: WORLD.JAVA package com.billyjf.hello.providers; public class World implements com.billyjf.hello.api.HelloProvider { public String getMessage() { return "World"; } } CHECK OUT HTTPS://GITHUB.COM/BILLYJF/JAVA9-HELLO-MODULES
THE WORLD HELLOPROVIDER MODULE: MODULE-INFO.JAVA module worldhelloprovider { requires helloapi; provides com.billyjf.hello.api.HelloProvider with com.billyjf.hello.providers.World; } CHECK OUT HTTPS://GITHUB.COM/BILLYJF/JAVA9-HELLO-MODULES