Developer Zone
Register  |  Login  
 Mainsoft.com
Search  
 

What is Grasshopper?

For most .NET developers, there is simply no substitute for the Visual Studio® IDE, the .NET Framework, and either C# or Visual Basic. With Grasshopper, you can use your favorite development environment from Microsoft® to deploy applications on Java-enabled platforms such as Linux®.


Grasshopper is Mainsoft®, Developer Edition, a freely available Visual Studio plug-in that you can use to create server and ASP.NET applications, or port existing .NET applications to Linux and other Java-enabled platforms, without having to re-write your code in the Java language. Grasshopper 2.5 is a plug-in for the Visual Studio 2008 development environment and provides full support for ASP.NET AJAX, including Microsoft's ASP.NET 2.0, the AJAX Extensions, and the AJAX Control Toolkit. In addition, version 2.5 supports new language features for C# 3.0 and Visual Basic 9, such as Local Type Inference, Object and Collection Initializers, Anonymous Types, and Auto-Implemented Properties.


Grasshopper is designed for small user group deployments. It offers many of the features included in the Enterprise and Portal Editions, and can be deployed on the Apache Tomcat application server, running on a single-CPU computer. It comes with no support and no warranty. Read the Developer Edition license agreement for more information.


For enterprise developers, Mainsoft offers two editions that simplify .NET-Java interoperability:

  • Mainsoft, Enterprise Edition, is designed for multi-CPU and large group or commercial deployments. It includes an integrated development support for WebSphere® Application Server and Tomcat; the ability to deploy to any standard, fully featured Java EE server such as JBoss and WebLogic®; and the ability to programmatically interact with native Java class libraries and directly invoke their class methods.


  • Mainsoft, Portal Edition, is a Visual Studio-based SDK that enables .NET developers to build JSR 168 standards compliant Java portlets that run directly on IBM WebSphere Portal server 6.0 or 6.1. The Portal Edition provides direct, programmatic access to WebSphere Portal infrastructure services, enabling the "ASP.NET portlets" to participate in SSO, portal branding, portal navigation, role-based composite applications and full support for on-the-glass integration.

    An add-on to the Portal Edition is Mainsoft SharePoint® Integrator for WebSphere Portal, which enables you to integrate documents stored on Microsoft SharePoint sites and Windows SharePoint Services into portal composite applications.

Key features

.NET to Java: MSIL to Java bytecode compilation

Mainsoft introduces a patented cross-compiler that compiles Microsoft Intermediate Language (MSIL) into standard Java bytecode. The Mainsoft cross compiler is based on the ECMA 334 and 335 standards and the Java Virtual Machine specification.

Java EE compliant applications

Mainsoft produces pure Java deployment packages that can be deployed on any Java EE compliant application server, on any platform, using regular Java EE deployment tools. Applications compiled with the Mainsoft cross compiler can be validated using the SUN Application Verification Kit (AVK) for the Enterprise. Applications compiled with the Enterprise and Portal Editions can be validated Ready for WebSphere Software.

Visual Studio integration

All Mainsoft editions are seamlessly integrated with the Visual Studio IDE, making Linux development as easy as any IIS development.

  • Enhanced Visual Studio editing capabilities

    The cross-platform development solution maintains all the functionalities of the enhanced Visual Studio editor and extends it to Java components. So advanced productivity features like IntelliSense, code navigation, and automatic errors detection are available even when accessing referenced Java components.

  • Cross-platform debugger

    It also extends the Visual Studio integrated debugger to Java bytecode running on Apache Tomcat. Advanced debugging features of the Visual Studio IDE, such as Watch windows, dynamic expression evaluations, and conditional breakpoints, are supported.

  • Web application and Web services support

    Mainsoft enables creation of interactive Web applications and Web services using the ASP.NET model and RAD tools, including ASP.NET Web controls, provided by Visual Studio.

  • Help system

    The Mainsoft help system integrates into the MSDN collection of books and provides support for search, index, content, and dynamic help. With the help system you can determine if a .NET class or member is supported and if there are any usage limitations. In addition, Mainsoft provides a new MSDN book that describes the Java runtime classes and interfaces.

Access to external Java components

You can access external Java components regardless of the Java development environment in which they were originally developed. You can also reference and use Java JAR files, from your C# or Visual Basic code, which may have been developed by your colleagues or by a third party. Referenced Java classes are first-class citizens in the Visual Studio environment, taking full advantage of features such as the Object browser and IntelliSense.

Open source .NET Framework

Mainsoft provides the .NET Framework class library on top of Apache Tomcat, implementing ASP.NET, ADO.NET, XML, Web services, and .NET server-side runtime services. Its .NET Framework sources are shared with Mono, the open source .NET implementation. The C# Mono sources are compiled to Java bytecode, using Mainsoft’s cross compiler.

Mainsoft packages the Mono sources as Visual Studio projects. You can download the source code, modify it, compile, debug, and test the code, all from the Visual Studio IDE.

Powered by Grasshopper

All new Web projects, created with Grasshopper, include a logo on the first page entitled "powered by Grasshopper", which links to the Mainsoft Web site. If you enjoy our free product and want to promote its usage, you can display the Mainsoft logo prominently in your Web applications. The logo may be used at your discretion on other pages of your Web project

Feature matrix

The following matrix highlights the Mainsoft features, and indicates each feature's support level in the separate Mainsoft editions.

Development features

Table 1: Development features

Topic

Feature

Portal Edition

Enterprise Edition

Developer Edition

Application servers — IDE support

Apache Tomcat bundled

IBM WebSphere Application Server

IBM WebSphere Portal

Multiple application servers support

Automatic fetch of application server configuration parameters

Development and build

Integrated development, build, debug, and run Java EE applications

Automatic deployment to Java EE server

Deployment package generation

IntelliSense support

MSBuild support for unattended builds

Portal XML configuration scripts integrated in the build process

Product conversion wizard

Source control integration

Project templates

Class Library, ASP.NET Web Application, ASP.NET Web Service, Web Control Library, Console Application

ASP.NET Portal Application

References

Java Reference

Web Reference

Project Reference

Java Standard edition runtime library

Java Enterprise edition runtime library

Portal runtime libraries

Project item templates

Web Form, Web Service, Class, Data Form Wizard, Data Set, Web User Control, HTML Page, Frame Set, Style Sheet, XML File, XML Schema, XSLT File, Web Custom Control, Code File, Global Application Class, Web Configuration File, Text File, Bitmap File, Cursor File, Icon File, Assembly Resource File, JScript File, VBScript File, Component Class, Master Page

Portal Form

ASP.NET components

HTML controls, Web Forms controls

ASP.NET AJAX Extensions

IBM WebSphere Portal Person control

Portlet Designer

IBM WebSphere Portal theme

SharePoint DataSource Control

(requires Mainsoft SharePoint Integrator for WebSphere Portal)

SaveCredential Control

(requires Mainsoft SharePoint Integrator for WebSphere Portal)

Mainsoft SharePoint Integrator for WebSphere Portal: SharePoint portlets source code

(requires Mainsoft SharePoint Integrator for WebSphere Portal)

Mainsoft SharePoint Integrator for WebSphere Portal: SQL Reporting Services portlets source code

(requires Mainsoft SharePoint Integrator for WebSphere Portal)

Debugger

Execution control, breakpoints, expression evaluator, multi-threaded application debugging, Exceptions window

C# and Visual Basic debugging

Java source files debugging

Debug Web applications running on WebSphere Application Server

Debug Web applications running on WebSphere Portal

Debug Web applications running on Tomcat

Remote debugging

Runtime features

Table 2: Runtime features

Topic

Feature

Portal Edition

Enterprise Edition

Developer Edition

Application servers — runtime support

Apache Tomcat

WebSphere Application Server

IBM WebSphere Portal

J2EE 1.4 compliant application server

Application server clustering

Framework

.NET server-side Framework support:

mscorlib, System, System.Web, System.Web.Services, System.XML, System.Data, System.Data. OracleClient System.Drawing, System.DirectoryServices, System.Runtime.Remoting, System.Runtime.Serialization.Formatters.Soap, System.Configuration, Microsoft.VisualBasic

Source access for Mainsoft implementation of .NET Framework

ADO.NET support for any JDBC enabled database

ASP.NET runtime

Pure Java membership, role, and profile providers

Web site administration tool

WebSphere Portal authentication module

WebSphere Portal membership, role, and profile provider

Preferred language defined in portal user integrated in ASP.NET culture information

WebSphere Portal specialized ASP.NET page

Application server clustering

SharePoint data access classes

(requires Mainsoft SharePoint Integrator for WebSphere Portal)

Machine configuration

Multi-CPU support

Operating system

Windows, Linux, and any Java-enabled platform

Documentation features

Table 3: Documentation features

Topic

Feature

Portal Edition

Enterprise Edition

Developer Edition

General

Complete documentation set

Integrated Help system

Java, Java EE, JSR 168, and WebSphere Portal reference books

(separate download)

Display a printable version of this page     Email this page     Add to favorites     This page has been viewed 69536 times.


Home  Site map  Privacy statement  Legal notice  Contact us
Mainsoft Product Validations: Optimized for Microsoft Visual Studio, Java Powered for the Enterprise, and Ready for IBM WebSphere.
Read more about: .NET Java and .NET for Linux

Copyright © Mainsoft Corporation 2005-2009. All rights reserved