Over a million developers have joined DZone.

Java, .NET, and PHP In One Webapp? The Holy Grail of Mashups.

DZone's Guide to

Java, .NET, and PHP In One Webapp? The Holy Grail of Mashups.

· Java Zone ·
Free Resource

Delivering modern software? Atomist automates your software delivery experience.

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.

Start automating your delivery right there on your own laptop, today! Get the open source Atomist Software Delivery Machine.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}