Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Devoxx Day 3: Conference Day 2

DZone's Guide to

Devoxx Day 3: Conference Day 2

· Java Zone
Free Resource

Are you joining the containers revolution? Start leveraging container management using Platform9's ultimate guide to Kubernetes deployment.

Tried to attend a few sessions today, at Devoxx 2009 in Antwerp, Belgium, that I wouldn't normally have done, i.e., sessions that didn't necessarily grab my initial interest. If you only attend sessions that appeal to you, you're potentially missing out on discovering completely new tools or techniques.

So, some of those are included in the list below.

Windmill

I had never heard of the Windmill Testing Framework (which is a web testing tool) prior to going to this session. It can be compared to Selenium and Watir, as is done here feature by feature. In the session, the differentiators with Selenium turned out to be (1) "debuggability because with Windmill it is super simple to find what went wrong when something's wrong", (2) cross domain support, (3) native JavaScript API, i.e., "write tests and run them in JavaScript", and (4) "pass balls of JavaScript to be executed", such as for asserts, for example.

Interestingly, Windmill is a Python application, with Django integration having been particularly well tested as a result. It was also interesting to see Flash components within a web app being tested, as well as hearing that tests can be written in Python, JavaScript, or ActionScript. Finally, Windmill is released under the Apache license and you're encouraged to join the project and commit code as well.

JavaPosse.com

The highlights of Devoxx were listed by the JavaPosse team as follows:

  • Closures in JDK 7
  • Fork/Join in JDK 7 (the assumed rationale for closures)
  • Java 7 date slip to September 2010 (June feature freeze)
  • Java EE 6 release date December 2009
  • New package file format to replace JARs
  • Adobe Air 2.0 Beta
  • Adobe Catalyst
  • JavaFX components, 1.3 level components
  • JavaFX RAD Tool (in NetBeans IDE)
  • Parleys 3.0

From now onwards, JavaPosse will be broadcast every other week, it will focus more on big news (less on minor product releases and more on interviews and discussions), and will broaden its topics beyond Java to include other languages on the VM.

Two things I heard about that I'd like to look into: "bad code credits" and the Google Go language.

Funky Java, Objective Scala

This was my first session (ever) on Scala. (I actually thought I was in a different session initially.) Dick Wall is a great presenter. He started by pointing out that after 20 years of object oriented focus via Java, we're in a situation where we have a hammer and every problem we look at seems like a nail. But not all problems are nails, while objects (invoices, cars, dogs) are not the only thing around which programs need to be able to organize themselves. And the argument was also made that even in the object oriented game Scala beats Java (because of, for example, properties).

Functional programming via, for example, Scala fits well in places where you're not dealing with e-commerce applications but, instead, when you're working (for example) with scientists and mathematicians who don't think in object oriented terms. In some detail we were taken on an interesting excursion into genetics (specifically, life expectancy calculations) and shown how functional programming works better than object orientation in that context, since Java leaves you in a dense jungle of "ifs" and "fors" that is (a) hard to parse and (b) nearly impossible to test.

We were also shown some code examples of how the freshly proposed Java closure proposal would help make the Java code samples more concise. Quick book tip: Dick Wall cited Java Generics and Collections as "one of my most thumbed through books". Two things I heard about that I'd like to look into: Lombok and JSR305/Findbugs, with its CheckReturnValue annotation.

Maven Reloaded

Jason van Zyl discussed Maven 3.0 in some detail: polyglot support, OSGi resolution, Maven shell, Maven 3 extensions, queryable lifecycles (execution plans), lifecycle mappings, Tycho, embedding, error and integrity reporting, refactored plugin manager, plugin extension points, Jetty client and SAT4J, extensible reporting, Guide and Peaberry. 

What I found particularly interesting, though it won't make it into 3.0, is the possibility of converting a pom.xml file to a pom.groovy file. However, until co-operation between the two formats, via an intermediate format (probably) can be resolved, this won't be supported officially. The release date for Maven 3.0 is end of January 2010.

Summary

That's it for today. I walked into a few other sessions and noticed that Kirk's performance session was MASSIVELY attended. I'd seen parts of it before, in Prague, at TheServerSide conference (and reported on it on Javalobby at that time), so gave it a miss. However, I really like his message in every presentation he does: performance tuning isn't magic, it's science: "The system is screaming at you, telling you everything you need to know. All you need to do is listen." Nice.

All the sessions held today at Devoxx are listed in the program here.

 

 

 

Using Containers? Read our Kubernetes Comparison eBook to learn the positives and negatives of Kubernetes, Mesos, Docker Swarm and EC2 Container Services.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}