Thursday, July 17, 2003

Converting Java to C#
The Java Language Conversion Assistant (JLCA) is a tool that provides the ability to convert Java code and library calls to Microsoft Visual C# .NET. Built based on the ArtinSoft migration technology, this second version adds a number of additional features to its abilities. This includes the ability to convert code from both the client and the server. Developers will be able to convert Web as well as Windows®-based applications. Java Server Pages and Java servlets can also be converted to ASP.NET.

The JCLA integrates with Visual Studio .NET. Because the conversion process is fully contained, once you have run the process, you are ready to start using Visual C# with your application.

Version 2 provides a number of new features over the previous version. This includes the ability to convert Java Server Pages (JSP), Windows Foundation Classes (WFC), and Abstract Windowing Toolkit (AWT) applications. There is also additional support for applet projects, which can now be converted to Window user controls that can be hosted in a browser. There is additional support for some of the Java APIs. For example, the 1.2 Collections API will now convert to the .NET collection classes. Finally, the new version of the JLCA will support reading and writing Unicode and localized applications.

To support the release of JLCA 2.0, Microsoft has also published a JSP to ASP.NET Migration Guide, which provides a comprehensive set of resources to aid in a migration to ASP.NET. More information can be found at http://msdn.microsoft.com/asp.net/using/migrating/jspmig/default.aspx. For more information on the JLCA 2.0 and for information on downloading it, you can go to http://msdn.microsoft.com/vstudio/downloads/tools/jlca/.


http://www.developer.com/java/other/article.php/2235411

No comments: