SA Systems
JVM performance, architecture, and the trade-offs behind software that stays up.
20262 posts
- AE5SA23Stop Tuning Your RAG. Start Orchestrating It.Why RAG works in the demo and breaks in production, and why the fix is a RAG agent orchestrating tools and data over MCP, not more tuning.
- AE3SA22AI Workflows First. Agents Where It MattersBuilding effective AI agents isn't about how complex you can make the system. It's about how simple you can keep it.
20161 post
20142 posts
- SA20Java 8 Stream Performance TestCounting in a loop eight different ways, from synchronized blocks to parallel streams, to compare Java 8 Stream performance.
- SA19HS6Are You a Senior or a Junior Software Engineer?An urgent fix to a legacy batch job, walked through step by step, to show how experience changes the way you read code.
20131 post
20117 posts
- SA17Java File HandlingA small Java program that fails to delete a file on Windows, and why unclosed streams were the reason.
- SA16CSS Hacks for Every BrowserA reference of selector and attribute hacks for targeting specific versions of IE, Firefox, Chrome, Safari and Opera from inside a stylesheet.
- SA15Spring Security and CAS Integration with VaadinHow I added CAS single sign-on to Vaadin applications with a Spring Security wrapper, and the open-source sample that came out of it.
- SA14Clojure and VaadinA minimal example of writing a Vaadin web application in Clojure, from the servlet to a macro for building windows.
- SA13How to Access a JBoss Queue with a Standalone ClientSetting up a JBoss Messaging queue and talking to it from a standalone JMS client: JNDI context, producer, and message listener.
- SA12HS3Harnessing Developer Communities for Telco AppsWhy mobile operators need developer communities, and what a platform needs to turn local developers into a source of telco apps.
- SA11Telco-Based SMS and MMS Applications Using Java and .NETAppZone, the telco app store Etisalat Sri Lanka launched with hSenid Mobile, and how developers could send SMS and MMS from Java or .NET.
20106 posts
- SA10Where to Put Named Queries in JPA?Annotations, inline strings or XML mapping files: the trade-offs of each place to define JPQL queries, and why XML is often overlooked.
- SA9Dynamic Class LoadingStatic loading with Java's new operator versus dynamic loading with Class.forName, and the exceptions each one throws when a class is missing.
- SA8SMS UDH, Binary and Concatenated MessagesHow the User Data Header works for binary and concatenated SMS, with Nokia Smart Messaging port numbers and EMS examples.
- SA7H2 DatabaseA quick, enthusiastic introduction to H2, the pure-Java SQL database that runs embedded, as a server, or in memory.
- SA6Send Mail in Java Using SMTPA reusable JavaMail class that sends authenticated SMTP mail on a background thread, so the caller never blocks.
- SA5HS1Killer App vs Niche ApplicationWhy niche markets are easier to win than mass markets, and why most "killer apps" disappear while useful software survives.
20094 posts
- SA4Hibernate Annotation for a Map Enum TypeMapping a java.util.Map with an enum key and a String value using Hibernate annotations, and the ClassCastException I worked around.
- SA3How to Use Hibernate @Any AnnotationsMapping one association to unrelated entity types with Hibernate's @Any and @AnyMetaDef, using a library of books, DVDs and VHS tapes.
- SA2What Is Java Memory Leakage?How Java objects stay reachable and leak memory, how heap size differs from RSS, and the profilers I used to track leaks down.
- SA1Testing SimpleFormController with Spring MVCBuilding a Spring MVC SimpleFormController test-first with spring-test, mocked HTTP requests and EasyMock, one red bar at a time.