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

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube