Category: Java

  • Seam EntityHome Design Pattern

    I’ve been using Seam for over a year. At some point the “Home” object was introduced to the documentation (Chapter 11). Reading the documentation didn’t convince me of the point. Being an ATG guy at heart, I still prefer using “form handlers” for managing my important entities. So I haven’t bothered. However, just recently I…

  • Getting the Real IP Address from a Proxied Request in ATG

    Many things can obscure the real IP address of the end user when they visit your site: a load balancer in front of your ATG cluster, Akamai, the user’s ISP or office network, and more. This makes correlating logging events, or using the ATG session IP validation security option, and more, very difficult. In light…

  • 10MinuteMail Updates

    I just pushed a new version of 10MinuteMail. Here are the notable updates: Removed the Ad-Aware links and text. No one was clicking on them anyhow. Added some translation fixes. Implemented AJAX based (RichFaces) refreshing of the list of e-mails in your inbox. Added smtp client throttling (in Postfix) to limit the number of messages…

  • Apache Proxy Breaks RichFaces

    I’ve run into this twice now, so I wanted to document it here to help other folks, and to see if anyone knows the root cause of the issue. When using RichFaces with Seam, things work just fine on my local development JBoss instance. But when I deploy the same EAR file up to my…

  • How To Resize Uploaded Images Using Java – Better Way

    Based on helpful comments from Matt on this previous post: How To Resize Uploaded Images Using Java I have upgraded the image resizing code. The results are noticeably better in quality, even at thumbnail sizes. I wanted to share the completed new code, in case anyone needs it. Again, thanks to Matt S. for his…

PHP Code Snippets Powered By : XYZScripts.com