String Templates, JavaFX 19, Deserialization, and more at JavaOne - Inside Java Newscast #32

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 มิ.ย. 2024
  • String templates make it easy and safe to embed variables and expressions in strings; JavaFX 19 comes with many improvements, chief among them derived observables; and the deserialization filter can keep apps safe from certain attacks. More on all of this at JavaOne!
    ___ Chapters ___
    0:00 ➠ Highlights
    0:12 ➠ Intro
    Inside Java Newscast #31: • Sequenced Collections,...
    1:07 ➠ String Templates
    "String Template Pondering": reg.rf.oracle.com/flow/oracle...
    Inside Java Newscast #30: • Java Q&A; Leyden, Valh...
    2:57 ➠ Deserialization Filter
    JEP 290: Filter Incoming Serialization Data: openjdk.org/jeps/290
    JEP 415: Context-Specific Deserialization Filters: openjdk.org/jeps/415
    Java Secure Coding Guidelines: www.oracle.com/java/technolog...
    "Java Security Q&A": reg.rf.oracle.com/flow/oracle...
    "Deserialization Exploits in Java: Why Should I Care?": reg.rf.oracle.com/flow/oracle...
    "Secure Coding Guidelines for Java SE": reg.rf.oracle.com/flow/oracle...
    "Evolving the Security of the Java Platform": reg.rf.oracle.com/flow/oracle...
    "Security Vulnerabilities for Java Developers": reg.rf.oracle.com/flow/oracle...
    4:46 ➠ Performance
    "ZGC: The Future of Low-Latency Garbage Collection Is Here": reg.rf.oracle.com/flow/oracle...
    "ZGC - Concurrent Stack Processing, Today and Tomorrow": reg.rf.oracle.com/flow/oracle...
    "G1: Yesterday, Today, and Tomorrow": reg.rf.oracle.com/flow/oracle...
    "Data Parallel Programming in Java Using the Vector API": reg.rf.oracle.com/flow/oracle...
    "Java Performance Benchmarking": reg.rf.oracle.com/flow/oracle...
    "Programmer's Guide to JDK Flight Recorder": reg.rf.oracle.com/flow/oracle...
    "To Production and Beyond: Metrics with Micrometer": reg.rf.oracle.com/flow/oracle...
    5:06 ➠ Derived Bindings in JavaFX 19
    "JavaFX 19 and Beyond": reg.rf.oracle.com/flow/oracle...
    "Building and Deploying Java Client Desktop Applications with JDK 17 and Beyond": reg.rf.oracle.com/flow/oracle...
    "Say the Words: Modern Java with JavaFX for Rich Client UIs": reg.rf.oracle.com/flow/oracle...
    "jpackage: Packaging Tool for Java Applications": reg.rf.oracle.com/flow/oracle...
    "Project Lanai - New graphics pipeline for macOS": reg.rf.oracle.com/flow/oracle...
    6:34 ➠ Cloud
    "Live Coding Microservices from IDE to Cloud with GraalVM and Micronaut": reg.rf.oracle.com/flow/oracle...
    "Modern Java App Development in the Cloud: MicroProfile, Quarkus, and Serverless": reg.rf.oracle.com/flow/oracle...
    "Delightful integration tests with Testcontainers": reg.rf.oracle.com/flow/oracle...
    "Secrets of Performance Tuning Java on Kubernetes": reg.rf.oracle.com/flow/oracle...
    "Java in Containers": reg.rf.oracle.com/flow/oracle...
    7:25 ➠ Outro
    Tags: #Java #JavaOne #OpenJDK #InsideJava
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 16

  • @VisruthCV
    @VisruthCV ปีที่แล้ว

    Thanks for frequent updates! 💚

  • @radoandrey2268
    @radoandrey2268 ปีที่แล้ว +1

    Great as always, thank you

  • @berndeckenfels
    @berndeckenfels ปีที่แล้ว

    Yes the string template policy support will be lit

  • @MrAvelino2010
    @MrAvelino2010 ปีที่แล้ว

    Would be awesome have a class to deal with rest service in JavaFX, similar to tornadoFX

  • @neuzen
    @neuzen ปีที่แล้ว

    I would prefer big screenshots of code/other information, and small image of you somewhere in a corner (if even necessary).

  • @MiguelPerez-hn8bg
    @MiguelPerez-hn8bg ปีที่แล้ว +2

    String interpolation at last! Who said slow?!

  • @user-vd9jn9kn4k
    @user-vd9jn9kn4k ปีที่แล้ว

    Ok, Java is new C++.

    • @neuzen
      @neuzen ปีที่แล้ว

      Java was intended to be new C++ from the start.

  • @miguelmoquillon8666
    @miguelmoquillon8666 ปีที่แล้ว +5

    Humfff. Why use a new syntax to expand variable in a string instead of using a more standard way, say ${...} Latter is used in several languages as well as in Unix shell

    • @michaeleaster1815
      @michaeleaster1815 ปีที่แล้ว +5

      addressed at 2:03 ... The syntax isn't pretty, but Java has always prioritized non-breaking changes for existing code.

    • @avalagum7957
      @avalagum7957 ปีที่แล้ว +2

      "Hello ${name}" is still a string, but sql."select * from table where col = ${var}" might not be a string.
      I'm glad that Java will have this feature (like Scala) soon.

    • @miguelmoquillon8666
      @miguelmoquillon8666 ปีที่แล้ว

      @@avalagum7957 Yes, as in others languages. In Java, toString() is the way in this case

  • @CraccaHacka
    @CraccaHacka ปีที่แล้ว +5

    Nah I don't believe Kevin, in fact JavaFX didn't improve thant much, at least not as much as community wanted.
    There are a ton of important bugs and issues that are years old left there to rot on the JBS

    • @kevintyrrell7409
      @kevintyrrell7409 ปีที่แล้ว +4

      @Alexander JavaFX was a massive improvement over Swing/AWT. Anytime I have to go back to working with those two libraries, I feel like I re-entered the stone age. Swing's idea to have basically everything inherit JComponent and require you to pass the master object between components is just bad design. JavaFX encourages more modular code, especially with the 'Property & Binding' API which is one of the best features of Java.

    • @CraccaHacka
      @CraccaHacka ปีที่แล้ว +2

      @@kevintyrrell7409 I'm not saying that. Heck, screw Swing I hate it, it's too verbose and cumbersome. JavaFX is way better under a lot of aspects but it's still not good enough. Performance is still not on par with Swing is some cases. Text rendering is way better with Swing, especially on Linux.
      Also what I'd like to see is less constrictions by the framework. For example creating a Stage or a WebView is only allowed on the FX Thread. It would be awesome to have the possibility to create a Stage or a lighter version of it on any thread to avoid blocking the UI

    • @CraccaHacka
      @CraccaHacka ปีที่แล้ว

      And this is just because I'm lazy and I have not enough time as of now. But if you go on the JBS and sort by oldest issue there are a pletora of important improvements and fixes to do