Make it simple enough that a volunteer can run it, and flexible enough that a pro wants to. a Joomla meetup note scribbled on a napkin Joomla took off last year. If you build sites for real people with real deadlines, you felt it. The phones rang more. Budgets loosened…
Immutable Collections for Safer Concurrency
Your code is not broken. It is just being poked at the same time by two or five threads. These things used to be rare when we had one real core and dreams. Now your laptop ships with two or four cores and your server feels like a small city….
Versioning APIs without Pulling Rugs
Are you about to ship a fresh REST endpoint and feeling that little twitch of fear? Will your next tweak break someone else’s production at three in the morning? How do you do API versioning without pulling rugs from under your users? Why version at all if REST is supposed…
The business of software: Pick Problems That Command a Budget
Software is a business before it is art. If you forget that part, the market will remind you at billing time. Ship something that earns, or you are just funding a hobby with nicer tools. People keep asking what the real lessons are when you try to turn software into…
Oracle Just Bought Sun: What This Means for Java
\n So Oracle just bought Sun. What does that mean for Java? \n\n\n\n First reaction. Breathe. Then ask the only question that matters to most of us who write code in Java every day. What happens to the language and the platform that powers our apps, our servers, and a…
Thread Safety in Servlets: Avoiding Shared State
Thread safety in servlets sounds dry until it costs you a weekend. This is a practitioner’s view on why shared state is a trap, how to avoid it, and how to keep your Java web app sane on Tomcat or Jetty without playing whack a mole with race bugs. The…
Why NetBeans Clicks for Me: Out-of-the-Box Power
I was on a late train with a lukewarm coffee and a stubborn bug. The kind that stares back and says you brought a knife to a gunfight. I had just installed NetBeans 6.5 on a spare laptop, clicked New Project, picked a Java web app, and hit Run. GlassFish…
Caching with Hibernate: Second-Level Strategies
Your app is fast in dev and then faceplants in prod. You flip on Hibernate SQL logging and the console vomits queries. The database fans whir up like a tiny jet engine. Pages that felt instant take a coffee break. Been there. If that story feels familiar, the next move…
GWT for Rich Web Apps: Java to JavaScript
Your Java can talk like the browser and still feel like Java. That is the hook of Google Web Toolkit, and it is easier to live with than it sounds.If you are fed up with juggling browser quirks and copy pasting snippets, compiling Java to JavaScript starts to look like…
Design Pattern : Practical Uses and Traps
Creation date: 2009-01-12T01:09:02 Design patterns were born in books, but we live in code. Today I want to talk about what they actually buy us when we ship web apps, desktop tools, or that shiny mobile thing you are putting together for the App Store or the first Android phones….