Export (0) Print
Expand All

Introduction to Visual J# for Visual J++ Users

Visual Studio 2005

The Visual J# product:

  • Adds support for the Java language on the .NET Framework. This product brings the power and richness of the .NET Framework to Java-language programmers, and enables you to carry forward existing Java-language skills and code.

  • Enables you to participate in the vision of XML Web Services and leverage the rich programming frameworks of ASP.NET, ADO.NET, and Windows Forms libraries to create compelling applications.

  • Provides a seamless upgrade path for Visual J++ developers. It is fully integrated with Visual Studio, and presents a familiar interface for Visual J++ developers.

See Visual J# Overview for an overview of the product.

Visual J# can exist side-by-side with Visual J++ on the same system. During upgrade, the source files and other files in the project are not modified. The existing project file is also untouched. You can open the existing Visual J++ project and work on the application in Visual J++ even after you upgrade to Visual J#.

The following are some of the key aspects of upgrading to Visual J#:

  • Development in Visual J# targets the .NET Framework, that is, the output of Visual J# projects are binaries in the Microsoft Intermediate Language (MSIL). These are executed on the common language runtime (CLR) with the runtime support provided by the Visual J# implementation.

  • Most of the functionality from the JDK 1.1.4 libraries is available in the Visual J# implementation. For details, see Class Library Support.

  • The Visual J# compiler supports all key features of the language and also fully supports consuming the .NET Framework. It also supports the extensions supported in Visual J++, such as J/Direct and Java/COM interoperability.

  • There is no design-time support for WFC projects. Only new applications created using any of the Visual J# project templates have design-time support. However, you can extend existing applications by adding new functionality enabled by Visual J#. For example, you can extend a WFC application with Windows Forms. See WFCUsingWinForm Sample for more information.

  • Resource file formats are different. For more information, see Upgrading Visual J++ 6.0 Applications That Use Resources.

  • Visual J# can be used to open and upgrade projects created using Visual J++ 6.0. Opening a Visual J++ project in Visual J# starts the Upgrade Wizard, which eases the transition to the new product. The Upgrade Wizard creates a new project to which your existing project files are added. During the upgrade, no source files are modified. Additionally, the wizard analyzes your project to identify any issues. These are listed in an upgrade report, which is added to the new project. Each issue has a link to a topic in the documentation describing how to address it.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft