Every week I run into web APIs that read like a to do list for servers, written in a hurry and hard to explain.Let us trade mystery verbs for RESTful resources where URLs wear nouns and HTTP methods carry the verbs. REST from a working seat is refreshingly simple once…
Category: Software Architecture
System design patterns, architectural decisions, and scalability strategies. Building robust, performant systems that stand the test of time.
Internationalization in Java: Resource Bundles without Pain
\n\n \n\n\n\n Shipping a Java app to more than one country should not feel like pulling teeth. The pieces are there. We just need to wire them in a way that does not punish the team. \n\n\n\n Here is a straight path to ResourceBundle that avoids the usual traps and…
Deploying to WebSphere: A Survival Guide
Deploying to WebSphere should not feel like a rite of passage. It is just a server with knobs. The trick is knowing which ones to turn before the pager goes off. If you are shipping on WebSphere Application Server, base or ND, this is a field guide from the trenches….
Clustering on JBoss: Session and State
Clustering on JBoss is not a magic lever you flip and walk away. It is a bundle of choices about session and state that either keep your app snappy or melt your heap. I have been wrangling JBoss 4.2 with Apache out front and the story is repeatable enough to…
Data Sources and Subreports: Keeping Performance in Check
Subreports look nice on the canvas and they feel clean when you click around in iReport, but they can send your server for a walk if you are not careful. I have been helping teams wire up JasperReports for invoices, statements and those end of month monsters that marketing loves,…
Writing Clear Servlets: Small Controllers, Big Wins
\n Big controllers feel clever until the third bug report in the same week. \n\n\n\n Small servlets are quiet and boring and they keep your weekend free. \n\n\n\n We have Rails noise on every feed and still a lot of us ship on Java Servlets every day. Tomcat 6 runs…
Migrating to JPA with Hibernate as Provider
Creation date: 2007-04-20T01:09:40 Dialogue style intro Dev: We keep patching our Hibernate XML mappings and a new feature lands every sprint. I want to move to the Java Persistence API and keep Hibernate as the provider. Lead: Why touch what works Dev: The Java Persistence API gives us a common…
Transaction Management with Spring: Simplicity with Sharp Edges
“Spring makes transactions feel like a checkbox. They are not.” Transaction Management with Spring looks easy on the surface. Write your service, add a neat annotation or a small config snippet, and boom, atomic work. If you are moving from heavy EJB days to Spring 2, it feels like swapping…
Designing Meaningful Performance Scenarios
Designing Meaningful Performance Scenarios: JMeter from a practitioner’s perspective with timeless lessons. Plenty of teams fire up Apache JMeter, crank a pile of threads, and call it a day. The graphs look fancy, the numbers look sharp, but then the site slows down during a promo and everyone is surprised….
Polyglot on the JVM: When to Reach for Another Syntax
\n \n I was in a late sprint this week, laptop fans howling, when a teammate pinged me with a small feature that was all string glue and reflection. My Java code was clean but noisy and the clock was not kind. I rewrote the spike in Groovy just to…