We're building dedicated content management systems for our clients, using a central framework we've built, upon which we build specifics for the site. We're hosting everything on our own machines, so basically we can exploit all the neat stuff like memory caching, custom configs etc.
I was wondering if porting the application(s) to Java would suit us better? Java (compiled) is much faster, and as a language more sturdy than PHP. Plus the biggest reason for migration would be usage of persistent data for which we use memory caching (eg. memcached), however there is overhead in pulling cached content from memory, per request, instead of accessing it directly in memory-persistent servlet that would be possible in Java.
My question is, given the two reasons I've just listed (performance), is it advisable for us to migrate to Java? Does this reason justify the migration? Has anyone migrated from PHP to Java who can share some experiences?


