In-Depth

Java Migration Solution Supports Visual Studio 2005

Mainsoft has enhanced its solution, which creates Java bite code via a .NET-based platform.

Mainsoft Corp. has released a new version of its interoperability suite for software vendors and enterprise solution developers. Version 2.0 of the product, called "Mainsoft for Java EE," helps developers use their .NET code and applications as they move toward Java- and Linux-based environments.

The latest version, according to an announcement issued by Mainsoft, supports "Microsoft's Visual Studio 2005 IDE, the .NET Framework 2.0, ASP.NET 2.0 controls, role-based security and C#."

Mainsoft's solution is a plug-in application for the Visual Studio development environment. Software developers, faced with the potentially time-consuming task of recoding .NET applications into Java, can use Mainsoft's solution and their familiar development environment to save time. They can use C# and Visual Basic to do so and debug in Visual Studio, according to Yaacov Cohen, Mainsoft's president and CEO.

"It lets you do drag and drop — all this sort of visual probleming," Cohen said. "When we compile, we let the Microsoft compiler compile it to intermediate code, and then the Mainsoft solution compiles to Java bite code."

In some cases, less than one percent of the resulting code has needed to be changed, Cohen said.

Developers might use Mainsoft's solution when moving toward Java-based open solutions via Java EE or IBM WebSphere application servers or Linux platforms. They might also use the solution to support a service-oriented architecture (SOA).

There are some limitations to establishing an SOA in a mixed environment of Java and .NET-based code, Cohen explained. For instance, you cannot do Intel portlet applications with .NET and Java code. Likewise, you can't do composite applications between .NET and Java, Cohen added.

"The Java platform is really designed for SOA, but you have a six-million development pool [using .NET]," said Cohen, explaining the need for Mainsoft's interoperability solution.

Mainsoft for Java EE is currently available in three editions. A free "Developer Edition" is designed for individual developers and small groups, supporting Apache and Tomcat. The "Enterprise Edition" supports IBM WebSphere Application Server and Tomcat, as well as "standard Java EE servers such as JBoss and BEA WebLogic," according to Mainsoft's announcement. Finally, there's a "Portal Edition" supporting Java EE portals.

Mainsoft's interoperability suite came into being following a four-year collaboration between the company and the Mono Project. The Mono Project, which is sponsored by Novell, aims to establish an open source UNIX-based version of the Microsoft .NET development platform.

About the Author

Kurt Mackie is senior news producer for 1105 Media's Converge360 group.

comments powered by Disqus

Featured

  • Windows Community Toolkit v8.2 Adds Native AOT Support

    Microsoft shipped Windows Community Toolkit v8.2, an incremental update to the open-source collection of helper functions and other resources designed to simplify the development of Windows applications. The main new feature is support for native ahead-of-time (AOT) compilation.

  • New 'Visual Studio Hub' 1-Stop-Shop for GitHub Copilot Resources, More

    Unsurprisingly, GitHub Copilot resources are front-and-center in Microsoft's new Visual Studio Hub, a one-stop-shop for all things concerning your favorite IDE.

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

Subscribe on YouTube