Category
Software Development
128 notes
Seam
Seam EntityHome Design Pattern
Seam's Home object design pattern solves LazyInitializationException and entity manager scope issues.
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.
Seam
Apache Proxy Breaks RichFaces
Apache proxy blocks RichFaces JavaScript - the ContextRoot/a4j path needs direct access, not load balanced.
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.
Opinion
login-required="true" Will End Your Conversation
That convenient login redirect? It kills conversations. Here's why and how to fix it.
Oracle
Oracle Export (exp) and Initial Extent Size Issues
Oracle exp/imp inflates table sizes - INITIAL extent settings preserve old dimensions even after shrinking.
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.
Java
How To Resize Uploaded Images Using Java
Automated image resize, thumbnail generation, and format standardization in Java - the practical way.
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.
Web Development
How to get RichFaces to not crash Safari
RichFaces wrecks Safari. One config line stops the crashes cold.
ATG
ATG Project Templates and Open Source Modules
Open-source ATG modules for caching, encryption, captcha, and more - ready to integrate.
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.
ATG
ATG Cache Header Control Module
Manage cache headers by MIME type and URI pattern in ATG without custom servlet filters.
Java
Eclipse StartOnFirstThread Error (and fix!)
Eclipse crashes on Leopard? Add one JVM flag. Problem solved.
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.
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.
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.
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.