Category

Software Development

128 notes
Seam

Seam EntityHome Design Pattern

Seam's Home object design pattern solves LazyInitializationException and entity manager scope issues.
Apr 2008 · 2 min
ATG

Getting the Real IP Address from a Proxied Request in ATG

Real IP addresses hide behind load balancers and proxies - use X-FORWARDED-FOR and the ProxyIPFixer servlet.
Apr 2008 · 2 min
Seam

Apache Proxy Breaks RichFaces

Apache proxy blocks RichFaces JavaScript - the ContextRoot/a4j path needs direct access, not load balanced.
Mar 2008 · 1 min
Java

How To Resize Uploaded Images Using Java - Better Way

Better Java image resizing for thumbnails - higher quality output with improved code based on feedback.
Mar 2008 · 3 min
Opinion

login-required="true" Will End Your Conversation

That convenient login redirect? It kills conversations. Here's why and how to fix it.
Mar 2008 · 3 min
Oracle

Oracle Export (exp) and Initial Extent Size Issues

Oracle exp/imp inflates table sizes - INITIAL extent settings preserve old dimensions even after shrinking.
Mar 2008 · 2 min
Oracle

An Easy Way to Drop All Tables in Your Tablespace in Oracle

Drop all Oracle tables easily - generate a SQL script from querying user_tables, then execute it.
Mar 2008 · 1 min
Java

How To Resize Uploaded Images Using Java

Automated image resize, thumbnail generation, and format standardization in Java - the practical way.
Mar 2008 · 2 min
Java

Displaying and Rerendering a RichFaces ModalPanel from a commandLink

Let's say that when a user clicks on something, perhaps selecting something from a DataTable or DataGrid, you want to call some server side code, and then popup a modal panel which needs to show content based on the new state setup by your server side call. In my case I have a DataGrid showing a number of items, and when a user clicks on an item I want to set the current selected item on a Seam component on the server, and then popup a modal panel to display detailed information about the item, and provide the user some actions within the modal panel.
Mar 2008 · 3 min
Web Development

How to get RichFaces to not crash Safari

RichFaces wrecks Safari. One config line stops the crashes cold.
Mar 2008 · 1 min
ATG

ATG Project Templates and Open Source Modules

Open-source ATG modules for caching, encryption, captcha, and more - ready to integrate.
Feb 2008 · 1 min
Oracle

Oracle PL/SQL Loop to Update Fields with Periodic Commits

Batch-updated 1.7 million password hashes? PL/SQL loops with checkpoints beat direct mutations.
Feb 2008 · 2 min
ATG

ATG Cache Header Control Module

Manage cache headers by MIME type and URI pattern in ATG without custom servlet filters.
Feb 2008 · 3 min
Java

Eclipse StartOnFirstThread Error (and fix!)

Eclipse crashes on Leopard? Add one JVM flag. Problem solved.
Jan 2008 · 1 min
Java

Quartz Scheduling and Seam (part 1)

Getting Quartz scheduling to work with Seam proved tricky - here's what I learned navigating sparse docs and setup gotchas.
Nov 2007 · 4 min
ATG

Design Pattern for Updating an ATG Order

The essential pattern for safely updating ATG orders: lock management, transactions, and synchronization explained by an ATG architect.
Oct 2007 · 1 min
Java

CAPTCHA with Seam in Three Minutes

Adding CAPTCHA protection to Seam forms takes three minutes - here's exactly how, including the build and config changes needed.
Oct 2007 · 2 min
ATG

ATG Installation on OS X

ATG's installer remains broken on OS X, but a single config.xml fix bypasses the platform limitations plaguing developers.
Oct 2007 · 3 min