01-26-2020, 06:15 AM
Java Magazine on Lightweight Frameworks
<p><em>By Java Magazine Editor Andrew Binstock </em></p>
<p>Running Fast and Light Without All the Baggage</p>
<p>The emergence of microservices as the new architecture for applications has led to a fundamental change in the way we use frameworks. Previously, frameworks offered an omnibus scaffolding that handled most needs of monolithic applications. But as microservices have gained traction, applications now consist of orchestrated containers, each performing a single service. As such, those services require far less scaffolding—favoring instead <a href="http://ora.cl/fs1iq" target="_blank">lightweight frameworks</a> that provide basic connectivity and then get out of the way.</p>
<p>In this issue, we examine three leading frameworks for microservices: <a href="http://ora.cl/fs1iq" target="_blank">Javalin</a> (page 13), which is a very lightweight, unopinionated Kotlin-based web framework; <a href="http://ora.cl/fs1iq" target="_blank">Micronaut</a> (page 23), which handles all feature injection at compile time and so loads extremely fast; and <a href="http://ora.cl/fs1iq" target="_blank">Helidon</a> (page 34), which is a cloud native framework that generates a pure Java SE JAR ile that can be run as a service or a complete app. Helidon comes in two flavors: a minimal framework and a slightly heftier one for developers wanting additional services. </p>
<p>In addition to these articles, we continue with the final installment of our series on Java design patterns—this time covering the <a href="http://ora.cl/fs1iq" target="_blank">Proxy pattern</a> (page 53), with practical examples and coverage of the rarely discussed dynamic proxy feature in a little-used corner of the Java language. Ben Evans examines a common optimization in VMs, <a href="http://ora.cl/fs1iq" target="_blank">loop unrolling</a> (page 62), and explains the subtle reason why loops on the JVM will execute more slowly if they’re indexed by longs rather than ints. <br />
And of course we have our quiz—somewhat expanded for this issue (page 81)—and our <a href="http://ora.cl/fs1iq" target="_blank">book review</a> (page 7). </p>
https://blogs.oracle.com/java/java-magaz...frameworks
<p><em>By Java Magazine Editor Andrew Binstock </em></p>
<p>Running Fast and Light Without All the Baggage</p>
<p>The emergence of microservices as the new architecture for applications has led to a fundamental change in the way we use frameworks. Previously, frameworks offered an omnibus scaffolding that handled most needs of monolithic applications. But as microservices have gained traction, applications now consist of orchestrated containers, each performing a single service. As such, those services require far less scaffolding—favoring instead <a href="http://ora.cl/fs1iq" target="_blank">lightweight frameworks</a> that provide basic connectivity and then get out of the way.</p>
<p>In this issue, we examine three leading frameworks for microservices: <a href="http://ora.cl/fs1iq" target="_blank">Javalin</a> (page 13), which is a very lightweight, unopinionated Kotlin-based web framework; <a href="http://ora.cl/fs1iq" target="_blank">Micronaut</a> (page 23), which handles all feature injection at compile time and so loads extremely fast; and <a href="http://ora.cl/fs1iq" target="_blank">Helidon</a> (page 34), which is a cloud native framework that generates a pure Java SE JAR ile that can be run as a service or a complete app. Helidon comes in two flavors: a minimal framework and a slightly heftier one for developers wanting additional services. </p>
<p>In addition to these articles, we continue with the final installment of our series on Java design patterns—this time covering the <a href="http://ora.cl/fs1iq" target="_blank">Proxy pattern</a> (page 53), with practical examples and coverage of the rarely discussed dynamic proxy feature in a little-used corner of the Java language. Ben Evans examines a common optimization in VMs, <a href="http://ora.cl/fs1iq" target="_blank">loop unrolling</a> (page 62), and explains the subtle reason why loops on the JVM will execute more slowly if they’re indexed by longs rather than ints. <br />
And of course we have our quiz—somewhat expanded for this issue (page 81)—and our <a href="http://ora.cl/fs1iq" target="_blank">book review</a> (page 7). </p>
https://blogs.oracle.com/java/java-magaz...frameworks