Java provides the speed of a compiled language with the portability of an interpreted language. We investigate how the JVM and JIT compiler work, and how to classify Java as a language.
Search Results for: compilation
Difference Between JSF, Servlet, and JSP
Explore the purpose of each technology, its lifecycle, and prominent features.
Explanation of ClassCastException in Java
Let’s take a closer look at the ClassCastException.
The Difference Between a.getClass() and A.class in Java
Learn the differences between calling the Object.getClass() method and using the .class syntax
Does a Method’s Signature Include the Return Type in Java?
Learn why method signatures are comprised of the name and the parameter types’ list in Java.
Guide to ArrayStoreException
Learn the cause of ArrayStoreException, how to handle it, and best practices for avoiding it
Gradle Source Sets
Learn a powerful way to structure source code in Gradle projects
NoSuchMethodError in Java
Let’s look at the java.lang.NoSuchMethodError and some ways to handle it.
What Is the Difference Between DVM and JVM?
Learn about the differences between the Java Virtual Machine (JVM) and the Dalvik Virtual Machine (DVM).
Accessing Maven Properties in Java
Learn how to access Maven properties in Java.
Difference Between Statement and PreparedStatement
Explore the differences between JDBC’s Statement and PreparedStatement interfaces.
Convert an Array of Primitives to a List
Learn how to convert an array of primitives to a List of objects of the corresponding type.
Why Are Local Variables Thread-Safe in Java
Learn why local variables are thread-safe in Java.
How to Resolve a Version Collision of Artifacts in Maven
Multi module maven projects can experience difficulties at compile time and runtime with multiple library versions. We learn how to control the versions used.
When Does Java Throw the ExceptionInInitializerError?
Learn what causes Java to throw an ExceptionInInitializerError using a few practical examples
When Does Java Throw UndeclaredThrowableException?
Learn what causes Java to throw an UndeclaredThrowableException
Java Weekly, Issue 336
A nice intro to Amazon’s Deep Java Library for machine learning, and Spring Tools 4.6.2 is released.
String Concatenation with Invoke Dynamic
Learn about relatively new Java optimization: string concatenation with invokedynamic
Super Type Tokens in Java Generics
Learn how to preserve the generic type information at runtime using super type tokens.
An Introduction to Invoke Dynamic in the JVM
Learn about invokedynamic and see how it can help library and language designers to implement many forms of dynamicity.