Mainsoft推出了Grasshopper 2.0 Preview版本,根據官方的介紹,可以用.net 2.0的技術開發web應用並在tomcat伺服器運行。
Grasshopper 2.0:
- Extends Microsoft's Visual Studio 2005 IDE to create Tomcat applications that can be run on Linux, Windows, and any other Java-capable operating system.
- Supports ASP.NET 2.0 with pure Java membership, roles, and profile providers, with all the ASP.NET 2.0 new features such as master pages, themes and skins, wizard control, login controls, and data-bound controls such as GridView and TreeView.
- Supports Anthem.NET to create robust, interactive Web applications based on AJAX and Grasshopper.
- Brings the C# and VB languages to the Java platform by compiling Microsoft IL code into Java bytecode.
- Implements the .NET Framework 2.0 functionalities in the Java EE environment, including Web Services 2.0, ADO.NET 2.0, XML, System and Core library 2.0 functionalities.
- Extends Visual Studio .NET's debugging to Java EE, so you can attach your Web application to Tomcat and control its execution.
- Maintains a single source code for both platforms.
With the Grasshopper 2.0 Technology Preview, you can easily create new ASP.NET 2.0 applications for Tomcat and port existing ASP.NET 2.0 applications from .NET to Tomcat, using C# and the .NET Framework, and without worrying about forking sets of source code. And you can port your ASP.NET 2.0 application without learning to use a new development tool, or having to write a line of custom Java code!
居然有這麼爽的事情,如果是真的可行的話,估計這世界上大部分的java程式員都該轉到.net的懷抱了,嘿嘿。