Some simple examples about Futures composition in Java and Scala