torsdag 23. september 2010

JavaOne 2010 tag cloud

I'm trying to grasp the trends of JavaOne 2010, and I figured it would be a cool approach to create a tag cloud. So - here it is: Tag cloud composed of the titles of all JavaOne 2010 sessions.




created at TagCrowd.com


onsdag 22. september 2010

JavaOne 2010 day 2

Attended a great session on ESB best practices by Earl Nolan and Monal Daxini. Then some REST stuff of various quality. The big thing of the day was the general technical session with Mark Reinhold.

Most of the presented material were old news: Java SE 7 and EE 6. I guess the value of it is to say it's still in the pipeline. SE7 is now planned released in 2011 and SE8 in 2012. I.e. lambda expressions has been postponed till the 2012-release.

The session also had a nice and rather technical twitter client demo which can be found at https://glassfish.dev.java.net/twitterdemo

tirsdag 21. september 2010

JavaOne day 1



What's better than a day full of Java? Such a day, and an BOF evening cruise on the bay :)

Contemplating on how many participants there are on these conferences, we figured about 60 000. That's a lot of hotel rooms being occupied, dinner services etc. But then there's not a room available anywhere in the city. Wonder what happens when everyone goes home on Friday ..

mandag 20. september 2010

JavaOne 2010 !


Yess! I'm here at Hilton Hotel, San Francisco, ready for 5 days of concentrated Java juice! Tonight at 0530 pm Larry will kick off the show, and we'll be ramlin' down a path of tech discussions over an Anchor Steam pint. This will definitely be awesome!

torsdag 9. september 2010

JavaZone 2010

Yay, JavaZone 2010 has come to a conclusion. 2 full days of dev and tech. Great fun! Thanks a lot to javaBin for a great event!

The slides for my lightning speech: "Enhance your Maven plugins with Groovy" is available on slideshare: http://slidesha.re/aiimmL

fredag 20. august 2010

Presenting a RESTful web service

Lately I've been pondering on how to create a unambigious description for the RESTful web service I am designing. The kink is to create a description that will work both ways: For consumbers AND producers. In addition it should be easy to maintain and develop.

So I figured that there is a description language called WADL - Web Application Description Language. Suitable for REST they say. Great indeed, but as it is not a formal standard, there are very few tools supporting the format. I.e. neither MagicDraw nor XmlSpy supports designing a service, Microsoft Visual Studio doesn't seem to support. For Java, there's wadl2java, which generates the services proxies. But still there's no design tool.

GlassFish and maven-wadl-plugin can reverse engineer your annotations, and create a WADL describing your service. If you implemented it with JAX-RW. My service was already tentatively implemented using Spring Web, so no luck.

A lot of services offered "in the cloud", or as we said previously "on the Internet", have textual descriptions for their APIs. Such services include Google Search API, Twitter, Flickr, Sun Kenai etc. But textual descriptions can be ambigious if not carefully written, expecially when it comes to describing message exchange formats. For message consumers, this is probably a reasonable tradeoff. But having several producers, this would most certainly lead to ambigious services.

So, my solution was to 1) describe the services/resources as text in the API document, and 2) describe the resource models/message formats using XSD. XSD have wide tooling support. This takes us where we want to be.

The next step would be to hand-craft the WADL using the generated XSDs, but I'll leave that as an excercise to the reader :)

fredag 2. juli 2010

JavaZone 2010 accept

Great, two of my collegues at Computas and me got accepted each our talk for the JavaZone-conference in Oslo 8-9. september. The three of us will contribute with these presentations:

Geir A. Lund:
Erfaring med konvertering fra CVS til Mercurial i stort Javaprosjekt

Filip van Laenen:
Why We Should Start Tagging Our Code

Harald Søvik:
Enhance your Maven plugins with Groovy

Along with a small army of other experts and geeks, we will fill the venue with experience, knowledge and pure java-happiness for two entire days. Don't miss out on this event - it's probably the best java conference in this part of the galaxy :)