Java 9 security enhancements in practice
summary
Java 9 adds concrete security pieces and runnable examples: a jigsaw modular banking server is built to show DTLS over UDP via SSLEngine (JEP 219) and an ALPN demo that successfully negotiates ALPN protocol negotiation to pick XMPP 1.1 and swap certificates (JEP 244). DTLS in the JDK is nonblocking and low‑level so the demo recommends Bouncy Castle or OpenSSL for ease. Other changes shown: PKCS12 default keystores, OCSP stapling to remove extra round trips, disabled SHA‑1 for cert validation.
AI-written summary · about
