I’d love to see the rest of the story on Friendster’s migration from JSP to PHP. The fact that the post mentions only JSP and not servlets, or some MVC framework would seem to indicate that site was an exhibit of J2EE worst practices.