Monthly Archives: May 2008

Tomcat Performance Tuning

Most companies I have worked for use Tomcat as Servlet Container. It is de facto standard just like how Apache been used as Web Server. However, most of us just drag our war file to the webapp folder and use Tomcat with all the settings as default out of the box. It works fine in [...]

Part 1 – Spring Security Architectural Review

My Web application needs both authentication and role-based authorization features. And our user profile is currently stored in an OpenLDAP server. I am looking for a security framework that can help me to integrate LDAP and provide these security features with the least amount of effort. On top of that, I want to achieve this [...]

WordPress Nice Plugins

Google Syntax Highlighter Often time when I try to post the code to my blog, the admin text editor will screw it up. Either the indent is gone or the xml tag is interpreted. No matter what, I cannot show the code in a nice and decent way. Luckily, I have found a nice plugin [...]

Scale your site via Amazon solution – EC2 and S3

Steps to use EC2 To get you start, read here. Create a custom AMI How others use it How SmugMug uses Amazon solution http://www.rajiv.com/blog/2008/02/04/amazon-ec2/

Serving Video Ads

Use Flash for video ad How to get video ad serving on a web page? What are needed to achieve this? You want to serve video ad to the web page without having users to download any plug-in and software. There are many different video formats (eg. WMA, FLV, SWF, MPEG, RM and etc) and [...]