Programming Thoughts
Contents Page
Random thoughts and rants about programming
The following articles are aimed at programmers and assume a lot of technical knowledge. They are as much examination of problems as whole, out-of-the-box solutions but some code can be downloaded in working examples. You may need to integrate them yourself. If you're struggling, try contacting me at Ars Technica's programming forum.
- On Hibernate
- SQL Server Time Zones
- On J2EE - Pagination
- Full List
- Base Record List
- By Ids
- By Index
- Example
- Editing
- Editing Example
- Detail Page
- Composite Cache
- Composite Cache Example
- Results Sorting
- Results Sorting Example
- On J2EE - Miscellaneous
- Sharing Session Data between Tomcat Apps
- Streaming Large Files in n-Tier
- Transfer Object Assembler
- On Struts 2 - Annotation-based Validation
- Fails Out-of-the-Box
- Validation Design is Too Fragile
- Custom Validation is Too Arcane
- Alternate Annotations
- Alternate Validators
- Alternate Interceptor
- Alternate Validators (Custom)
- Alternate Validators (Collections)
- Form Formatting
- Evaluation
- Example
- Alternate Redesign
- Existing Code
- Workflow Redesign
- Interceptor Redesign
- Manual Parameter Conversion
- Redesign Example
- Form Formatting Redesign
- Display Formatting
- Redesign Evaluation
- Form Formatting Example
- On Struts 2 - Post/Redirect/Get
- Post/Redirect/Get
- Forwarding to View Action
- Redisplaying a Form
- Use ModelDriven
- More Form Injection
- Different Interceptor Stacks
- Example
- On Struts 2 - Server State per Browser Tab
- Initial Design
- Injected Per-tab Session
- Copying Per-tab Session to New Tab
- Third-party Links and Bookmarks
- Example
- Popups
- Popups Example
- On Vaadin
- Unusable Style Editor