What if you could run a single webapp with Java, PHP, and ASP.NET AJAX in one webapp? Stay with me for a minute, because I think there might be a powerful combination here!This morning I came across an announcement from Mainsoft about how their latest release lets developers run ASP.NET AJAX applications from Microsoft on Tomcat and Websphere. This got me thinking: what if you could combine that with Java and PHP in the same application?
Lately, we've been doing a lot of PHP work here at DZone (sometimes to my chagrin!), and I've been keeping a close eye on Quercus from Caucho (the makers of Resin), hoping to see some light on how to get our app running on their platform. With Quercus, I can already combine a PHP frontend with a much more scalable Java backend. To me, this represents the possibility of an important change in web application development. There are a ton of people who like PHP because its easy to use and easy to build web applications with. Unfortunately, I prefer (and trust) my Java backends much more. What better way to compromise than to combine them?
With the announcement from Mainsoft this week, wouldn't it be possible to also combine .NET into the equation? I'm not entirely sure how they do it, but theoretically, you could have some portions of the frontend be an ASP.NET AJAX application. The demos I saw of Microsoft's AJAX technology sure led me to feel like they had some cool stuff going there.
Most of you are probably thinking I wrote this before I'd had a chance to clear the cobwebs out in the morning, or maybe I'm just having early onset senility :) Either way, what do you guys think? Quercus already runs outside of Resin, the Mainsoft stuff probably could be ported too. Would this represent an interesting possibility if it could be made to work on other application servers? I'm excited about all the work lately that has been going on to run other languages in the Java VM. The Java platform is here to stay.