Running .NET on a J2EE App. Server

Yes it is true and it is very cool! Mainsoft has a product called Visual MainWin for both J2EE and Unix and Linux platforms. You can have your ASP.NET applications (using ADO.NET) deployed on a single J2EE platform. Please note, this is not really “calling” any web services that are running on Java.

How does it work? Well for one you can check out this flash movie (and it surely is amazing!). But basically they wrote an IL compiler that takes the IL generated by .NET app (i.e. ASP.NET in this case) and converts it to Java bytecode which then is run “natively” on a J2EE platform.

When you install their product, they add some extensions to VS.NET that allows you to write your ASP.NET application with VS.NET including using all the features you are used to (such as the debugger). You can also jump to the debugger from the java code/component. In the demo they have on the site, the middle-tier of a typical 3-tier web app is hosted in EJB’s and the presentation tier is ASP.NET which is then run on J2EE. The middle-tier is component (jar file) is referenced in the asp.net solution. The deployed application is a war file on the J2EE application tier.

IHMO, this has a lot of value in an Enterprise environment, and should help avoid the whole “religious” debate that some companies get hung over. Has anyone has had a chance to play with this? If so, what have your experiences been? What do you think about this, I would love to hear your thoughts.

Published by

Amit Bahree

This blog is my personal blog and while it does reflect my experiences in my professional life, this is just my thoughts. Most of the entries are technical though sometimes they can vary from the wacky to even political – however that is quite rare. Quite often, I have been asked what’s up with the “gibberish” and the funny title of the blog? Some people even going the extra step to say that, this is a virus that infected their system (ahem) well. [:D] It actually is quite simple, and if you have still not figured out then check out this link – whats in a name?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.