Microsoft & Co: New tool JLCA converts Java to C#

Microsoft & Co have made a new tool:
"Java Language Conversion Assistant" (JLCA) converts Java / J2EE to C# / .NET.
http://www.artinsoft.com/en/home/menu2.asp
What do say to this?

From Artisan website:
"... the [Java] code with no correspondence on .NET has to be rewritten in order to reach �Functional Equivalence� with respect to the original application. The Functional Equivalence generates the same functionality as the original application, but with the added advantage of being on .NET."
Well, it looks like a source code translation, but far away from something automatic. But who wants this? Probably people that don't know Java and come from VB world, trying to stole code. Who would buy this? Well, now it comes with C# distribution then it's free, but I am sure it would be attractive to those people that buy methodologies, case tools and so. People that don't trust on their programmers or didn't get good ones. Who cares... :)

Similar Messages

  • Microsoft's tool to convert java to C#?

    I was told a couple weeks ago that there was supposively some kind of tool to convert java source into C#. C# being so similar to Java, I figured it was likely true, but I haven't been able to find this translator anywhere. Does any one know where I can download this tool?
    -Jason Thomas.

    hi,
    if you do find the site, do post the link, as of what i read in some article online, i think micosoft's support to java is only uptil jdk1.1.8, will the tool help convert later version code to c#, i think msdn.microsoft.com should also help. As pointed out gotdotnet does have some stuff on .net, but again there is a lot of hype and lies too...
    cheerz
    ynkrish

  • Tool For converting java code to UML

    Hi,
    Does anyone know any FREE tool to convert Java application to corresponding UML ..
    --jj                                                                                                                                                                                           

    Hi,
    Thanks for the options ... what about the printing options
    --jj                                                                                                                                                                                           

  • Any tools for converting java class to xml schema ?

    Hi,
    Are there any tools out there that can convert my java class to xml schema. How such tools take care of java collections like HashTable, ArrayList etc. in my class structure. I am not interested in writing any configuration files(like jaxb configuration files, jibx binding xml files etc.) for serving this purpose and the can be able to give me xml schema from the java classes. Please suggest ...
    I am not sure even JAXB 2.0 allows me to do this without writing any jaxb configuration files or annotations in my java class which is not there in JDK 1.4.2
    Thanks & Regards,
    Kr.

    Hi,
    You can convert the EDI file to XML in any of the ways
    1) Using third party seeburger adapters
    2) Conversion agent
    3) Stylus studio.
    I think using java code it will be very difficult.
    Thnx
    Chirag

  • Ant tools: converter java card -  class file  not belonging to the package!

    Hi
    I have another problem with converter. Could you help me please again if you have the time?
    I have created a directory when I save the class files generated by javac. After That , I use convert in this way:
    <convert
    JCA="true"
    EXP="true"
    CAP="true"
    packagename="testUn/classes/testUn"
    packageaid="0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x02:0x00"
    majorminorversion="1.0"
    verbose = "true">
    <AppletNameAID
    appletname="testUn.classes.testUn.PorteAppUn"
    aid="0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x02:0x00:0x00"/>
    <classpath refid="classpath"/>
    </convert>
    Here is the answer of the computer:
    [echo] Generation of the CAP,JCA and EXP files...
    [convert] Java Card Ant Tasks, Version 1.0
    [convert] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    [convert] Note: Usage of Java Card Ant Tasks is optional. Java Card Ant Tasks are not supported by Sun Microsystems, Inc.
    [convert] Java Card 2.2.2 Class File Converter, Version 1.3
    [convert] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    [convert] parsing /home/ehoudart/app-manager/VersionZero/src/testUn/classes/testUn/PorteAppUn.class
    [convert] converting testUn.PorteAppUn
    [*convert] error: class PorteAppUn does not belong to package testUn.classes.testUn.*
    [convert] conversion completed with 1 errors and 0 warnings.
    I do not understand why this unique applet class file does not belong to its own package. Is someone an idea?
    Thanks very much in advance for your answer.

    Here is a complete example build.xml (I think I have posted this before).
    <?xml version="1.0" encoding="UTF-8" ?>
    <project default="convert" name="javacard-starter">
      <!-- Build specific properties -->
      <property name="target.classes" location="${basedir}/target/classes" />
      <property name="target.javacard" location="${basedir}/target/javacard" />
      <property name="source.java" location="${basedir}/src/main/java" />
      <!-- Must point to the folder containing the JAR files from the JCDK -->
      <property name="javacard.libs" location="${basedir}/lib" />
      <!-- Must point to the folder containing the JAR file from the JCDK ant task -->
      <property name="javacard.ant-task" location="${basedir}/lib" />
      <!-- Must point to the folder containing the API export files from the JCDK -->
      <property name="javacard.export" location="${basedir}/src/main/export" />
      <property name="verbose" value="true" />
      <property name="noverify" value="false" />
      <!-- Path for JC tasks -->
      <path id="classpath">
        <fileset dir="${javacard.ant-task}">
          <include name="*.jar" />
        </fileset>
        <fileset dir="${javacard.libs}">
          <include name="*.jar" />
        </fileset>
      </path>
      <!-- set the export path to the Java Card export files -->
      <path id="export" description="set the export file path">
        <fileset dir="${javacard.export}">
          <include name="**/*.exp" />
        </fileset>
        <pathelement path="${javacard.export}" />
        <pathelement path="${target.classes}" />
        <pathelement path="${target.javacard}" />
      </path>
      <!-- Definitions for tasks for Java Card tools -->
      <taskdef name="capgen" classname="com.sun.javacard.ant.tasks.CapgenTask" classpathref="classpath" />
      <taskdef name="deploycap" classname="com.sun.javacard.ant.tasks.DeployCapTask" classpathref="classpath" />
      <taskdef name="convert" classname="com.sun.javacard.ant.tasks.ConverterTask" classpathref="classpath" />
      <taskdef name="verifyexport" classname="com.sun.javacard.ant.tasks.VerifyExpTask" classpathref="classpath" />
      <taskdef name="verifycap" classname="com.sun.javacard.ant.tasks.VerifyCapTask" classpathref="classpath" />
      <taskdef name="verifyrevision" classname="com.sun.javacard.ant.tasks.VerifyRevTask" classpathref="classpath" />
      <typedef name="appletnameaid" classname="com.sun.javacard.ant.types.AppletNameAID" classpathref="classpath" />
      <typedef name="jcainputfile" classname="com.sun.javacard.ant.types.JCAInputFile" classpathref="classpath" />
      <target name="init">
        <mkdir dir="${target.classes}" />
        <mkdir dir="${target.javacard}" />
      </target>
      <target name="clean">
        <delete dir="${target.classes}" />
        <delete dir="${target.javacard}" />
        <delete dir="${javacard.eeprom}" />
      </target>
      <target name="compile" depends="init" description="Compile source code to class files">
        <!-- Compile the java code from ${src} to ${classes} -->
        <javac debug="yes" optimize="no" srcdir="${source.java}" destdir="${target.classes}" source="1.5" target="1.5">
          <classpath refid="classpath" />
        </javac>
      </target>
      <target name="convert" depends="compile" description="Convert class files to cap files">
              <convert packagename="chaining" packageaid="0xF0:0x00:0x00:0x01:0x00:0x01" majorminorversion="1.0" classdir="${target.classes}" outputdirectory="${target.classes}" jca="true" exp="true" cap="true" debug="true" verbose="${verbose}" noverify="${noverify}">
                   <appletnameaid aid="0xF0:0x00:0x00:0x01:0x00:0x01:0x00:0x01" appletname="chaining.ChainingApplet" />
                   <exportpath refid="export" />
                   <classpath refid="classpath" />
              </convert>
      </target>
      <target name="copy-debug">
        <mkdir dir="${target.debug}" />
        <echo>Copying cap files</echo>
        <copy flatten="true" todir="${target.debug}" verbose="true">
          <fileset dir="${target.classes}" includes="**/*.cap" />
          <fileset dir="${target.classes}" includes="**/*.exp" />
          <fileset dir="${target.classes}" includes="**/*.jca" />
        </copy>
      </target>
      <target name="all" depends="clean, convert" />
    </project>

  • Ant tools: converter java card

    Hi,
    I have already a problem with the ant tools for java card.
    I build a build.xml file which has for aim to generate the CAP,EXP, JCA and the *.script files before downloading them on cref.
    I have a problem with the command converter. Here you can find my code:
    <!--generation of the JCA,EXP and CAP file-->
              <echo message = "Generation of the CAP,JCA and EXP files..."     />
              <convert
                   JCA="true"
                   EXP="true"
                   CAP="true"
                   packagename="versionZero"
                   packageaid="0xB0:0x02:0x03:0x04:0x05:0x06:0x07:0x08:0x09:0x00"
                   majorminorversion="1.0"
                   verbose = "true">               
                   <AppletNameAID
                        appletname="versionZero.VersionZero"
                        aid="0xB0:0x02:0x03:0x04:0x05:0x06:0x07:0x08:0x09:0x00:0x00"/>
                   <classpath refid="classpath"/>
              </convert>
         My problem is the following: the command converter say mys package is empty and it is not the case: it contains all the *.java file.
    Must I compile the files with javac before using the convert command or it is another problem?
    Here is the trace of my build.xml file:
    Buildfile: /home/ehoudart/app-manager/VersionZero/src/build.xml
    testinit:
    [echo] Deleting the old generated files...
    [echo] Generation of the CAP,JCA and EXP files...
    [convert] Java Card Ant Tasks, Version 1.0
    [convert] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    [convert] Note: Usage of Java Card Ant Tasks is optional. Java Card Ant Tasks are not supported by Sun Microsystems, Inc.
    [convert] Java Card 2.2.2 Class File Converter, Version 1.3
    [convert] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    [convert] error: versionZero: empty package.
    [convert] conversion completed with 1 errors and 0 warnings.
    BUILD FAILED
    /home/ehoudart/app-manager/VersionZero/src/build.xml:115: Conversion failed
    Total time: 384 milliseconds
    Thanks in advance for your answer.

    Hi,
    Please use &#123;code} tags for posting code etc.
    <!--generation of the JCA,EXP and CAP file-->
              <echo message = "Generation of the CAP,JCA and EXP files..."     />
              <convert
                   JCA="true"
                   EXP="true"
                   CAP="true"
                   packagename="versionZero"
                   packageaid="0xB0:0x02:0x03:0x04:0x05:0x06:0x07:0x08:0x09:0x00"
                   majorminorversion="1.0"
                   verbose = "true">               
                   <AppletNameAID
                        appletname="versionZero.VersionZero"
                        aid="0xB0:0x02:0x03:0x04:0x05:0x06:0x07:0x08:0x09:0x00:0x00"/>
                   <classpath refid="classpath"/>
              </convert>
         My problem is the following: the command converter say mys package is empty and it is not the case: it contains all the *.java file.
    Must I compile the files with javac before using the convert command or it is another problem?That is correct. You can make your convert task depend on a compile task for this.
    Cheers,
    Shane

  • Converting Java class file to .dll

    Dear all,
    Is there any way to convert a Java class file to a .dll file?
    (Background being that there is a software that only allows callouts to DLLs and the method I have developed is in Java so need to convert it to a .dll)
    Any insight/advice/pointers are most appreciated.
    Thanks much,
    David

    Hi there,
    Yes you can convert a Java Class to DLL file using Microsoft Visual J#.NET (Installation required Visual Studio.NET) you can download it from the microsoft site.
    www.microsoft.com/downloads
    then go for search below in combo box(Visual J#.NET). After installation open new project select class library. write your java code(not fully supported j2se). build your application. All the Java Code is embeded in dll. Found at e.g. C:/JavaToDll/bin/debug/JavaToDll.dll This is a way to convert Java Code to a dll. frankly speaking i do not like .NET (copy of Java Technology must be baned completely).
    Thanks
    Please correct if i am wrong.
    Yahya Kamran (Software Engineer)

  • Please, tool for automatic java source conversion?

    Hi,
    Apart from Sun's jilkit, do you know a software a software that could take the
    first java source below as input and automatically produce:
         1) a converted java source file similar to the second file below;
         2) resource files (e.g. mess.properties, mess_es_MX.properties, mess_fr_CA.properties) .
    We know that Sun's jilkit does this but we tried it and it is buggy and
    Sun no more supports it.
    // INPUT FILE
    import java.util.*;
    public class Test
    public static void main(String args[])
    System.out.println("Hello world!");
    System.out.println("You must Walk from " + args[0] + " to " + args[1] + "Km");
    // OUTPUT FILE, we want this done automatically
    import java.util.*;
    public class Test
    public static ResourceBundle resourceBundle = ResourceBundle.getBundle("messages");
    public static void main(String args[])
    System.out.println(resourceBundle.getString("Hello world!"));
    System.out.println(
    java.text.MessageFormat.format(
    resourceBundle.getString("Walk from {0} to {1}Km"),
    new String[]{"" + args[0], "" + args[1]}
    }

    The javadoc tool has no such capability. I believe some IDEs have
    this, but don't know which ones. You could also look at these places:
    http://java.sun.com/j2se/javadoc/faq/#docletsfromthirdparties
    http://doclet.com
    If you find a good tool, you might mention it here for others.
    cheers,
    -Doug

  • What are the best tools for converting .shg files to HTML image maps?

    After trying several different ways to import our WinHelp
    project into RH HTML, I'm left with recreating the project in HTML.
    There are over 200 .shg files. What's the best tool for converting
    them? Is there a free program that converts them? Or is there a
    better way?
    Lacona

    Yes, I have not been able to import the .hlp file, which was
    my last posted question/issue. I have tried creating a Microsoft
    HTML layout in RH4 Word; it begins to compile and, somewhere in the
    process, just freezes. I've tried importing the .hlp file into RH
    HTML; same result. I've tried creating a new HTML project with the
    .hlp file; same result. If I could import the file, it'd be great.
    Otherwise, I'll need to recreate the entire project, which brings
    me to converting the .shg files. Any ideas?

  • Converting Java.util date to XML date in format YYYY-MMM-dd

    I'm using below code to convert java.util.date to XML date
    public static XMLGregorianCalendar toXMLDate(Date dte) {
       try {
       // this may throw DatatypeConfigurationException
       DatatypeFactory datatypeFactory = DatatypeFactory.newInstance();
       GregorianCalendar calendar = new GregorianCalendar();
       // reset all fields
      calendar.clear();
       Calendar parsedCalendar = Calendar.getInstance();
      parsedCalendar.setTime(dte);
      calendar.set( parsedCalendar.get(Calendar.YEAR ),
      parsedCalendar.get(Calendar.MONTH),
      parsedCalendar.get(Calendar.DATE ));
       XMLGregorianCalendar xmlCalendar = datatypeFactory.newXMLGregorianCalendar( calendar );
      xmlCalendar.setTimezone( DatatypeConstants.FIELD_UNDEFINED );
      xmlCalendar.setFractionalSecond( null );
       return xmlCalendar;
    I need to get the date in the format YYYY-MMM-dd, but it returns in a format YYYY-MM-dd. Can anyone tell me how can i change the format? Thanks

    >
    The snippet of ApplicationClient where the assignment took place and the syntax occurred were:
    1. DateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
    2. DateFormat timeFormat = new SimpleDateFormat("HH:mm:ss");
    3. Date date = new Date();
    4. CustomerDetail customerDetail = new CustomerDetail();
    5. customerDetail.setCollectionDate(dateFormat.format(date)); //got the above syntax error
    6. customerDetail.setCollectionTime(timeFormat.format(date)); //got the above syntax error
    .....I am running JDK 1.6.0_10, Glassfish v2r2, MySQL 5.0, Netbeans 6.1 on Windows XP platform.The format method returns a String not a Date. Why not just store the Date as is without formatting, and format it when you want to retrieve it from the DB and display it?
    m

  • Convert java code into UML

    hello,
    anybody knows a software convert java code into UML? Classes Diagram.
    for example JBuilder do that.
    // i use Netbeans.

    its not a speed issue although sometimes it can be painfully slow (but now slower that sun one). I constantly found myself getting into infinite error message loops (e.g. "incorrect input"... click ok... "incorrect input"... errr click ok.... "incorrec..." etc etc), and also it (relatively) regularly falls over. I tried to export diagrams as GIFs, and when I imported them into Word they looked ok, but when I printed them they printed negative!! I used about 100g of toner before I realised, and had to go thru all diagrams changing them to JPGs. Plus, I think the interface for 6 is a lot less intuitive than 4.2, and it's trying to be too feature rich. Personally I would never use it as a code editor as it's too big and lumbering. For me, it's a diagramming tool, but it doesn't even put pretty pictures as nodes on deployment diagrams!! I want pictures of workstations, PDAs and databases!! Only kidding...

  • How to use Borland JBuilder9 to convert Java into C?

    Hi there!
    I know this topic has been discussed since the beginning of time, but I would like to compile a Windows executable (.exe). I have tried all possible tools (e.g. exe4j, JET etc.) to do so, but they all do require a JVM at some level. I heard that Borland JBuilder 9 has the capability to convert Java into C code and then compile it directly. Has anybody done that before? And if so, how does it work? I have been playing around with JBuilder, but have not been able to find an option to do so.

    I know this topic has been discussed since the
    beginning of time, but I would like to compile a
    Windows executable (.exe). I have tried all possible
    tools (e.g. exe4j, JET etc.) to do so, but they all do
    require a JVM at some level. I heard that Borland
    JBuilder 9 has the capability to convert Java into C
    code and then compile it directly. Has anybody done
    that before? And if so, how does it work? I have been
    playing around with JBuilder, but have not been able
    to find an option to do so. You need a version more than the personal. It costs!
    Once you've created a project and written your code, just go to wizards/NativeExecutableBuilder menu.
    Configure few stupid things. It's done. Compile it.

  • Microsoft Pro Photo Tools 2 Includes Support For XMP Sidcar Files

    http://www.microsoft.com/prophoto/downloads/tools.aspx
    This is a link to Microsoft's new Pro Photo Tools 2, which includes reading and writing to XMP sidecar files. I don't know how well it works.

    Have you looked at Jeffrey Friedl's cross platform tool? http://regex.info/blog/lightroom-goodies/gps and http://regex.info/blog/2008-10-29/979
    This works inside Lightroom, understands track log files, works with manual tagging from google maps and much more.

  • Run Microsoft Fix It tool from the cmd line?

    I have a rampant issue across the network I manage where Java installations have been corrupted. The only way that I can seem to remove the corrupted installation is to run the Microsoft
    Fix It tool.
    Since it's somewhat impractical to do this manually for 200+ workstations, is there a way do remove Java 7 update 9, 7 update 10, and 7 update 11 from the command line using the fix it tool?

    The likely problem is that your path is targeting the wrong version of java.
    Try the following first (I'm assuming a Windows installation):
    Navigate to your %PROGRAMFILES%\Java folder
    You may see multiple installations of Java - look for the most recent update (assuming the install had no errors)
    Launch a command prompt within your %PROGRAMFILES%\Java folder and then change to the relevant java version and retry your commands from the bin folder using the full path to your java file(s). If it works then we have found the culprit.
    You now need to edit your environment variables to point to the correct path.
    Go to your environmental variables, and edit the PATH (CLASSPATH if necessary), changing
    On 32 bit Windows
    "C:\Program Files\Java\jdkINCORRECTJAVAVERSION\bin\" to
    " C:\Program Files\Java\CORRECTJAVAVERSION\bin\"
    On 64 bit Windows
    "C:\Program Files (x86)\Java\jdkINCORRECTJAVAVERSION\bin\" to
    "C:\Program Files (x86)\Java\CORRECTJAVAVERSION\bin\"
    love is rock!!!
    That's a different issue entirely.
    The problem is that during an upgrade of Java, the installation of java appears to get corrupted on about 1/3 of of all workstations. After that, Java doesn't work, the control panel icon throws an error if you try using it, and installation/upgrades/uninstallations
    are impossible without using the Fix It tool.

  • Please tell me some conversion tools to generate java help

    hello,
    I am doing some project of migration, and I need some tools to convert from windows help file (chm) to java help file.
    Anyone has some experience of that?
    If not possible, what's the fastest way to do the conversion?
    Thanks

    Hello,
    You don't mention what format the source files are in, so I'm assuming that you only have access to the actual .chm files and not whatever those were created from. Given that, you'll need a tool that is capable of backward converting Help output into some source format, and then converting that to JavaHelp. I don't know of anything that would convert directly from .chm to JavaHelp.
    I believe that RoboHelp is capable of taking Window Help output and converting it backwards to source, and it is also supports JavaHelp, so this would be one tool to investigate.
    HelpBreeze is another tool that supports both formats and is also a lot cheaper that RoboHelp.
    I apologize for not having first-hand experience with either of these. We currently use a CMS tool, AuthorIT, to single source publish to JavaHelp and other outputs.

Maybe you are looking for

  • Book List link on OEM License doc is broken

    For all pages in Oracle® Enterprise Manager Licensing Information / 12c Release 1 (12.1) / Part Number E24474-07, the link at the top of the page listed as 'Book List' returns a 404 http://docs.oracle.com/cd/E24628_01/license.121/e24474/toc.htm

  • Microsoft RDC not working on 10.6 but does on earlier versions (And PC!!)- Help!

    I need to access a web-based windows application which needs to be accessed through microsoft remote Desktop connection. This works on two other family Macs which are Leopards (I am Snow Leopard). I am unable to get this to work and a message from RD

  • Installing forms 6i with 8i enterprise edition

    First of all, I'm a beginner just trying to learn all I can about Oracle. I downloaded 8i enterprise edition and forms 6i from the OTN. I installed 8i with no problems and have been running it just fine. I decided to install forms 6i but when I did i

  • Xerox n17: any way to use it under Snow Leopard

    Hi all, After Snow Leopard install my trusty Xerox n17 laser printer is no longer recognized, even after re-installing the "current" driver from the Xerox driver page. The n17 is not listed as a supported printer in Apple's tech note on printers unde

  • How to sort pdf pages

    I have a pdf document. How can I re-sort pages? Thank you, David