Convert form to java without formsWizard

Hi
It's possible to reversed fmb generating spesification from oracle designer and then this spesification convert to java.
I know that form can converted to java used formsWizard but i think have another way to do this, i don't this possible or not.
Anybody have idea?
regards

georgemc wrote:
Seriously, anything that turns a class file back into source code is, by definition, a decompiler.
If you're thinking of writing your own, forget it.
This is a classic case of "if you have to ask where to start, you don't have the skills to do it". No, reallyI agree.
If PersianKamran wants to see for themselves, try [Google ( java bcel )|http://www.google.com/search?q=java+bcel]

Similar Messages

  • Convert .class to .java (without de compiler)

    folks.. i want to write my own program to convert a .class file to .java file. Now i know that there are various programs (e-g DJ Java Decompiler etc) but i want to write my own. Can you plz suggest any guide lines for that ..? how to start off? any idea?

    georgemc wrote:
    Seriously, anything that turns a class file back into source code is, by definition, a decompiler.
    If you're thinking of writing your own, forget it.
    This is a classic case of "if you have to ask where to start, you don't have the skills to do it". No, reallyI agree.
    If PersianKamran wants to see for themselves, try [Google ( java bcel )|http://www.google.com/search?q=java+bcel]

  • 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

  • Convert Oracle Forms into Java (swing & JSP's)

    Dear All,
    We are currently in the process of evaluating our upgrade of system, which is using forms 4.5. One of the options we are considering at this stage is converting all forms into Java program. I am currently doing some pilot work on this project. I am using FormsWizard, a product of InformatikAtelier Gmbh, along with Forms 6i and Jdeveloper 9i. Has any one done this before in this group? Your assistance is much appreciated.
    Regards
    Michael Sesuraj.
    Oracle 8i Certified Database Administrator
    Sun Certified Java 2 Programmer

    Grant, Thanks for that mail. It was very useful article. The article has lots of brilliant points consider. I may have to discuss with our System Architect. With my experience in both forms and Java, it is hard to justify the business benefit out of this conversion. We are a strong Oracle house and have no intention of moving towards J2EE at this stage.. Thanks once again.
    Michael Sesuraj
    Oracle 8i Certified Database Administrator
    Sun Certified Java 2 Programmer

  • Converting oracle forms into java forms

    Hi all,,
    would help me plz on how to convert oracle forms into java using any tool;
    Is Jheadstart is the tool,, im having jeveloper version 10.1.2.1.0

    There are at least two companies that are marketing Forms to Java conversion tools. I'm sure that a good Google search will locate them, and they are frequent exhibitors at Oracle-oriented conferences like Collaborate and ODTUG Kaleidoscope. But there are problems associated with doing this. I urge anyone who is considering such a project to read this article by Grant Ronald: http://www.oracle.com/technology/products/forms/pdf/10gR2/formsmigration.pdf
    You should carefully ask yourself and your clients and management, "Why do you want to do this?", "What benefits are you trying to realize?", "Does this make sense, and are there other options that we should be exploring?"
    For instance, many people are trying to protect themselves because "Forms is going away". Oracle has stated again and again that Forms is NOT going away. In fact the recent Fusion Middleware 11g release included a new version of Forms with some significant enhancements. You may do very well just by upgrading to the latest version of Forms.
    If you do decide that it still makes sense to convert, I suggest that rather that converting, you may want to redevelop from scratch. Keep the database if it is well designed - a well designed, stable database will outlast any front end that you may use against it. Then take full advantage of the capabilities of your new toolset, and leave behind the limitations and inapplicable methodologies of your old one. Oh, by the way, don't use JDeveloper 10.1.2. Use 11g if you can, or 10.1.3.5 if you must.

  • Converting html forms to java

    having viewed an earlier post in this forum i managed to create the following code but am having a few problems.
    here are the active parts of the html form on googles search, engine. i am trying to convert this into java form and have so far succeeeded in generating the code shown below, but keep getting the following error
    "IOException; Server returned HTTP response code: 501 for URL: http://www.google.co.uk/search"
    the form:
    <form action=/search name=f>
    <input type=hidden name=hl value=en>
    <input maxlength=2048 size=55 name=q value="" title = "Google Search">
    <input type=submit value="Google Search" name=btnG>
    <input type=submit value="I'm Feeling Lucky" name=btnI>
    </form>
    in the following code baseURL is the domain of the server... in this case http://www.google.co.uk/, method is the method as defined in the form method attirbute, if the attribute is not there, as in this form the default method is called which is GET
                URL url;
                HttpURLConnection urlConn;
                DataOutputStream printout;
                BufferedReader input;
                if(action.startsWith("http")) {
                    url = new URL(action);
                } else if(action.startsWith("/")) {
                    url = new URL(baseURL+action.substring(1,action.length()));
                } else {
                    url = new URL(baseURL+action);
                urlConn = (HttpURLConnection) url.openConnection();
                urlConn.setDoInput(true);
                urlConn.setDoOutput(true);
                urlConn.setUseCaches(false);
                //      set request method
                urlConn.setRequestMethod(method);
                //      set request type
                urlConn.setRequestProperty("Content-Type",
                        "application/x-www-form-urlencoded");
                //       data-value pairs are separated by &
                String content ="hl=en&q="
                // imitate someone searching for "hello" in i feel lucky
                content+="hello&btnI=I'm Feeling Lucky";
                urlConn.setRequestProperty("Content-Length", content.length() + "");
                //       Send POST output.
                printout = new DataOutputStream(urlConn.getOutputStream());
                printout.writeBytes(content);
                printout.flush();
                printout.close();
                //       Get response data.
                input = new BufferedReader(new InputStreamReader(urlConn.getInputStream()));
                String str;
                while (null != ((str = input.readLine())))
                    System.out.println(str);
                input.close();
            } catch (MalformedURLException me) {
                System.err.println("MalformedURLException; " + me);
            } catch (IOException ioe) {
                System.err.println("IOException; " + ioe.getMessage());
                ioe.printStackTrace();
            }i also tried self adding in the question mark that appears after the search text bu again get the same error. any ideas what im doing wrong when connecting to the server? thanks in advance for any help

    Just saw this topic on the forum,
    For each web crawlers the web sites maintain a file called Robots.txt which can be assessed by : http://www.google.co.uk/robots.txt
    You would see following on that file :
    User-agent: *
    Allow: /searchhistory/
    Disallow: /search
    Disallow: /groups
    which means that crawlers are not allowed to scrap this site on search, due to which our code wasnt working
    Thanks

  • Cannot convert type class java.lang.String to class oracle.jbo.domain.Clob

    Cannot convert type class java.lang.String to class oracle.jbo.domain.ClobDomain.
    Using ADF Business Components I have a JSFF page fragment with an ADF form based on a table with has a column of type CLOB. The data is retrieved from the database and displayed correctly but when any field is changed and submitted the above error occurs. I have just used the drag and drop technique to create the ADF form with a submit button, am I missing a step?
    I am using the production release of Jdeveloper11G

    Reproduced and filed bug# 7487124
    The workaround is to add a custom converter class to your ViewController project like this
    package oow2008.view;
    import javax.faces.application.FacesMessage;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.convert.Converter;
    import javax.faces.convert.ConverterException;
    import oracle.jbo.domain.ClobDomain;
    import oracle.jbo.domain.DataCreationException;
    public class ClobConverter implements Converter {
         public Object getAsObject(FacesContext facesContext,
                                   UIComponent uIComponent,
                                   String string) {
           try {
             return string != null ? new ClobDomain(string) : null;
           } catch (DataCreationException dce) {
             dce.setAppendCodes(false);
             FacesMessage fm =
               new FacesMessage(FacesMessage.SEVERITY_ERROR,
                                "Invalid Clob Value",
                                dce.getMessage());
             throw new ConverterException(fm);
         public String getAsString(FacesContext facesContext,
                                   UIComponent uIComponent,
                                   Object object) {
           return object != null ?
                  object.toString() :
                  null;
    }then to register the converter in faces-config.xml like this
    <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee">
      <application>
        <default-render-kit-id>oracle.adf.rich</default-render-kit-id>
      </application>
      <converter>
        <converter-id>clobConverter</converter-id>
        <converter-class>oow2008.view.ClobConverter</converter-class>
      </converter>
    </faces-config>then reference this converter in the field for the ClobDomain value like this
              <af:inputText value="#{bindings.Description.inputValue}"
                            label="#{bindings.Description.hints.label}"
                            required="#{bindings.Description.hints.mandatory}"
                            columns="40"
                            maximumLength="#{bindings.Description.hints.precision}"
                            shortDesc="#{bindings.Description.hints.tooltip}"
                            wrap="soft" rows="10">
                <f:validator binding="#{bindings.Description.validator}"/>
                <f:converter converterId="clobConverter"/>
              </af:inputText>

  • 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

  • Convert string into java.sql.Date

    Hi,
    I want to convert a date in string form into java.sql.Date to persist into the database column with Date as its datatype in Oracle. I'm trying as follows:
    import java.sql.Date;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    public class DateTest
    public static void main(String[] args)
    String strDate = "2002-07-16 14:45:01";
         System.out.println("strDate = "+strDate);
    Date aDate = null;
    try
    if(strDate != null && !strDate.trim().equals(""))
         SimpleDateFormat aSDF = new SimpleDateFormat();
         aSDF.applyPattern("yyyy-MM-dd hh:mm:ss");
         java.util.Date utilDate = aSDF.parse(strDate);
    System.out.println("utildate = "+utilDate);
         aDate = new Date(utilDate.getTime());
         aDate.setTime(utilDate.getTime());      
         System.out.println("aDate = "+aDate);
    catch (ParseException e)
    System.out.println("Unable to parse the date - "+strDate);
    catch (Exception ex)
    ex.printStackTrace();
    System.out.println("Caught Exception :"+ex.getMessage());
    It gives the output as :
    strDate = 2002-07-16 14:45:01
    utildate = Tue Jul 16 14:45:01 IST 2002
    aDate = 2002-07-16
    If I put this value into the database table, I can see only the date. Time part is missing. Is this the problem with java.sql.Date or Oracle datatype Date? Please help me asap.
    Thanks in advance.
    Regards,
    Rajapriya.R.

    If I put this value into the database table, I can
    see only the date. Time part is missing. Is this the
    problem with java.sql.Date or Oracle datatype Date?This is not a problem, this is the defined behaviour of the Date type. RTFAPI and have a look at Timestamp, while you're at it.

  • WHY - give workable examples of using JHeadstart to convert forms into ADF.

    Why give examples of how to use JHeadStart to convert forms in to ADF, but not allow it to be done with the evaluation version ... I assume it was possible with the 10g versions. Is it broken in 11g.
    I was lookig to build a case for migrating an oracle forms application to Oracle Java and not a IBM or JBOSS or even .Net application, I can't build that case now, I have no budget to engage Oracle, have to do this of my own bat. Company has been take over by bigger company that has IBM stack.
    Is Oracle this follish to allow the smaller users of Oralce to go by the way side, be lost to other languages etc

    We deliberately did not include the Forms2ADFGenerator in the evaluation version.
    Modernizing your forms application, possibly migrating it to ADF is a considerable effort that is often underestimated.
    Migration tools like the Forms2ADFGenerator can help to a certain extent but are by no means a magic bullet. This is something we cannot stress enough, as over and over again we see people who think migration tools can make the difference. They cannot.
    If you want to make a choice of development environment to modernize your forms application, then the availability of a migration tool should not play a role!
    It is a fundamental and strategic decision to go for Oracle ADF which should not be influenced by a minor time saver like a migration tool.
    To decide on the use of JHeadstart, the evaluation version with the tutorial should be convincing enough.
    The real power of Jheadstart is not in the Forms2ADF Generator, this tool is just a lbonus that can save you a bit of time.
    Here is some more info:
    When does JHeadstart Forms2ADF Generator save time
    The amount of work that can be saved by using the JHeadstart Forms2ADF Generator (JFG) very much depends on the structure of the Oracle Forms application at hand. The JHeadstart Forms2ADF Generator provides most savings for forms that have the following characteristics:
    * Standard-Forms data retrieval and data manipulation through blocks based on database tables, with master-detail relations defined between the block
    * Complex user interface, many (stacked) canvasses, many tabs, many list of values, and other display types
    * PL/SQL logic mostly limited to user interface dynamics: conditionally showing/hiding user interface items, and conditionally changing the properties of user interface items. While JHeadstart does not convert PL/SQL logic, this type of logic is easily implemented in the ADF application because JHeadstart provides many declarative property settings to implement this behavior.
    PL.SQL Logic
    JHeadstart has made the deliberate choice to not automatically convert the PL/SQL logic to Java. The reasons for this are:
    * It is impossible to automate the migration of a two-tier architecture (logic in Forms or in the database) to a three tier Model-View-Controller architecture as is common in JEE web applications, including ADF-based applications.
    * The architecture of the converted application should be identical to the best-practice architecture of an ADF application that is build from scratch. If the architecture is the same, the same skill set can be used to maintain both migrated applications and ADF applications build from scratch. In addition, by going for a best practice architecture, the application is more flexible, and can be maintained easier at lower cost.
    * When using the JHeadstart Forms2ADF Generator, you get this best-practice ADF architecture that is identical to ADF/JHeadstart applications that are built from scratch.
    Other Forms2ADF Considerations
    And even if it turns out the JFG adds a lot of value, there are many other questions you should ask yourself before embarking on a Foms2ADF project.
    For example:
    * Apart from technical reasons like old Forms verisons no longer supported, are there real business reasons and business benefits for migrating that justify the migration effort?
    * To what extent is the application still meeting functional requirements?
    * Are there issues with stability and end user friendliness?
    * Old forms applications are typical "window-on-data" screens, you see the structure of the datamodel through the layout of the screens. Modern web 2.0 composite applications are more task-oriented with good support for human workflow. You should consider to what extent it wants to leverage all these new user interfaces capabilities that come with ADF Faces and WebCenter.
    * How does the application fits in the overall IT landscape? What interfaces to other systems exist, what (old/obsolete?) technology is used to implement those interfaces?
    * What about batch functionality and reporting facilities?
    * May be part of the functionality of the current system can be replaced with standard off-the-shelf software?
    * How sound, well structured and future proof is the underlying datamodel?
    * To what extent are you looking at service-orientated architectures? Whats the SOA maturity level of your organisation?
    * Above questions help to answer the key question: how desirable and benficial is it to migrate an old monolitic forms application 1:1 to a monolitic ADF aplication? How does that fit in overall IT strategy?
    * Organisational isues: who will migrate the system, who will maintain the system? Is outsourcing considered? etc.
    Next Steps
    We offer a Forms2ADF assessment service in which we migrate a number of sample forms selected by the customer to assess the added value of the JFG, and we discuss all of the above questions
    For example, I did one Forms2ADF assessment where it turned out that JFG added litlle or no value, but we were still able to convince the customer of the combined power of ADF and JHeadstart in (re-)building ADF apps from scratch.
    You also might want to take a look at some presentations I did on this topic, and some online demo's:
    * Guidelines for moving from Oracle Forms to Oracle ADF and SOA: http://www.slideshare.net/stevendavelaar/forms2-adfsoa-ukoug
    * JHeadstart Forms2ADF Generator – Migrating from Oracle Forms to a Best-Practice ADF application: http://www.slideshare.net/stevendavelaar/jhs11-forms2-adfukoug
    * 3 online demo's of forms2adf conversion process: http://www.oracle.com/technetwork/developer-tools/jheadstart/overview/index.html
    Hope this helps,
    Steven Davelaar,
    JHeadstart Team.
    Steven Davelaar,
    JHeadstart Team.

  • Converting XML to Java in STB

    I am trying to convert xml to java. Looking for simple and light way to covert xml to java in STB.

    Heh - all the tags in your question got stripped out by the forum-to-email bridge :-)
    Anyway, basically you just parse the XML data. You can use some
    kind of library if you like, but it turns out that parsing an XML response
    that's consistently formatted the same way isn't all that hard to do directly.
    In the HD cookbook project, we have a sample xlet that does just this, reading
    weather data from some public web service out there (I forget which - maybe
    Yahoo's?) The xlet could be converted to work on MHP or OCAP without
    much work. This demo is in xlets/demos/weatherWidget, and the project
    is at http://hdcookbook.com, click on the sumo wrestler. It's in the source-code repository,
    but over on the right one of the links will let you browse individual files, which should
    get you pretty quickly to the XML parser in this demo.
    By the way, if you have a choice between JSON and XML in this environment, I'd
    personally go with JSON. It's simpler to parse and faster - indeed, see
    com.hdcookbook.grin.util.JsonIO in the cookbook repository. Of course, if you're
    interacting with a server under your control and you want maximum performance, you
    can use a more efficient binary format, too.
    Cheers,
    Bill

  • Error: could not be converted to [class java.lang.Class].

    I am newbie to JDeveloper (10.1.2) on winxp and i was trying to setup the example from the following url http://radio.weblogs.com/0129487/2003/09/19.html
    It is a how to on "Executing Toplink Queries using JavaBean DataControl "
    Any help would be greatly appreciated.
    Near the bottom on step "In StrutsPageFlow diagram, select allEmpsDA Data Action, right mouse and chooe Run" i get a the following runtime errors:
    Validation Error
    You must correct the following error(s) before proceeding:
    JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.toplink.exceptions.ConversionException, msg= Exception Description: The object [mypackage.Employees], of class [class java.lang.String], could not be converted to [class java.lang.Class]. Please ensure that the class [class java.lang.Class] is on the CLASSPATH. You may need to use alternate API passing in the appropriate class loader as required, or setting it on the default ConversionManager Internal Exception: java.lang.ClassNotFoundException: mypackage.Employees
    JBO-29000: Unexpected exception caught: oracle.toplink.exceptions.ConversionException, msg= Exception Description: The object [mypackage.Employees], of class [class java.lang.String], could not be converted to [class java.lang.Class]. Please ensure that the class [class java.lang.Class] is on the CLASSPATH. You may need to use alternate API passing in the appropriate class loader as required, or setting it on the default ConversionManager Internal Exception: java.lang.ClassNotFoundException: mypackage.Employees
    Exception Description: The object [mypackage.Employees], of class [class java.lang.String], could not be converted to [class java.lang.Class]. Please ensure that the class [class java.lang.Class] is on the CLASSPATH. You may need to use alternate API passing in the appropriate class loader as required, or setting it on the default ConversionManager Internal Exception: java.lang.ClassNotFoundException: mypackage.Employees

    This error is happening on a read.
    Here is the mapping descriptor:
    <database-mapping>
    <attribute-name>SuppItemCollection</attribute-name>
    <read-only>false</read-only>
    <reference-class>package.SuppItem</reference-class>
    <is-private-owned>false</is-private-owned>
    <uses-batch-reading>false</uses-batch-reading>
    <indirection-policy>
    <mapping-indirection-policy>
    <type>oracle.toplink.internal.indirection.NoIndirectionPolicy</type>
    </mapping-indirection-policy>
    </indirection-policy>
    <container-policy>
    <mapping-container-policy>
    <container-class>java.util.Vector</container-class>
    <type>oracle.toplink.internal.queryframework.ListContainerPolicy</type>
    </mapping-container-policy>
    </container-policy>
    <source-key-fields>
    <field>SUPP.REQ_NUM</field>
    </source-key-fields>
    <target-foreign-key-fields>
    <field>SUPP_ITEM.REQ_NUM</field>
    </target-foreign-key-fields>
    <type>oracle.toplink.mappings.OneToManyMapping</type>
    </database-mapping>
    Object model has a Supp class that has a collection of SuppItem(s). I was allowing the Mapping Workbench to create the Java Source. I'm not to fond of that, but I thought it would be easiest to get things going.
    The datamodel is similiar to the class model.
    Thanks for the help,
    Mike

  • I have an iPad 1.  I filled out a PDF questionaire in adobe reader. When I send it to Dropbox, iBooks,mercury browser the form shows up without the answers .  My objective is to email the completed form. Please advise as to how to do thisThanks. Big Jake

    I have an iPad 1.  I filled out a PDF questionaire in adobe reader. When I send it to Dropbox, iBooks,mercury browser the form shows up without the answers .  My objective is to email the completed form. Please advise as to how to do thisThanks.
    Big Jake

    If the PDF is a form fillable PDF, which I assume that it is, email it to yourself or send it to DropBox and open it on your computer. You should see the fields filled in there. It works for me if I do it that way.
    Adobe Reader supports it, but the other apps don't. I assume that if you email the PDF to a computer user it would be readable in Adode Reader.

  • How to create table in interactive form via Java Web Dynpro

    Hi,
    How to create table in interactive form via Java Web Dynpro ?
    Any online tutorial / example ?
    Thank you.
    Regards,
    Eric

    Hi Eric,
    Just choose the UI element Table from Form Library and drag and drop it on the form. now choose the no. of rows and columns and other settings you want about table from the wizard initiated through this process. This all is what you have to do to create the table. Now to bind it to the fields of the data source bind the individual colums to individual attributes of the node in the datasource.
    Hope it will solve your query.
    Regards,
    Vaibhav Tiwari.

  • Error when converting form to XML

    I get this error when trying to convert a form using this method:
    frmf2xml.bat OVERWRITE=YES AvaAcPt.fmb
    Oracle Forms 10.1.2 Forms to XML Tool
    Copyright(c) 2001, 2005, Oracle. All rights reserved.
    Processing module AvaAcPt.fmb
    WARNING: Invalid value (100) for property DataType on object OK.
    WARNING: Item CURR_CODE - all ListItemElements must have an Index, Name and Value.
    WARNING: Invalid value (100) for property DataType on object OK.
    WARNING: Invalid value (100) for property DataType on object INACTIVECUSTOMER.
    WARNING: Invalid value (100) for property DataType on object OK.
    XML Module saved as AvaAcPt_fmb.xml
    The WARNING: Item CURR_CODE - all ListItemElements must have an Index, Name and Value. is obvious. It a list is empty this warning is thrown out. Of course my concern is when we do the XML to Forms conversion later will the list item and associated code be reconstructed correctly?
    As for the 3 OK buttons and the INACTIVECUSTOMER button the converter puts a DataType attribute, which is meaningless to a button.
    I tried to find any peculiarities with the buttons but could not find any.
    Has anybody else experienced this problem?

    Hi,
    I have got the same warning “ all ListItemElements must have an Index, Name and Value” when converting form from fmb to xml using frmf2xml.
    Have you find any course of this and how to fix it?
    Thanks!

Maybe you are looking for

  • Error while opening a function

    HI, 1. Create a query-only version of the System Profile Options function-- fun name is view system profile 2. and i assigned his to one of existing menu ABC Am able to see the this under the menu ABC.. but wen i click that it throws error The View S

  • Materialized view in Oracle 9i/10g SE?

    Hi All, Can we define MV's in standard edition of oracle9i & 10g database? If yes, are there any limitations on creation of MV's in Standard edition compare to Enterprise edition like Query rewrite, creation of log tables etc? As per link : http://ww

  • Updating iPod to 2.2 - Can't get iTunes to Resume download

    Hi. I have tried numerous times to download the new Ipod Touch firmware using my dial-up connection. As the firmware is over 250MB I have to Stop/Resume my Internet connection a few times (my dial-up has a 10hr limit). Unfortunately, after downloadin

  • How can I draw on top of an image?

    I'm using a JApplet with three JPanel's inside of it. Inside one of those JPanel's I would like to place an image and a button. When the button is clicked, I want to draw an oval on top of the image . Each subsequent time the button is clicked, the o

  • HT201318 How do I get a refund?

    I need a refund for iCloud storage I do not need