News:

Choose a design and let our professionals help you build a successful website   - ITAcumens

Main Menu

What's New in Visual J# 2005

Started by sukishan, Jul 14, 2009, 04:04 PM

Previous topic - Next topic

sukishan

Visual J# 2005 introduces the following new features.

New Features
Common Language Specification Compliance Checking

Improved support for working with multiple versions of the common language runtime side by side.

Changes in the exception handling model to allow catch clauses catching java.lang.Throwable to catch .NET exceptions inherited from System.Exception. For more information, see Visual J# Exception Hierarchies.

The Visual J# library now has the AllowPartiallyTrustedCallers attribute, which allows partially trusted code such as applets to run. For more information, see Security Semantics for Applications Written in Visual J#.

Support for Java bean-style properties. For more information, see Bean-Style Properties.

Support for casting using the CodeDOM. See Walkthrough: Generating and Compiling Source Code Dynamically in the Java Language for more information.

Changes to some of the classes to support functionality equivalent to JDK 1.2 level.

The java.util.Locale class no longer allows fallback to a default region if the region is unspecified. This change can break applications that rely on this fallback mechanism. An indication that code is using the fallback mechanism is an empty string for the country/region parameter. However, it is possible to allow this code to work by calling a new function, com.ms.vjsharp.text.FormatDefaults.setDefaultRegion. For more information, see Methods in com.ms.vjsharp.text.FormatDefaults Class.

* The java.lang wrapper classes for fundamental data types now support System.IConvertible, allowing these types to be used with the .NET Framework wherever System.IConvertible support is required. For more information, see Conversions Between .NET Framework Types and Java Wrapper Types.

* Support for inner exceptions. For more information, see Inner Exception Support in java.lang.Throwable.

* Support for documentation comments, in the comment style traditionally known as Javadoc comments for Java-language source code. For more information, see How to: Generate XML Documentation from Javadoc Comments.

* Java-language serializable types now automatically support .NET serialization. For more information, see Support for .NET Serialization.

*  Support for applet development using the Supplemental UI Library (VJSSupUILib.dll).

* New Visual J# samples that demonstrate new features:

    Bean Style Indexed Property Sample (Sets Property Value)

    Bean Style Simple Property Sample (Sets Property Value)

    By Reference Sample (Pass a Type by Reference)

    Custom Attribute Sample (Attach a Custom Attribute to a Class)

    Enum Type Sample (Declare a Enumeration Type)

   Generics Samples (Consuming Generics)

   Value Type Sample (Declaring a Point Type as a Value Type)
A good beginning makes a good ending