Java Magazine, May/June 2019
A Developers Guide to Containers ORACLE COM JAVAMAGAZINE MAY JUNE 2019 10 containers I n the last few issues weve presented extensive coverage of the clouds effects on software development In our previous issue we explored the use of lightweight frameworks Javalin Micronaut and Helidon to create microservices which typically are deployed in the cloud In that issues article on Helidon we also showed how to package a service into a Docker container for deployment In this issue we continue the theme by examining how to build apps with containers in mind and how to deploy containers For straight Java apps the jlink and jdeps tools are excellent solutions for creating modularized small self contained apps We discuss how to use those tools on page 25 If very fast startup time is a concern then consider the GraalVM platform It is written in Java but compiles Java code to an executable format Weve discussed GraalVM in past issues but this article focuses on the latest features and their use in creating small executables with native code startup speed Finally if youre straddling the Dev and Ops sides of DevOps you surely have seen that most containers are managed with the open source Kubernetes platform In our lead feature we give you a full introduction to Kubernetes and all the information you need to start working with managing your containerized apps In addition we explore whats new in the recent release of Java 12 and we examine a major upgrade to Java Card which in all senses is the very smallest container for a Java app In addition we have our usual quiz and our events calendar Finally future issues of this magazine will look materially different from what youre used to Please see the editorial in this issue for details Thank you GETTING STARTED WITH KUBERNETES 11 JLINK AND JDEPS FOR SELF CONTAINED JARS 25 GRAALVM FOR FAST CONTAINER APPS 41 ART BY I HUA CHEN
You must have JavaScript enabled to view digital editions.