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…
Category: Software Architecture
System design patterns, architectural decisions, and scalability strategies. Building robust, performant systems that stand the test of time.
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….
Life Cycle Callbacks in JPA: Where Behavior Belongs
Life cycle callbacks in JPA look tiny on paper. A couple of annotations and a method that runs at the right moment. In practice they answer a bigger question that teams ask every week: where does behavior belong? I keep seeing projects split between a fat service layer that knows…
Spring MVC in Practice: Clear Boundaries for Teams
\n We were pushing a release after midnight, the kind that makes pizza feel like a requirement and not a snack. Tomcat sat there staring at us, almost smug. The bug we were chasing lived in the no mans land between what the browser sent and what our service layer…
Dates and Times in Java: Why It Always Hurts
Dates and Times in Java: Why It Always Hurts I shipped a promo scheduler last week. Midnight local time for each market, clean and simple. Except Buenos Aires woke up angry. The country flipped its daylight rules late in the season and our JVM still carried old tzdata. Our code…
JSF for real-world teams: Component Power with Caveats
\n \n\n\n\n �JSF is like a power drill. It makes holes fast, but it will also make a hole in your desk if you let it.� \n\n\n\n Why teams keep picking JSF \n\n\n\n When folks ask me why JavaServer Faces keeps showing up on enterprise project plans, the answer is…
Hardening Tomcat: TLS and Headers
Are you running Tomcat with HTTPS and still wondering if you are actually safe? Plenty of teams have flipped the switch on SSL in Tomcat 6 and called it a day. The padlock shows up, the boss smiles, and traffic looks scrambled in the sniffer. But that default setup often…
JSPWiki in Practice: Small but Capable
Small tools rarely make a splash. They just show up, do the work, and keep quiet. JSPWiki in Practice sits right in that space. It is a Java wiki that feels modest at first glance, yet it carries more than enough muscle for a team that wants a shared brain…
SOAP Endpoints that Don’t Hurt
\n \n \n �Make it easy for people to do the right thing, and the right thing tends to happen.� \n \n \n\n \n A coffee fueled wake up call \n I walked into the office with a lukewarm latte and a pager that would not stop blinking. A partner�s…
Separating Content and Presentation with FreeMarker
The web is buzzing with new frameworks and shiny toys. Rails keeps the volume up, Facebook apps are everywhere, and in Java land teams are split between JSF, Spring MVC, and Struts 2. In the middle of that mix there is one topic that keeps showing up in client calls…