Delphi to Java conversion

Hello,
Are there any products that convert Delphi to Java? I am looking to port a Delphi application to Java swing (JFrame, etc) and wonder if there is something out there. I found some for VB to Java and Access to Java. I did see a link for something called Delphi2J, but the link was dead.
Thanks
Mike

corrently i am doing delphi2 java conversion. In my first stage i am converting the delphi UI 2 Java UI(swing). can anybody help me with some mapping standards like ..TEdit of delphi will b changed in java as JTextField...and have to maintain the propar size also..so need the exact pixel size mapping ..etc. In Delphi we create a report by using QuickReport ..is there anything same in Swing as i hav to get the exact UI layout.One problem i have faced in delphi form any picture reference is stored as picture data instade of link..so i hav to get the image from that data in java.how can i get this?
thanks
gantait

Similar Messages

  • How to use .dll compiled in Delphi in Java?

    Can anyone provide me information how to use .dll compiled in Delphi in Java? The .dll Delphi program may be non-OOP program.

    Hi
    If You want to write anything in PASCAL then simply write JNI code in C++ and call functions from this DELPHI DLL, but remember about changing the order of parameters etc when You call it. I had exactly the same problem, but it is possible, and we succeed.
    You will need exact description of input parameters required by PASCAL functions and of output parameters. Then construct in C++ objects wchich looks in memory exacly the same as they will look if You will be using PASCAL. Then PASCAL function will interprete this area in memory as known structure and will run.
    Maciek

  • Java conversion for xkwert like komv-kwert ABAP filed

    Hi all,
    I am in process of converting the ABAP routines present in ECC into user exists in CRM.
    I am stuck up at a point wherein i am unable to find the java conversion for xkwert like komv-kwert abap field. If anyone has an idea on what exactly is the java conversion for the above field then please reply.
    Thanks In Advance,
    Vipin.

    vipin,
    I think this is condition value(komv-kwert ) , to get the condition value you can use the following method in java.
    pricingConditon.getConditionValue().
    Thanks and Regards
    shanto aloor

  • Installation of oracle 10 broke java conversions

    I have been using some java conversion .bats for a while until I installed Oracle 10. Now they will not work. My OS is XP pro. Any help would be appreciated

    Hi again,
    assumption proven ;-)
    full details from Oracle below
    HTH,
    Peter
    Applies to: Oracle Server - Enterprise Edition - Version: 10.2.0.1
    SymptomsWhile installing Oracle10gR2 on a Solaris 10 x86-64 server, Oracle Universal Installer (OUI) reports the following errors while checking the kernel parameters:
    shmsys:shminfo_shmmax=4294967295 found no entry . Failed <<
    shmsys:shminfo_shmmni=100 found no entry . Failed <<
    shmsys:shminfo_semmni=100 found no entry . Failed <<
    shmsys:shminfo_semmsl=256 found no entry . Failed <<
    The overall results of this check is Failed.
    The kernel parameters do not meet the minimum requirements
    CauseOUI is looking at /etc/system to check the kernel parameter settings, but this file is not used (by default) in Solaris 10
    OUI should check the kernel parameter settings using the resource control utility ( /bin/prctl )
    SolutionTo implement the solution, please execute one the following steps:
    1. Verify that the kernel parameter settings are correct using the resource control utility ( /bin/prctl ) and then start OUI like this:
    ./runInstaller -ignoreSysPrereqs
    OR
    2. Include the recommended kernel parameter settings in the /etc/system file and start OUI as normal:
    ./runInstaller

  • Calling a procedure from java, conversion from bigdecimal to number(13,3)

    Hello
    i have a procedure that i call from a java api
    among the parameter that i give to the procedure there is a bigdecimal parameter
    then i have to insert this value in a table
    the colum concerned has number(13.3) as a type
    here is the java call :
    ps.setBigDecimal(5,value );
    so what type should i declare for the procedure parameter for the bigdecimal parameter
    and is there a conversion to do
    Regards
    Sallemel

    Data types are defined by the data not a column definition. What are the range of values possible in the data that must be manipulated. Give examples.

  • Transfer a Jpeg From Delphi to Java via JNI?

    Hi Guys,
    I am currently working on a project in which I have Windows DLL code that takes a screen capture (I'm using Delphi to write this). The result of this capture is stored as a TJpegImage. I have my Delphi code hooked to Java code (which the main program is written in) via JNI. I am trynig to transfer the Jpeg in a format in which Java can easily take it and make a BufferedImage out of it. How can I go about this? I have a few ideas, but I want to do it in the most efficient way possible. If someone knows how to do this, can they please share the solution with me?
    Thanks,
    -Tony

    whome0,
    Yes, thanks, that's exactly what I've been using. Basically, I'm at the point now where I know how to transfer the bytes, but for some reason, when I do this on the Java end:
    ByteArrayInputStream input = new ByteArrayInputStream( byteArr );
    JPEGImageDecoder decoder = JPEGCodec.createJPEGDecoder( input );
    BufferedImage bi = decoder.decodeAsBufferedImage();
    I get this error:
    com.sun.image.codec.jpeg.ImageFormatException: Not a JPEG file: starts with 0x60 0x23
    at sun.awt.image.codec.JPEGImageDecoderImpl.readJPEGStream(Native Method)
    at sun.awt.image.codec.JPEGImageDecoderImpl.decodeAsBufferedImage(Unknown Source)
    at com.sun.media.protocol.screen.LiveStream.read(LiveStream.java:166)
    at com.sun.media.parser.RawBufferParser$FrameTrack.transferData(RawBufferParser.java:725)
    at com.sun.media.protocol.screen.LiveStream.run(LiveStream.java:235)
    at java.lang.Thread.run(Unknown Source)
    I am baffled at this point, because I do a byte count before I send from my Delphi code, and a byte count on the Java receiving end, and they are identical. Looking at other JPGs I have on my hard drive, they begin in the same manner that this file does. So I'm not sure what's going on here.
    -Tony

  • Forms to Java conversion

    Hello Gurus,
    i have Oracle / Developer 2000 Forms in binary(fmb) and executable(fmx) format , i need them to convert them into Java, is there any tool or conversion method so that i can use as a java program.
    Please help me in this regard
    Thanks
    Qavi

    It might also be useful to understand your reasons behind this. We don't specifically advocate migration of Forms to Java but there are some cases where it is required and in this case there are some partners. Read
    http://www.oracle.com/technology/products/forms/htdocs/10g/FormsJavaSOD.html
    Regards
    Grant Ronald
    Forms Product Management

  • Delphi vs Java & n-tier development?

    Hello all,
    Help! I am working for a company which has begun a large development project... what i was wondering is there has been talk of using:
    a) delphi & corba (seems to be heading this way)
    b) java & _______
    what would be the advantages of coding in java vs coding in delphi?
    (We have 4 companies & the application would need to be able to handle incoming orders from the other sister companies - hence the need for the corba? would java need to use corba?)
    thank you all.
    M.

    Java can use Corba, RMI, ...
    but i think you need EJB, delphi has nothing to do against that.

  • Python to Java Conversion

    I am looking to convert Python (.py) web server files to Java. Does anyone know of a conversion method, beside rewriting?

    I have heard there is a tool to compile Python code to Java bytecode, but I don't know any more than that. If there is such a tool, you would not have to rewrite the Python code as Java code, but simply compile it to Java bytecode.

  • Pricing : ABAP to Java conversion help needed

    Hi all.
    I am basically an ABAP developer. My recent assignment needs some java coding.
    It will be very helpful if we anybody helps me in finding the corresponding pricing fields in java.
    The abap code is as follows
    check : xkomv - kgrpe  = '  '.
    check: xkomv - xkbetr ne 0.
    check : komp - kpein ne 0.
    if komp - netwr < 0.
      komp - netpr = 0 - komp - netpr.
    endif.
    xkwert  = (        (  ( komp - netpr * ( 100000 + xkomv - xkbetr))     / 100000)
    komp-mglme / komp-kumza * komp - kumne / 1000 / komp - kpein )
      - komp-netwr.
    Please help in converting this abap code to its corresponding java code.
    Thanks and Regards
    Deepika

    Here is the code I have developed: Please check and let me know if there are any changes
    import java.math.BigDecimal;
    import com.sap.spe.pricing.customizing.PricingCustomizingConstants;
    import com.sap.spe.pricing.transactiondata.PricingTransactiondataConstants;
    import com.sap.spe.pricing.transactiondata.userexit.IPricingConditionUserExit;
    import com.sap.spe.pricing.transactiondata.userexit.IPricingItemUserExit;
    import com.sap.spe.pricing.transactiondata.userexit.ValueFormulaAdapter;
    public class ZS2S_IPC_ZDCP extends ValueFormulaAdapter {
          public BigDecimal overwriteConditionValue(
                IPricingItemUserExit item,
                IPricingConditionUserExit condition) {
                BigDecimal kompKumza = new BigDecimal(String.valueOf(condition.getFraction().getNumerator()));
                BigDecimal kompKumne = new BigDecimal(String.valueOf(condition.getFraction().getDenominator()));
                boolean xkomvKgrpe = condition.isGroupCondition();
                BigDecimal kompKpein = condition.getPricingUnit().getValue();    
                BigDecimal kompNetwr  = item.getNetValue().getValue();
                BigDecimal kompNetpr  = item.getNetPrice().getValue();
                BigDecimal xkomvKbetr = condition.getConditionRate().getValue();
                BigDecimal kompMglme = item.getBaseQuantity().getValue();
                  if ( xkomvKgrpe = true )
                      return PricingTransactiondataConstants.ZERO;
                  if ( kompKumza != PricingTransactiondataConstants.ZERO )
                    return PricingTransactiondataConstants.ZERO;
                if ( kompKumne != PricingTransactiondataConstants.ZERO )
                      return PricingTransactiondataConstants.ZERO;   
                if ( kompKpein != PricingTransactiondataConstants.ZERO )
                        return PricingTransactiondataConstants.ZERO;
                if (kompNetwr.compareTo(PricingTransactiondataConstants.ZERO) < 0 )
                      kompNetpr = (PricingTransactiondataConstants.ZERO).subtract(kompNetwr);
                 BigDecimal y = new BigDecimal("100000");
                BigDecimal a = y.add(xkomvKbetr);
                BigDecimal temp = kompNetpr.multiply(a);
                BigDecimal result1 = temp.divide(y, 2, BigDecimal.ROUND_HALF_UP);
                BigDecimal result2 = result1.multiply(kompMglme)
                                         .divide(kompKumza, 2 BigDecimal.ROUND_HALF_UP).multiply(kompKumne).divide(kompKpein, 2,  BigDecimal.ROUND_HALF_UP);
                BigDecimal Result = result2.subtract(kompNetwr);
              return Result;
    Edited by: Deepika Mallya on Aug 6, 2009 9:08 AM

  • Web service XML-Java conversion

    Hello,
    It's said in BEA documentation that "web services tries to convert the XML
    data inside the body of the SOAP message into one of the Java data types
    listed
    in "Supported Data Type...." see link for quote source.
    Does this mean, BEA SOAP servlet does javaBean serialization/deserialization
    automaticly
    without user defining any data type mapping ?
    in Apache SOAP implementation, user has to add a mapping element to specify
    how SOAP
    server should handle custom parameters such as a java object.
    http://edocs.bea.com/wls/docs61/webServices/develop.html#1049481
    ur prompt response is most appreciated.
    thank you and regards.
    Sheldon Yang

    marekst wrote:
    webservice receives xml data as parameter or webservice use SOAP XML letter to receive data?
    if you get xml as parameter then you have to process XML to get java objects, if it is SOAP letter, then webservice has done job for you and you get set of java objects that should be persisted.
    To persist data easiest way is to use EJB 3.0 and JPA. Webservice create using EJB 3.0 is easy as well.
    to convert data in XML into java objects you can use DOM document + xPath or http://commons.apache.org/digester/ or something else, depending on size of XML doc
    No need to be muddying the waters with such a heavyweight solution at this point. The guy's a relative newbie, and also has stated that the number of messages is very small. The simple APIs suggested above are much more in order, otherwise the guy's got a massive learning curve ahead of him, for no real benefit. Besides, you've not mentioned ESBs, message routing, EIP and the like, so your buzzword-compliance score has dropped dramatically :-)

  • 9i Forms to Java Conversion

    Does anyone have any experience in the above subject ?
    Vendor supported converters, etc ?
    Thanks
    Rodney

    Hi
    Exodus , a tool that is capable of converting forms to java/j2ee .
    Check for more info on : www.ciphersoftinc.com
    hope that helps,
    sirisha

  • Urgent::Unsigned Long Requirement::Oracle Number(38) to Java conversion

    Hi,
    I have a Oracle field configured as NUMBER(38). The number in that field gets incremented sequentially and is currently around 5345232341.
    I am using callableStatement.registerOutParameter(1,java.sql.Types.INTEGER); which is working fine.
    But the problem happens when I am trying to retrieve the value and store it within my Program.
    I am using 'long' to do that but I presume I will hit a problem when the number crosses 9223372036854775807 (2^63-1). As we don't have unsigned long option in Java(unlike in C/C++), how do we achieve this? Please can somebpdy tell me the workaround.
    Currently, I am storing it as follows:
    long my_number = callableStatement.getInt(1);

    Currently, I am storing it as follows:
    long my_number = callableStatement.getInt(1);While reading the docs, you should probably also read about getInt(), because your current code is buggy.

  • WSDL to JAVA conversion problem

    Hi,
    I am facing a problem while building the Java stubs, skeletons and data files from my WSDL file using the WSDL2Java utility of Axis. It is not generating the expected number of classes. Am I having a problem 'coz my wsdl contains two namespaces ?

    it is pretty simple. if you use ant, just do this.
    The best source of information is http://ws.apache.org/axis
    <target name="wsdl2java">
    <axis-wsdl2java url="C:/Server/wsdl/Test.wsdl"
    all="true"
    serverSide="true"
    testcase="true"
    verbose="true"
    helperGen="true"
    output="C:/Server/wsdl/wsdlsrc">
    </axis-wsdl2java>
    </target>

  • WSDL to Java conversation

    I've got WSDL file. I want to produce Java sources for that WSDL.
    When I try to use WebService context menu function - I've got restriction:
    "SAP Netweaver not Apache Axis"
    How can I convert WSDL to Java skeleton ??

    Hello Christian!
    I try to use "Developer Studio 7.10" and "Developer Studio 7.10 CE".
    When I try to use DS 7.10 CE - I've got exception: "IWAB0014E Unexpected exception occured."
    [code]
    IWAB0014E Unexpected exception occured.
          java.lang.NullPointerException
          at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.getSOAPBindingAnnotation(ProxyGeneratorNew.java:2803)
          at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.genWebServiceAnnotation(ProxyGeneratorNew.java:2845)
          at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.generateSEI(ProxyGeneratorNew.java:2922)
          at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.generateInterfaces(ProxyGeneratorNew.java:1031)
          at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.generateAll(ProxyGeneratorNew.java:335)
          at com.sap.ide.es.ws.jee5.runtime.provider.internal.generator.topdown.Ejb3TopDownProviderGenerator.generateProvider(Ejb3TopDownProviderGenerator.java:260)
          at com.sap.ide.es.ws.jee5.core.provider.commands.GenerateTopDownWebService.doWork(GenerateTopDownWebService.java:28)
          at com.sap.ide.es.ws.jee5.core.provider.commands.OneShotOperation.execute(OneShotOperation.java:51)
          at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:413)
          at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:353)
          at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:251)
          at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$5.run(SimpleCommandEngineManager.java:250)
          at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
          at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
          at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:851)
          at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:220)
          at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:94)
          at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.getNextPage(WizardPageManager.java:145)
          at org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.getNextPage(SimpleWizardPage.java:136)
          at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:751)
          at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:351)
          at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
          at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
          at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
          at org.eclipse.jface.window.Window.open(Window.java:796)
          at org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard.run(DynamicPopupWizard.java:130)
          at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
          at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
          at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
          at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
          at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
          at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
          at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
          at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
          at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
          at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
          at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
          at org.eclipse.core.launcher.Main.run(Main.java:977)
          at org.eclipse.core.launcher.Main.main(Main.java:952)
    [/code]
    When I try to use simple DS 7.10 - I've got strange situation: when I try to generate Java Skeleton as you write before, I can't choose "SAP Netweaver" as server runtime - only Axis available!!
    Can you help me register "SAP Netweaver" runtime in eclipse?
    BR Dedevich Alexey
    P.S. In Eclipse preference I see "SAP Netweaver" runtime? but when I try to generate Java skeleton from wsdl - there are no any runtime's except Axis.

Maybe you are looking for

  • Purchase report of Items Having Landing Cost

    Hi Experts, I am in a urgent need of help form you experts.!!! We are involved in Import of goods. As you all know, import purchase means Purchase Order- GRPO- Landing cost now, i want the actual cost of purchase for every Item based on every transac

  • Usage of MRP Procedures in Consumption Based Planning during Implementation

    We have following procedures in CBP: 1. Reorder Point Planning- Manual and Automatic 2. Forecast based Planning 3. Time phased Planning. In SAP implementations, which of these procedure is mostly used in companies in real time. Though the CBP plannin

  • MacBook Pro and Aperture

    I Installed Aperture on my new MacBook Pro, I'm new to Apple the MacBook Pro being my first Apple computer, after installing I upgraded the software. I tried to run the application and received an error saying something to the effect of, "This applic

  • 802.1X Authentication with InTouch

    Dear Community, does anybody know if/when it's possible to use 802.1X authentication with the TelePresence InTouch 10? It perfectly works on the C/SX codecs and as long as the Panels are connected directly to the Codec, there is no issue. But on some

  • Fill in Blank Auto Numbering

    I'm creating fill in the blank questions for an online math course and I want to remove the auto numbering (1, 2, etc.) because it is confusing. Is this possible or is it possible to edit the auto numbering so the number has a period after it and loo