CSS Layout Gala

July 10th, 2006 No comments

This is just too freakin sweet not to pass along. I’m not a regular del.icio.us user, but I happend to stop by today only to be greeted with this gem:

Layout Gala

I had to give this treasure its own line because it embodies everything that is good and right in the field of web design. Pure, compatible, solid layouts that don’t rely on hacks. They’re all there, kids. Two-column, three-column, liquid, static — many even support any-order columns. Squirt.

Tags: ,

Ft. Lauderdale Stiffs ‘Bodies’

July 10th, 2006 8 comments

Good thing my wife and I were able to catch Bodies, the Exhibition in Manhattan last month, because it isn’t coming to War Memorial Auditorium any time soon. In a blunt move sure to rescue innocent children from actual education, the city commission blocked the show from using the facility. Mayor Jim Naugle had this to say:

“It makes me think about what happened during the Holocaust,” Naugle said at a Thursday conference meeting. “These are the bodies of oppressed people.”

Really? What does the Fort Lauderdale Gun & Knife Show make you think of? Lollipops and teddy bears? The mayor doesn’t seem to have a problem with the display and free sale of thousands of deadly weapons inside the venue. To be clear, my dissatisfaction about gun shows in general is one of inconsistency, not philosophy.

So let’s hope another venue picks up the show, because it is by far the most informative display of human anatomy one can experience without going to medical school.

Tags:

I’m a Hot Toe Picker

July 7th, 2006 2 comments

My wife and I came across the strangest billboards in Chicago this past weekend. The oddest of the bunch is shown here; others say “I Pooted” or “Yes”. Clearly we had no idea what this was about, but a little Googling reveals what I think is a new breed of viral marketing. I won’t ruin it for you, but check it out:

Billboard
Tags:

Accessing a JBoss EJB3 Session Bean With Spring

July 6th, 2006 1 comment

Spring and Hibernate have long been my choice of frameworks with which to construct maintainable, scalable middle-tier software. Spring promotes good OO design using loose coupling and provides excellent declarative transaction support. Hibernate is the persistence tool of choice for the open source community. Any sane person who programs this way will have given up on EJB long ago. Coarse-grained entities, tightly coupled service objects and XML deployment descripters a-plenty are enough to bring a guy to his knees.

But no more. The EJB expert group, now composed of some of the very creators of modern persistence framework, has bequeathed upon us something wonderful. The lightweight POJO programming model we have come to love is apparent everywhere in the EJB 3.0 specifiction (JSR-220), which was unanimously accepted by the JCP earlier this year. EJB 3.0 is just one goodie in the larger Java EE 5 (JSR-244) bag – but this post is going to be long enough as it is. Read more…

Tags: , ,

Back Online

June 27th, 2006 No comments

A bad fan crippled my linux box for a few days, and hence the site was down.  Sorry bout that.  How will I ever make my 5-nines SLA now?!?

Tags:

Seam, EJB3 and Gavin

June 13th, 2006 2 comments

This afternoon’s festivities were highlited by a characteristically colorful presentation by Gavin King. For those who don’t know, Gavin is the creator of the Hibernate persistence framework which was aquired eventually by JBoss.

Gavin & crew demonstrated quickly but effectively the lovely synergy that has been brought to EJB3 and JSF by their newest creation, Seam. Seam can hardly be called a web framework — you wouldn’t recognize it as such what with its lack of, well, just about everything that you’ve come to expect from a web framework.

Seam throws away boilerplate code a-la Rails, but does so in a way that leverages a lot of the untapped power of EJB3 and JSF. Seam is all about Don’t Repeat Yourself (DRY). As such, we throw away form beans (a-la Spring MVC) and a whole lot of XML (in favor of annotations).

The most surprising theme that emerges from all of this is the rampant use of Stateful Session beans. You read that right – I said Stateful. Seam begs the question, “why on earth would I represent state in a database (slow is an understatement) or in HTTPSession (with no dirty checking) when I can use this lovely gift called Stateful beans?” He makes a damn good point. By representing web conversations as SFSB’s (which are POJO’s in EJB3, in case you’re wondering) you eliminate many of the headaches associated with web apps. Multiple tabs open in your browser? Piece of cake – each browser tab/session/window has a unique conversation (they’re stateful, remember?). Double submit? Ha! Don’t even try! Want to have a clean client redirect after performing some action, but still pass messages across? No problemo – you’ve got a lightweight stateful conversation behind you.

By logically grouping your flows into SFSB’s, you can leverage more sophisticated failover because the container dirty-checks each instance and replicates automatically. Try that with HTTPSession.

So, I will be doing a sandbox app soon with Seam, and I’ll post more as I know it. Till then, read all you can.

Tags: ,

The Future of JBoss AS

June 13th, 2006 No comments

You can’t really question the inertia behind enterprise development using POJO’s and lightweight frameworks.  Rod Johnson (of Spring framework fame) wrote the book about this approach, effectively putting the last nail in the heavy framework’s coffin.  This morning’s presentation by JBoss covered their take on this from a 5000-ft level and also described some of the new things afoot in v5 of JBoss AS.

JBoss is mutating their MicroKernel (heavily JMX based) into what they call the MicroContainer.  The MicroContainer architecture could be described by reading the outline of Spring’s core container and subtituting “Spring” for “JBoss”.  Indeed, they are not only building a lightweight DI framework; they are building their entire app server on it.  Cool.

JBoss has always been good about letting the developer/integrater customize the footprint of the server through configuration.  It looks like this is going to be even cleaner and better in v5, since the same DI engine which builds the server innerworkings can also assemble application components — all the way up through the presentation tier using Seam/JSF.

Tags: ,

Hello [JBoss] World

June 13th, 2006 1 comment

Well I’m in Vegas for the 2006 JBoss World expo. I just ran into Marc Fleury in the elevator and he was wearing his Red Hat Fedora. It’s going to be an interesting week.

Tags: