Sunday, June 7, 2009


Alright alright, I apologize in advance about this digression from my technical postings but this was just toooo good to be true.

Ok Mabel, it's not an urban legend anymore!! I done seen it with my own eyes.

JavaOne 2009
Session - Cloud Computing, Show Me The Money.

Amazon, Google, Intuit, Microsoft and some other unlucky SOB are giving their cloud computing demo for the session. Each speaker was alloted 5 minutes max to demo their app and I have to admit some of these were really cool.
The first one was the capturing of San Francisco traffic maps, analyzing the data obtained from these and putting it into the cloud for everyone to use. Cool if you live in San Francisco but useless in New York.
The next demo consisted of a very simple 'hello world' servlet app written, compiled and uploaded to the cloud right in front of us. Quite easy and cool. Could we have had a litle more than 5 minutes please!!
Intuit was next with a similar easily deployable application. Sorry, but for the life of me I can't remember what the app did (that was impressive).
Then it was Microsoft's turn.

The presenter hyped Azure and how easy it made deployment to the cloud. He had a pre-built application to upload and (you probably by now have guessed it) CRAAAAAASSSSSHHHH!!! The session attendees around me just started laughing (hence the title of this post) and since the URI was on the overhead several of them immediately went there (what?? are they masochists?) and captured a stack trace. Here it is and my apologies for unreadables but I OCRed this from an image:

HTTP Status 500 - Exception report description The.server encountered an internal error Q that prevented, it from fulfilling, this request. javax.servlet.ServletException: /index.jsp(45,16) '#{AzureResultBean.top5Results)' Error reading 'top5Results' on type com._____.javaone javax.faces.webapp.FacesServlet.service(FacesServlet.Java: root cause org.apache.jasper.el.JspELException: /index.jsp(45,16) '#{AzureResultBean.topSResults}' Error reading 1top5Results' on type org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.Java:107) javax.faces.component.UIData.getValue(UIData.Java:582) javax.faces.component.UIData.getDataModel(UIData.Java:1063) javax.faces.component.UIData.setRowIndex(UIData.Java:417 J com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.Java:85) javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.Java:788) javax.faces.component.UIData.encodeBegin(UIData.Java:879) javax.faces.component.UlComponent.encodeAll(UlComponent.Java:884) javax.faces.render.Renderer.encodeChildren(Renderer.Java:137 J javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.Java:812) javax.faces.component.UlComponent.encodeAll(UlComponent.Java:886) javax.faces.component.UlComponent.encodeAll(UlComponent.Java:892) com.sun.faces.application.ViewHandlerlmpl.doRenderViewfViewHandlerlmpl.Java:245) com.sun.faces.application.ViewHandlerlmpl.renderView(ViewHandlerlmpl.Java:176) com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.Java:106) com.sun.faces.lifecycle.Lifecyclelmpl.phase(Lifecyclelmpl.Java:251) com.sun.faces.lifecycle.Lifecyclelmpl.render(Lifecyclelmpl.Java:144) javax.faces.webapp.FacesServlet.service(FacesServlet.Java:245) ... Connection reset HttpClientTransport.Java:210) doRun(Fiber.Java:598) ...

I kinda felt sorry for the presenter when he clicked go... you could audibly hear him say 'pleeeease, don't do this to me!' Well, on second thought, maybe I didn't, he makes a lot more money than I do and, yes, sometimes my code doesn't work either but it does when it HAS to.

I hope the girl sitting next to me enjoys this post because she said she would definitely check it out. Sorry it took until Sunday but ya gotta admit it was worth the gloat... I mean wait (I really liked your EEEPC).

Next time back to the technical stuff (gloat, guffaw and I'll be damned, it's not just an urban legend).

Saturday, June 6, 2009

JavaOne 2009 Best Sellers

Just back from JavaOne 2009 and finally have the gumption to write about something. Here are the best sellers from the bookstore. Some surprises, some not, some wtfs. Would you expect anything less?

1. JavaFX: Building Rich Internet Applications - Addison Wesley ISBN: 013701287X
2. Essential JavaFX - PTR (out June 11, 2009) ISBN: 0137042795
3. Effective Java 2nd ed. - PTR ISBN: 0321356683
4. Java Puzzlers - Addison Wesley ISBN: 032133678X
5. Programming in Scala - Artima ISBN: 0981531601
6. Java Concurrency in Practice - Addison Wesley ISBN:0321349601
7. Beginning Java EE 6 Platform with Glassfish 3: From Novice to Professional - Apress ISBN: 1430219548
8. The Definitive Guide to Lift - Apress ISBN: 1430224215
9. Beginning Scala - Apress ISBN: 1430219890
10. OpenSolaris Bible - Wiley ISBN: 0470385480

At the end of the first day Programming in Scala was #1.
After Josh Bloch and Neal Gafter's Java Puzzlers session it moved to #1.
The JavaFX books moved to the top two positions towards the end of the show. Is Sun/Oracle too late with this language (shrug)? Only time will tell (and a short time at that).
The classics 'Effective Java' and 'Java Concurrency in Practice' were there as expected.
The ever growing Scala interest (including Lift) is very intriguing. Is it the next one? That's for the community to decide. Comeon people make a decision!!

I've got another post for tomorrow again from JavaOne. This is about Microsoft at JavaOne (what?!?!?!). It ain't no urban legend anymore Joyce!!