java to .net conversion

Lokesh Karyamapudi 0 Reputation points
2024-11-06T18:34:29.4833333+00:00

I am a java developer and I am looking for tool to convert a java project to .net.

since I would not like to spend for a resource to redevelop on .net. since there is a constant development is going in java. If a conversion can help keep the catchup on the .net changes side of the code.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,917 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiale Xue - MSFT 46,456 Reputation points Microsoft Vendor
    2024-11-07T07:02:37.7266667+00:00

    Hi @Lokesh Karyamapudi , Welcome to Microsoft Q&A,

    Microsoft currently does not provide new tools to convert Java projects to the latest .NET versions (such as .NET Core or .NET 5+).

    Microsoft once released a tool called Java Language Conversion Assistant (JLCA), which may provide you with some help.

    If your Java project is under continuous development, you can consider gradually migrating some modules to .NET or developing cross-platform functions. In this way, the original Java project can continue to be developed, and at the same time, cross-platform compatibility can be achieved by creating an interoperable interface with .NET, making it convenient to call methods between Java and .NET applications.

    Microsoft currently supports API interface interoperability between .NET and Java. You can use API gateways (such as Azure API Management) to expose Java APIs, and then call them in .NET applications through HTTP or Web API. This is a loosely coupled approach that allows you to continue developing Java projects while reusing some Java functionality in .NET projects.

    Best Regards,

    Jiale


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.