.NET TO JAVA Code Conversion Tool

xiaoxiao2021-03-06  86

For a company, the user who competes for the company's products to our products is often going to do. There are several related content below. Java to .NET's conversion tool is well known, let's look at .Net to Java conversion tools:

Convert the .NET code to Java code,

The Visual Mainwin for J2EE of the company (which is the last disclosed Win2000 source code) is the completion of the .NET TO JAVA code conversion. (I haven't used it, there is a problem I have to download a look at http://www.mainsoft.com/)

Can you convert the ASP .NET application to a J2EE application? Visual mainwin for j2ee makes this seemingly impossible thing to become a reality! So far, developing applications on the Java platform or a few senior Java developers's "patents", Visual Mainwin's emergence will enable the Java platform to open more than 30 million .NET developers worldwide, so they can be familiar with Visual Basic.Net Or develop Java applications in a C # environment.

When I first heard MAINSOFT's Visual Mainwin for J2EE, I think this is just a rash idea. Read the help theme of this product carefully, it actually said that "this product is used to develop ASP.NET applications on the J2EE platform." This makes me feel more thumbers.

However, after I tried this product, I tried this product, my heart was swept away. If Visual Mainwin for J2EE is a rash idea, then it is the best "rash idea" that I have seen.

Simply put, Visual Mainwin converts the .NET application to Java applications, and Visual Mainwin for J2EE allows you to convert ASP.NET applications created with ADO.NET into J2EE applications and deploy them on the J2EE application server. All all this is done in Visual Studio.NET.

Visual Mainwin for J2EE is installed as a plug-in to Visual Studio.NET IDE, which also installs a Tomcat 5.0 application server, which converts ASP.NET applications to J2EE applications.

Although the word "seamless" is now there is no significance, the integration of Visual Mainwin and Visual Studio can indeed be called "seamless". Visual mainwin attaches yourself on the output of the compilation process and converts the IL (intermediate language) code generated by Visual Studio into an equivalent Java bytecode. It encapsulates the code into the corresponding archive file according to the type of different target application servers, and deploys the file to the ASP.NET Java version and the ADO.NET library to the application server.

As a result, Mainwin turns Visual Studio.NET into an integrated development environment for J2EE applications "Development, Debug and Deployment". With such a variation, the user can write Java applications with VB (Visual Basic) .NET or C #.

In addition to attaching the Visual Mainwin project template attached to Visual Studio, you almost don't know the existence of Visual Mainwin, you can use all control functions of the ASP.NET server, and ADO.NET is implemented at the top of the JDBC. The latest version of Visual Mainwin provides a wild database connection.

Another more surprising function of the product is to connect the bytecode with the .NET source code to facilitate the transfer program. You can perform C # or vb.net source code on the Java bytecode, but also convert the IL code into a bytecode, but also reserve debugging information, this is really unexpected additional additional Features. However, although Visual Mainwin can make the .NET entity a well mapped into equivalent Java features, there will be exceptions. For example, Java provides an exception class while the .NET provides three. So Visual Mainwin must handle three .NET exception processing to the same Java exception, this problem is difficult to solve, you can only In this multi-to-one mapping.

Although all .NET exceptions are derived from the System Exception class, not all Java exceptions are derived from the Java.lang.Exceptions class, some of which are generated by JVM (Java virtual machine) is From the Java.lang.Error class. Such inconsistency will represent the .NET code that attempts to control all exception processes. When converting these codes to Java code, the exception derived from the Java.lang.Error class will be ignored.

When compiling applications, the two conditions of Visual Mainwin compile constant - Java and Net are very useful. When the compilation output is Java bytecode, Java is "true"; and when the compilation output is Microsoft IL, NET is "true". Using these two compilation constants, you can create source code-independent source code, you can even import the EJB to import .NET project, and call EJB from VB.NET or C # code with the package code provided by MainSoft.

Visual Mainwin For J2EE requires a very good tool in other cases in other cases, in other cases, Visual Mainwin for J2EE needs to take a detachment. Anyway, this product opened at least the gate from Linux to the ASP.NET application world.

Test Results

Support platform: Any platform that supports Visual Studio.net 2003, which can be configured on any platform that supports Tomcat 5.0, WebSphere, or WebLogic application servers.

Evaluation: Visual Mainwin combines Java's ability to operate with Visual Studio.net IDE, if you want to deploy the ASP .NET app to your past, you have never thought about it, then Visual Mainwin is the best tool. (Interested readers can download trial versions at www.mainsoft.com website.)

Price: $ 5,000 / set

Related Links

Visual mainwin works

Visual Mainwin enables software developers to develop applications running on the J2EE platform using Visual Basic.NET or C # and ASP.NET and ADO.NET class libraries, which is a complete J2EE development solution. Visual mainwin includes the following components:

● A development environment integrated into Visual Studio.NET that can be used to develop, deploy and debug J2EE applications;

● A set of Java runtime libraries, which enables applications developed in Visual Basic.Net and C # to run on the J2EE application server.

Visual Mainwin uses its unique compiler to compile the Microsoft Intermediate Language (MSIL) into a standard Java bytecode (Java Bytecode). Developers can write programs in Visual Basic.NET, or use C # write programs, then compile the program source code directly into a standard Java Bytecode. · Comments ·

Simplify Java development

"Written once, run everywhere, this is the most successful Java. However, Java has been in 9 years, although it has been widely used in enterprise software development, but its developer group is not fast enough, and the global Java developers are only more than 2 million, and Microsoft Visual Basic.Net is used. The number of developers developing applications in the Windows environment has reached 10 million levels, which leads to a restriction of Java's popularization applications.

The root cause of this result is that Java is easy to use. Under normal circumstances, a two-month training can basically master the use of visual development tools such as Visual Basic.NET and start writing applications, but wants to become a Java master is not an easy task.

However, this situation is rapidly improved. Tool Software Manufacturer MAINSOFT newly launched Visual mainwin enables developers to develop, debug and deploy Java applications in familiar Visual Basic.NET environments, if this tool is in efficiency, compatibility performance as possible, then It means that tens of millions of developers can join Java development camp immediately, develop Java applications. In addition, Java's nasal ancestors SUN has also been committed to providing more tools to simplify Java development last year. At the Javaone conference last year, Sun announced that it is developing code for Project Rave, which is finally available, and is renamed Sun Java Studio Creator, this product is called "Visual) Java Development Tools in Basic Style. Sun hopes that the emergence of Sun Java Studio Creator will develop Java developers from now to 10 million. SUN is responsible for the vice president of Java Web Services, Joe Keller, said that more than 50,000 developers have participated in the off-site test of Sun Java Studio Creator, and the effect is good.

Simplify Java development efforts are more than this. In this year, at the Bea Eworld Conference held in San Francisco, BEA announced the launch of the "Hive Plan", and the WebLogic Workshop integration development environment framework contributed to the Apache organization, which will enable more Java developers Use WebLogic Workshop to easily develop Java applications. According to the person in charge of BEA, the hive plan is a supplement to the commercial and open source integration development environment (such as Eclipse). It provides an application framework for open source, through this framework, Java developers can use them like The tool creates an application and deploys these programs on any J2EE server.

We have reason to believe that through the efforts of all manufacturers, more convenient, easy-to-use Java development tools will appear! (Four wood)

转载请注明原文地址:https://www.9cbs.com/read-105737.html

New Post(0)