Since the Java 8 release, it’s possible to compile programs using Pluggable Type Systems to apply stricter checks than the ones applied by the compiler.
Search Results for: compilation
Compiling Java *.class Files with javac
Learn how to use javac to generate *.class files.
Using a Spring Cloud App Starter
Let’s have a look at how to use Spring Cloud App starters using an example which streams Twitter posts into a Hadoop Distributed File System.
Overview of Java Built-in Annotations
Discover built-in annotations in Java.
Guide to JSpec
Learn to write tests in Java by asserting specifications using the JSpec framework.
Polymorphism in Java
Discover polymorphism in Java.
Writing Custom Gradle Plugins
A quick and practical example of writing a custom Gradle plugin.
CAS SSO With Spring Security
Learn how to integrate the Central Authentication Service (CAS) with Spring Security.
Creating a Java Compiler Plugin
Find out how you can create a Java Compiler plugin.
Challenges in Java 8
The other side of the coin of Java 8.
Initializing Arrays in Java
Discover different ways of initializing arrays in Java.
Comparing Spring AOP and AspectJ
See advantages and disadvantages of Spring AOP and AspectJ.
Validating Container Elements with Jakarta Bean Validation 3.0
See how to use a new Bean Validation 2.0 feature – container elements validation.
“Sneaky Throws” in Java
Learn about sneaky throw concept that allows you to throw any checked exception without defining it explicitly in the method signature.
Introduction to javax.measure
A quick and very practical intro to the new Java measurement APIs.
Type Erasure in Java Explained
Learn about an important mechanism in the way Java handles generics – type erasure.
How to Warm Up the JVM
Learn what it means to warm up a JVM and how to do it.
Introduction to Mustache
Learn how to use Mustache, a logicless template engine for creating dynamic HTML pages, configuration files, etc.
Java Annotations Interview Questions (+ Answers)
A set of popular Java annotations interview questions and, of course, answers.
Introduction to Groovy Language
A look some of the essential features of Groovy, including basic syntax, control structures, and collections.