Posts tagged with "Java"

Aug 6th, 2016

Branching Without an if, A Java Puzzle

I returned home late the other night, and saw this tweet in my timeline: Keyboard broken. Write this Java code without using the letter 'f': int bar(Object o) { if (o == null) return 0; else return 1;} Anyone? — Marc Khouzam (@marckhouzam) August 5, 2016 He added a clarifying note that said the ‘?’ [...]

Jul 26th, 2016

EclipseCon video: Node.js in a Java World

Last week I finally published the Node.js bindings for Java. These bindings allow developers to embed the Node.js runtime directly onto the JVM through the Java Native Interface. In March I gave a pre-release presentation at EclipseCon on this work, which was recorded by InfoQ. You can check it out at: The slides are also [...]

Leave a Comment
Mar 20th, 2015

Spock by Example – Introducing the Series

This article is about the testing framework. For the Star Trek character, see For other uses, see If you are anything like me, you might be thinking something along the lines of: “Yet another testing framework. Why would I want to migrate?” I do not consider myself an early adopter and am usually [...]

Mar 5th, 2015 – A New Generation Of Mobile Storage

Often times mobile apps are used to display content. We want our apps to start up fast and bring us to the content as soon as possible. Therefore we store data locally for fast retrieval and offline caching. Popular solutions for such a local store is SQLite on Android or Core Data (SQLite) on iOS. Lately a [...]

Jun 26th, 2014

Tabris 1.4 is here!

On March 10th we released Tabris 1.3 and it was a huge success. After 3 months of hard work we are ready to ship Tabris 1.4 today. The 1.4 release marks our biggest release so far. We have plenty of new features and several improvements. With this post we want to show you the highlights. UI Tracking [...]

Leave a Comment
Jun 25th, 2014

Java 8 Support, Top Eclipse Luna Feature

Eclipse Luna release day is here! As predictable as the sun rising in the east, Eclipse has shipped yet another quality release on-time. Over the past ten days I’ve been counting down the Top 10 Eclipse Luna Features that I’m most excited about. Number 1 should be no surprise to the Java developers out there. [...]

Leave a Comment
Jun 2nd, 2014

Tabris 1.4 Preview: Pull to Refresh

We are working at full steam on the new features for Tabris 1.4 which we will release on June 26th. One of those features is Pull to Refresh. The mechanics of this feature are simple and have already become a standard for mobile users: Pull the user interface down to force the app to refresh its [...]

Leave a Comment
May 26th, 2014

OSGi JAX-RS Connector 4.0 released

Today we are proud to release the OSGi JAX-RS Connector 4.0. A lot has happened since the 3.3 release back in March 2014. This post will give you an overview of the new and noteworthy things included in the 4.0 release. We updated the underlying Jersey library to 2.8 which was released back in April. [...]

May 16th, 2014

Read the JavaDoc — Then test your assumptions

Today I was investigating Bug 427148. The problem is when you update on Windows it sometimes fails if the executable is being updated. This is because the file is locked, and you cannot overwrite it with a new version. The exciting part is that sometimes it works! In fact, we’ve had very little luck finding someone who [...]

1 Comment