InfoQ Homepage Java Content on InfoQ
-
DukeScript: A New Attempt to Run Java Everywhere
DukeScript is a technology meant to bring Java to every client, mobile or desktop, without the need of a plug-in. In spite of its misleading name, DukeScript is not a new scripting language but an attempt to “put Java back in JavaScript”, in an attempt to fulfill the initial vision for Java: Write Once, Run Everywhere.
-
Java 8 Lambdas - A Peek Under the Hood
Java 8 was released in March 2014 and introduced lambda expressions as its flagship feature. This article sheds light on how Java 8 lambda expressions and method references are implemented under the hood, and looks at the generated bytecode and performance implications.
-
Java EE 8 is Kicking Off
The Java Community Process machinery has started cranking on Java EE again, a little over a year after Java EE 7 was released. The goal is to create the next major version of Java Enterprise Edition. Meet Java EE 8 and JSR 366!
-
GS Collections by Example – Part 1
Donald Raab, creator of GS Collections, open sourced by Goldman Sachs in 2012, reveals the power of that framework, and how together with Lambda expressions, it sprinkles Java with some of the sparkle of Smalltalk.
-
Building and Deploying Android Apps Using JavaFX
Java was invented to provide a software environment for embedded devices. But a strange loop in history made Java the top language for enterprise software. Java comes full circle with JavaFX, a mature Rich Client Application framework included in the Java 8 core libraries. In this article, we show how to deploy JavaFX Applications on Android devices, a game changer for the JavaFX platform.
-
Hunting Java Concurrency Bugs
Concurrency bugs include race conditions, code reordering, field visibility issues, live locks, deadlocks and performance related bugs, such as contention and starvation. In this article Java Specialist Dr. Heinz Kabutz examines two threading bugs he discovered in the core Java libraries.
-
Scala 2.12 Will Only Support Java 8
Scala 2.12 will require a Java 8 or above JVM to run. This release, scheduled for release in early 2016, will not run on any JVM before version 8.
-
A Few Good Rules
Peter Neumark from Prezi talks about the importance of deciding what development standards to adopt and to detect when they're past their expiry date. Using Netflix and Prezi as examples, Peter illustrates with technical examples when to stick to standards and when to move on to better solutions.
-
Introducing Spring XD, a Runtime Environment for Big Data Applications
Spring XD (eXtreme Data) is Pivotal’s Big Data play. It joins Spring Boot and Grails as part of the execution portion of the Spring IO platform. Whilst Spring XD makes use of a number of existing Spring projects it is a runtime environment rather than a library or framework, comprising a bin directory with servers that you start up and interact with via a shell.
-
Unusual Ways to Create a Mobile App
There are hundreds of thousands of mobile applications for nearly every purpose in the iOS or Android app stores. Usually they are created with Objective-C toolstacks for iOS devices and Java based for Android handsets. In this article we would like to show you two not so common ways to build native apps with Java and Xtend which help to share code between both worlds and simplify development.
-
Where Has the Java PermGen Gone?
Prior to JDK8 class metadata and constants would live in an area called the “permanent generation”, contiguous with the Java heap. One problem was that If the class metadata size is beyond the allocated bounds your app would run out of memory. With the advent of JDK8 we no longer have PermGen. The space where it was held has now moved to native memory to an area known as the “Metaspace”.
-
VRaptor MVC Framework; Powerful Simplicity
VRaptor's latest version 4 CDI MVC framework is now available. In this article we take a tour of how to use this simple but powerful framework to build web applications