.NET to Java conversion tool

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vinoth Jaguva
    New Member
    • Dec 2007
    • 2

    .NET to Java conversion tool

    Any one can tell of a .NET to JavaScript conversion tool
    Last edited by Frinavale; May 25 '12, 01:48 PM.
  • chaarmann
    Recognized Expert Contributor
    • Nov 2007
    • 785

    #2
    Originally posted by Vinoth Jaguva
    URGENT! Any one can tell .NET to Java conversion tool
    It seems you don't know what you are asking for.
    ".NET" is a brand label. Regarding well known programming languages under this brand label, there is Microsoft Visual C++, Visual Basic, C#, and much more. So you must specify which language you want to convert into Java.
    Then you need a conversion tool for this language itself and most likely also for the library the program is using (e.g. converting MFC functions to JDK).

    My experience is that rewriting the software from scratch is much faster than using any conversion tools (and debugging if something does not run because of platform-dependent issues etc.).

    Comment

    • Vinoth Jaguva
      New Member
      • Dec 2007
      • 2

      #3
      Originally posted by chaarmann
      It seems you don't know what you are asking for.
      ".NET" is a brand label. Regarding well known programming languages under this brand label, there is Microsoft Visual C++, Visual Basic, C#, and much more. So you must specify which language you want to convert into Java.
      Then you need a conversion tool for this language itself and most likely also for the library the program is using (e.g. converting MFC functions to JDK).

      My experience is that rewriting the software from scratch is much faster than using any conversion tools (and debugging if something does not run because of platform-dependent issues etc.).
      Hi

      The .NET is VB DOT NET, I have one program that needs to convert to JAVASCRIPT.

      Any software there for convert VB DOT NET to JAVA.

      Comment

      • BigDaddyLH
        Recognized Expert Top Contributor
        • Dec 2007
        • 1216

        #4
        Originally posted by Vinoth Jaguva
        The .NET is VB DOT NET, I have one program that needs to convert to JAVASCRIPT.

        Any software there for convert VB DOT NET to JAVA.
        I'm confused. You write that you have some VB.NET code. Do you want to convert it to Java, or to JavaScript? They are unrelated languages.

        I have to repeat what was said before. It's almost always better to start from scratch and just rewrite the code, rather than try to use some translating tool, which usually doesn't do a good job. If there are any design documents for the code, they may prove useful, however.

        How much .NET code is there?

        Comment

        • Tom Beard

          #5
          BigDaddy, you are mistaken.

          The conversion tools out today are far faster than rewriting from scratch.

          I do not know if there is one to convert JAVA or JAVASCRIPT to ANY of the .net languages.
          Last edited by Frinavale; Oct 25 '10, 08:23 PM. Reason: Removed flaming remarks towards a member of this forum.

          Comment

          • Frinavale
            Recognized Expert Expert
            • Oct 2006
            • 9749

            #6
            Well, converting a VB.NET application into JavaScript sounds absurd. Unless it's something really simple like "Hello World".

            There is a place for VB.NET implementation and a place for JavaScript implementation. Sometimes ASP.NET applications implemented with VB.NET (or C#) actually produce JavaScript to help control things client side. However, JavaScript is limited and so the web page is required to post back to the server in order to execute VB.NET code (for things like interacting with a database etc.)

            I'm not sure how feasible converting a VB.NET application into JavaScript would be.

            I'm sure that there are conversion tools out there that will help to convert between VB.NET and Java (please not that there is a BIG Difference between JavaScript and Java!!!) I'm just not aware of them because I've had no need to do this.

            And I must express caution when it comes to using conversion tools. As BigDaddyLH has mentioned, while there are a lot of good tools out there that will aid in this process it does not necessarily mean that they will produce good, maintainable, code!

            Rewriting an application may not be feasible though... If you choose to use a conversion tool, make sure that you do your research thoroughly before deciding on one. Sometimes they take short-cuts which result in a process that takes longer than a re-write.



            As for .NET being a "brand"...

            I'm not sure I agree with that statement completely. I would have said that .NET is a huge library of resources that developers can use to implement applications. It is very powerful and I encourage you to check out what .NET really is because it's pretty cool :)

            That's not to say that Java isn't cool (especially because it can operate cross platform...in other words...it can operate on many different operating systems)!
            I like Java too!
            But .NET is MUCH bigger than Java is.



            -Frinny
            Last edited by Frinavale; Oct 25 '10, 08:38 PM.

            Comment

            • ozman khawaja
              New Member
              • Dec 2011
              • 1

              #7
              Try C# to Java Conversion Cloud App. IT is a free tool and no need to download or install it just upload your code and it will be converted to java instantly.

              Comment

              Working...