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

  • Visual Studio 2026 Gives Copilot Built-In Skills -- and Makes Them Prove Their Worth

    Microsoft is moving Agent Skills beyond bring-your-own instructions by shipping expert-authored workflows with the IDE, while keeping them off by default until testing shows their benefits justify the additional token use.

  • Copilot AI Billing Shock Met with Meters, Caps and Token-Saving Tools

    GitHub is layering spending limits, expanded credit allowances and increasingly granular usage reporting onto Copilot, while Microsoft is reworking Visual Studio and VS Code to expose -- and reduce -- the cost of agentic development.

  • The AI-Powered Software Development Lifecycle

    René van Osnabrugge makes the case that AI's biggest opportunity in software development is not faster coding -- it's reducing the friction everywhere else in the SDLC.

  • Copilot Usage-Based Billing Gets a Token Dashboard

    Microsoft is keeping Visual Studio's new built-in Agent Skills switched off by default while a public dashboard measures whether their performance gains justify the additional tokens they may consume.

Subscribe on YouTube