{"id":281916,"date":"2021-08-11T10:41:58","date_gmt":"2021-08-11T10:41:58","guid":{"rendered":"https:\/\/www.baeldung.com\/?p=107902"},"modified":"2021-08-11T10:41:58","modified_gmt":"2021-08-11T10:41:58","slug":"java-weekly-issue-398","status":"publish","type":"post","link":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/2021\/08\/11\/java-weekly-issue-398\/","title":{"rendered":"Java Weekly, Issue 398"},"content":{"rendered":"<p class=\"syndicated-attribution\"><meta name= \\\"keywords \\\" content= \\\"\u96fb\u5b50\u8a08\u7b97\u6a5f, \u6559\u80b2, IT \u96fb\u8166\u73ed,\u96fb\u8166\u88dc\u7fd2\uff0c \u96fb\u8166\u73ed\uff0c \u5bb6\u6559\uff0c \u79c1\u4eba\u8001\u5e2b\uff0c \u8cc7\u8a0a\u6280\u8853\uff0c \u7a0b\u5e8f\u8a2d\u8a08\uff0c \u96fb\u5b50\u8a08\u7b97\u6a5f\uff0c \u904a\u6232\uff0c \u860b\u679c\uff0c \u96fb\u5f71\uff0c \u8a08\u7b97\u6a5f\uff0c\u7de8\u78bc\uff0c Java\uff0c C\/C++\uff0c JavaScript\uff0c PHP\uff0c HTML\uff0c CSS\uff0c MySQL\uff0c mobile\uff0c Android\uff0c \u52d5\u6f2b\uff0c Python\uff0c teacher\uff0c \u88dc\u7fd2\uff0c \u96fb\u8166\u88dc\u7fd2 \u8cc7\u8a0a, \u7535\u5b50\u8ba1\u7b97\u673a, IT ,Game, apple, movie, Computer,student,Java,\u6559\u80b2, ,\u5b66\u751f, \u5b66\u4e60, learn, \u6559\u5b66,  Android, apple,anime, animation, \u4fe1\u606f\u6280\u672f, \u7a0b\u5e8f\u8bbe\u8ba1, \u79fb\u52a8\u7535\u8bdd, \u8cc7\u8a0a\u79d1\u6280,Game, Jeu, Juego,Call Of Duty ,\u4f7f\u547d\u53ec\u559a , \u6e38\u620f, \u7535\u5b50\u6e38\u620f,, \u591a\u4eba\u7535\u5b50\u6e38\u620f, \u7f51\u7edc\u6e38\u620f\uff0conline\uff0conline game, \u624b\u673a\u6e38\u620f, mobile \\\"><\/p>\n<h2 data-id=\"spring-and-java\"><strong>1. Spring and Java<\/strong><\/h2>\n<div class=\"bd-anchor\" id=\"spring-and-java\"><\/div>\n<p><a href=\"https:\/\/www.infoq.com\/articles\/java-16-new-features\/\"  rel=\"noopener\"><strong>&gt;&gt; What&#8217;s New in Java 16<\/strong><\/a> [<span style=\"color: #800000;\">infoq.com<\/span>]<\/p>\n<p><strong>An overview of new features in Java 16<\/strong>: records, pattern matching for instanceof, sealed classes, and more!<\/p>\n<p><a href=\"https:\/\/openjdk.java.net\/jeps\/416\"  rel=\"noopener\"><strong>&gt;&gt; JEP 416: Reimplement Core Reflection with Method Handles<\/strong><\/a>\u00a0[<span style=\"color: #800000;\">openjdk.java.net<\/span>]<\/p>\n<p>Reimplementing the <strong>method, constructor, and field-related reflection implementations with MethodHandles<\/strong> \u2013 no changes in API, though.<\/p>\n<p><a href=\"https:\/\/thorben-janssen.com\/panache-active-record-pattern\/\"  rel=\"noopener\"><strong>&gt;&gt; Panache \u2013 Active Record Pattern<\/strong><\/a>\u00a0[<span style=\"color: #800000;\">thorben-janssen.com<\/span>]<\/p>\n<p><strong>An entity object\u00a0encapsulating data and database operations<\/strong> \u2013 an in-depth guide on how to implement the active record pattern with Panache.<\/p>\n<h4><strong>Also worth reading:<\/strong><\/h4>\n<ul>\n<li><a href=\"https:\/\/www.infoq.com\/news\/2021\/08\/jdkmon-java\"  rel=\"noopener\"><strong>&gt;&gt; Introducing JDKMon: A New Tool to Detect and Update JDKs<\/strong><\/a>\u00a0[<span style=\"color: #800000;\">infoq.com<\/span>]<\/li>\n<li><a href=\"https:\/\/www.steadybit.com\/blog\/common-pitfall-using-spring-boots-rest-template\"  rel=\"noopener\"><strong>&gt;&gt; A common Pitfall of Spring Boot&#8217;s RestTemplate<\/strong><\/a>\u00a0[<span style=\"color: #800000;\">steadybit.com<\/span>]<\/li>\n<li><a href=\"https:\/\/vladmihalcea.com\/keyset-pagination-jpa-hibernate\/\"  rel=\"noopener\"><strong>&gt;&gt; Keyset Pagination with JPA and Hibernate<\/strong><\/a>\u00a0[<span style=\"color: #800000;\">vladmihalcea.com<\/span>]<\/li>\n<li><a href=\"https:\/\/openjdk.java.net\/jeps\/400\"  rel=\"noopener\"><strong>&gt;&gt; JEP 400: UTF-8 by Default<\/strong><\/a>\u00a0[<span style=\"color: #800000;\">openjdk.java.net<\/span>]<\/li>\n<li><a href=\"https:\/\/blog.codecentric.de\/en\/2021\/08\/api-first-services-spring-boot\/\"  rel=\"noopener\"><strong>&gt;&gt; API first services with Spring Boot<\/strong><\/a> [<span style=\"color: #800000;\">blog.codecentric.de<\/span>]<\/li>\n<li><a href=\"https:\/\/blog.jetbrains.com\/idea\/2021\/08\/10-places-you-don-t-need-to-use-the-mouse-in-intellij-idea\/\"  rel=\"noopener\"><strong>&gt;&gt; 10 places you don\u2019t need to use the mouse in IntelliJ IDEA<\/strong><\/a> [<span style=\"color: #800000;\">blog.jetbrains.com<\/span>]<\/li>\n<li><a href=\"https:\/\/dev.to\/reliably\/observing-the-reliability-of-your-java-apps-and-services-with-spring-boot-micrometer-prometheus-reliably-27od\"  rel=\"noopener\"><strong>&gt;&gt; Observing the Reliability of your Java Apps and Services with Spring Boot, Micrometer, Prometheus &#038; Reliably<\/strong><\/a>\u00a0[<span style=\"color: #800000;\">dev.to<\/span>]<\/li>\n<\/ul>\n<p><strong>Webinars and presentations:<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/inside.java\/2021\/08\/02\/project-loom\/\"  rel=\"noopener\"><strong>&gt;&gt; Project Loom: Modern Scalable Concurrency for the Java Platform<\/strong><\/a>\u00a0[<span style=\"color: #800000;\">inside.java<\/span>]<\/li>\n<li><a href=\"https:\/\/spring.io\/blog\/2021\/08\/05\/a-bootiful-podcast-microsoft-s-sean-li-on-azure-spring-boot-azure-spring-cloud-spring-integrations-and-more\"  rel=\"noopener\"><strong>&gt;&gt; A Bootiful Podcast: Microsoft&#8217;s Sean Li on Azure, Spring Boot, Azure Spring Cloud, Spring integrations and more<\/strong><\/a> [<span style=\"color: #800000;\">spring.io<\/span>]<\/li>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=1FuWFOWsgkk\"  rel=\"noopener\"><strong>&gt;&gt; The Java developer experience on Azure with Visual Studio Code<\/strong><\/a>\u00a0[<span style=\"color: #800000;\">youtube.com<\/span>]<\/li>\n<\/ul>\n<p><strong>Time to upgrade:<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/in.relation.to\/2021\/08\/05\/orm-600-alpha9\/\"  rel=\"noopener\"><strong>&gt;&gt; Hibernate ORM 6.0.0.Alpha9 released<\/strong><\/a> [<span style=\"color: #800000;\">in.relation.to<\/span>]<\/li>\n<\/ul>\n<h2 data-id=\"technical-amp-musings\"><strong>2. Technical &#038; Musings<\/strong><\/h2>\n<div class=\"bd-anchor\" id=\"technical-amp-musings\"><\/div>\n<p><a href=\"https:\/\/martinfowler.com\/articles\/gateway-pattern.html\"  rel=\"noopener\"><strong>&gt;&gt; Gateway Pattern<\/strong><\/a>\u00a0[<span style=\"color: #800000;\">martinfowler.com<\/span>]<\/p>\n<p>How to use the Gateway Pattern to encapsulate the <strong>access to an external system or resource<\/strong>.<\/p>\n<p><a href=\"https:\/\/kubernetes.io\/blog\/2021\/08\/09\/run-nodes-with-swap-alpha\/\"  rel=\"noopener\"><strong>&gt;&gt; New in Kubernetes v1.22: alpha support for using swap memory<\/strong><\/a>\u00a0[<span style=\"color: #800000;\">kubernetes.io<\/span>]<\/p>\n<p>K8S 1.22 comes with <strong>experimental support for swap memory usage<\/strong> for workloads on a per-node basis.<\/p>\n<p><strong>Also worth reading:<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/blog.frankel.ch\/start-rust\/9\/\"  rel=\"noopener\"><strong>&gt;&gt; Rust&#8217;s Vector<\/strong><\/a> [<span style=\"color: #800000;\">blog.frankel.ch<\/span>]<\/li>\n<li><a href=\"https:\/\/redmonk.com\/sogrady\/2021\/08\/05\/language-rankings-6-21\/\"  rel=\"noopener\"><strong>&gt;&gt; The RedMonk Programming Language Rankings: June 2021<\/strong><\/a>\u00a0[<span style=\"color: #800000;\">redmonk.com<\/span>]<\/li>\n<li><a href=\"https:\/\/blog.sebastian-daschner.com\/entries\/quarkus-list-configuration-configproperty\"  rel=\"noopener\"><strong>&gt;&gt; Inject Quarkus list types with @ConfigProperty<\/strong><\/a> [<span style=\"color: #800000;\">blog.sebastian-daschner.com<\/span>]<\/li>\n<li><a href=\"https:\/\/advancedweb.hu\/aws-security-case-study-unprotected-logs\/\"  rel=\"noopener\"><strong>&gt;&gt; AWS security case study: Unprotected logs<\/strong><\/a>\u00a0[<span style=\"color: #800000;\">advancedweb.hu<\/span>]<\/li>\n<li><a href=\"https:\/\/blog.codecentric.de\/en\/2021\/08\/overview-of-hardened-container-base-images\/\"  rel=\"noopener\"><strong>&gt;&gt; Overview of hardened container base images<\/strong><\/a> [<span style=\"color: #800000;\">blog.codecentric.de<\/span>]<\/li>\n<\/ul>\n<h2 data-id=\"comics\"><strong>3. Comics<\/strong><\/h2>\n<div class=\"bd-anchor\" id=\"comics\"><\/div>\n<p>And my favorite Dilberts of the week:<\/p>\n<p><a href=\"https:\/\/dilbert.com\/strip\/2021-08-11\"  rel=\"noopener\"><strong>&gt;&gt; Monitoring Internal Messages<\/strong><\/a>\u00a0[<span style=\"color: #800000;\">dilbert.com<\/span>]<\/p>\n<p><a href=\"https:\/\/dilbert.com\/strip\/2021-08-08\"  rel=\"noopener\"><strong>&gt;&gt; Tech Support Is Last Hope<\/strong><\/a>\u00a0[<span style=\"color: #800000;\">dilbert.com<\/span>]<\/p>\n<p><a href=\"https:\/\/dilbert.com\/strip\/2021-08-05\"  rel=\"noopener\"><strong>&gt;&gt; Lanyards And Hugs<\/strong><\/a>\u00a0[<span style=\"color: #800000;\">dilbert.com<\/span>]<\/p>\n<h2 data-id=\"pick-of-the-week\"><strong>4. Pick of the Week<\/strong><\/h2>\n<div class=\"bd-anchor\" id=\"pick-of-the-week\"><\/div>\n<p><strong><a href=\"https:\/\/blog.asmartbear.com\/slc.html\">&gt;&gt; I hate MVPs. So do your customers. Make it SLC instead.<\/a> <\/strong>[<span style=\"color: #993300;\">asmartbear.com<\/span>]<\/p>\n<p>The post <a href=\"https:\/\/www.baeldung.com\/java-weekly-398\">Java Weekly, Issue 398<\/a> first appeared on <a href=\"https:\/\/www.baeldung.com\/\">Baeldung<\/a>.<\/p>\n\n<p class=\"syndicated-attribution\"><figure class= \\\"wp-block-image alignnone \\\"><img src= \\\"http:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-content\/uploads\/2016\/05\/logo2-2.png\\\" alt=\\\"IT\u96fb\u8166\u88dc\u7fd2 java\u88dc\u7fd2 \u70ba\u5927\u5bb6\u914d\u5c0d\u96fb\u8166\u88dc\u7fd2,IT freelance, \u79c1\u4eba\u8001\u5e2b, PHP\u88dc\u7fd2,CSS\u88dc\u7fd2,XML,Java\u88dc\u7fd2,MySQL\u88dc\u7fd2,graphic design\u88dc\u7fd2,\u4e2d\u5c0f\u5b78ICT\u88dc\u7fd2,\u4e00\u5c0d\u4e00\u79c1\u4eba\u88dc\u7fd2\u548cFreelance\u81ea\u7531\u5de5\u4f5c\u914d\u5c0d\u3002\\\"\/><figcaption>\u7acb\u523b\u8a3b\u518a\u53ca\u5831\u540d\u96fb\u8166\u88dc\u7fd2\u8ab2\u7a0b\u5427!<\/figcaption><\/figure>\r\n<\/br>Find A Teacher Form:\r\n<\/br>https:\/\/docs.google.com\/forms\/d\/1vREBnX5n262umf4wU5U2pyTwvk9O-JrAgblA-wH9GFQ\/viewform?edit_requested=true#responses\r\n<\/br><\/br>Email:\r\n<\/br>public1989two@gmail.com<br><br><br><br><br><br><br>\r\n<a href=www.itsec.hk style=color:#FFFFFF;>www.itsec.hk<\/a><br>\r\n<a href=\\\"www.itsec.vip\\\" style=color:#FFFFFF;>www.itsec.vip<\/a><br>\r\n<a href=\\\"www.itseceu.uk\\\" style=color:#FFFFFF;>www.itseceu.uk<\/a><br><\/p>","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Java 16 new features, reflection meets method handles, active record panache, gateway pattern, and swapping in K8S.\u00a0<a href=\"https:\/\/www.baeldung.com\/java-weekly-398\" title=\"Java Weekly, Issue 398\" class=\"more\">&gt;&gt;&gt;<\/a><\/p>\n<p>The post <a href=\"https:\/\/www.baeldung.com\/java-weekly-398\">Java Weekly, Issue 398<\/a> first appeared on <a href=\"https:\/\/www.baeldung.com\/\">Baeldung<\/a>.<\/p>\n<\/div>","protected":false},"author":214,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Java Weekly, Issue 398 - ITTeacherITFreelance.hk","description":"Java 16 new features, reflection meets method handles, active record panache, gateway pattern, and swapping in K8S.\u00a0 &gt;&gt;&gt; The post Java Weekly, Issue 39"},"footnotes":""},"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/281916"}],"collection":[{"href":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/214"}],"replies":[{"embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=281916"}],"version-history":[{"count":3,"href":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/281916\/revisions"}],"predecessor-version":[{"id":284298,"href":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/281916\/revisions\/284298"}],"wp:attachment":[{"href":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=281916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=281916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=281916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}