Java | News, how-tos, features, reviews, and videos
Learn how to use lazy instantiation and eager instantiation in your Java programs. Which approach is better? It depends on the scenario.
Kotlin offers big advantages over Java for JVM and Android development, and plays nicely with Java in the same projects.
Proposal for enhancing the Java programming language would define interfaces for sequenced collections, sequenced sets, and sequenced maps.
Get a quick and easy introduction to natural language processing using the free, open source Apache OpenNLP toolkit and pre-built models for language detection, sentence detection, tagging parts of speech, and more.
The next version of standard Java could pack features ranging from universal generics and primitive types to virtual threads and structured concurrency.
Jakarta EE 10 arrives with a focus on building modern, simplified, and lightweight cloud-native Java applications, including a Core Profile for microservices.
Now available for production use, Java 19 features structured concurrency, virtual threads, pattern matching for switch expressions, a vector API, and a Linux/RISC-V port.
Update extends H.265 video support to HTTP Live Streaming, adds CSS focus indicators, and fixes modal behavior and touch-screen bugs.
Extent-local variables would provide a way to share data both within a thread and with child threads in Java, making it easier to reason about data flow.
One of the original Java web technologies, JSP is still widely used with servlets and JSTL. Here's how to use Jakarta Server Pages to build dynamic web pages that connect to the Java back end.