• 0 Posts
  • 486 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle

  • Nah, Hibernate, Spring and most major Java frameworks have largely moved away from XML. It’s still supported, but these days it’s mostly configured in the code directly, with properties loaded from yaml, JSON or the environment (for containers).

    The JDK ecosystem is in a pretty good spot nowadays. With Spring boot you can whip up a productions ready back-end very fast, or if you prefer a more hands-on approach there are lighter frameworks/libraries quarkus or micronaut.

    The Java language itself has evolved fast and is actually pretty nice now, and if you prefer something more modern akin to TS or swift you can just use Kotlin which is almost 100% interoperable with Java.


  • Since Java 14 it looks like this:

    Exception in thread “main” java.lang.NullPointerException:

    Cannot invoke “String.toLowerCase()” because the return value of “com.baeldung.java14.npe.HelpfulNullPointerException$PersonalDetails.getEmailAddress()” is null

    at com.baeldung.java14.npe.HelpfulNullPointerException.main(HelpfulNullPointerException.java:10)





  • loutr@sh.itjust.workstoPeople Twitter@sh.itjust.worksFree WiFi.
    link
    fedilink
    arrow-up
    25
    arrow-down
    1
    ·
    8 days ago

    If it’s an open WiFi (no WPA password) packets are not encrypted anyway, so anyone on this AP can easily see everything that comes through it. A decade ago, when most websites allowed plain HTTP, there was a Firefox extension which let you hijack the Facebook or Twitter session of anyone connected to an open WiFi with a couple of clicks.

    Nowadays everything is hopefully encrypted at the application level, so while attackers can see where the data goes, they can’t actually read it.