Java bean in  form version 6.0

Does anyone know if it's possible to put a javabean into a forms (v6) in runtime mode ie client server mode (no webforms)?.
If it is possible ... how can i do it?
I want to change the look and feel of my form.....how can i do it if java bean is not supporting forms 6.0 in client server mode
Thanks in advance
shareef

Hello,
You should ask this question in the Oracle Forms Forum :
Forms
Regards

Similar Messages

  • Embedding Java bean in Forms 6i

    Hi,
    Can anybody guide me to embed java bean in forms 6i . I need steps to embed. I tried the steps given in oracle site for KnobBean steps are confusing. Can anybody pls help me
    thanks in advance
    Ilam

    Hi
    Following is the result of Jinitiator Java Consol.......
    Oracle JInitiator version 1.1.8.19
    Using JRE version 1.1.8.19
    User home directory = C:\Documents and Settings\Administrator
    JAR caching enabled.
    Cache directory: C:\Program Files\Oracle\JInitiator 1.1.8.19\jcache
    Maximum cache size: 50000000 bytes
    Opening http://202.163.88.194:6777/forms60java/f60all_jinit.jar no proxy
    Loading http://202.163.88.194:6777/forms60java/f60all_jinit.jar from JAR cache.
    Opening http://202.163.88.194:6777/forms60java/java/awt/KeyboardFocusManager.class no proxy
    Opening http://202.163.88.194:6777/forms60java/oracle/forms/engine/MainBeanInfo.class no proxy
    Opening http://202.163.88.194:6777/forms60java/sun/beans/infos/MainBeanInfo.class no proxy
    Opening http://202.163.88.194:6777/forms60java/oracle/ewt/swing/JBufferedAppletBeanInfo.class no proxy
    Opening http://202.163.88.194:6777/forms60java/sun/beans/infos/JBufferedAppletBeanInfo.class no proxy
    Opening http://202.163.88.194:6777/forms60java/oracle/ewt/lwAWT/BufferedAppletBeanInfo.class no proxy
    Opening http://202.163.88.194:6777/forms60java/sun/beans/infos/BufferedAppletBeanInfo.class no proxy
    Opening http://202.163.88.194:6777/forms60java/oracle/ewt/popup/PopupAppletBeanInfo.class no proxy
    Opening http://202.163.88.194:6777/forms60java/sun/beans/infos/PopupAppletBeanInfo.class no proxy
    Opening http://202.163.88.194:6777/forms60java/oracle/forms/registry/Registry.dat no proxy
    Opening http://202.163.88.194:6777/forms60java/oracle/forms/registry/default.dat no proxy
    proxyHost=null
    proxyPort=0
    connectMode=HTTP
    Forms Applet version is : 60821
    Opening http://202.163.88.194:6777/forms60java/oracle/forms/demos/GetClientInfo.class no proxy
    Opening http://202.163.88.194:6777/forms60java/oracle/forms/demos/Utils.class no proxy
    Regards
    Laila Mac

  • Printing Java Bean through Forms

    I want to be able to print the contents of a Java bean through forms. Preferably through a popup on right click. Does anyone know how i can do this?
    It is the BI Graph example given through oracle.
    Thanks

    Hi,
    I'd like to be able to do the same thing ... did you find a solution?
    Steve

  • Implementing java beans in forms 10g [Problem]

    Hi All,
    I am trying to implement the java bean in the forms 10g
    I performed the following steps, but no luck.. Could anybody please help me in this?
    I have created a simple java class
    package mypackage1;
    public class MyClass
    public String GetString(String a)
    return a;
    Make a jar myjar.jar out of it.
    Copy this jar files in $ORACLE_HOME/forms/java directory
    and set the archive.jini parameter in formsweb.cfg to
    archive_jini=frmall_jinit.jar,Myjar.jar
    Created a simple form having one button, one textbox
    Set the implementation class property of text item to mypackage1.MyClass
    on button pressed trigger, I wrote
    set_custom_property('block2.text_item4',1,'GetString','Hello World');
    Ideally, on button pressed, it should show the text "Hello World" in the etxt box. But on button pressed nothing is happening and in java console on error is appearing.
    My java console output is
    Loading http://asst104253:8889/forms/java/frmall_jinit.jar from JAR cache
    Loading http://asst104253:8889/forms/java/Myjar.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    Could anyone please tell me what I am doing wrong?? And how do I achieve this functionality??
    Please, any help appreciated !!

    Hi there
    The is plenty wrong with this code:
    1. MyClass is not extending VBean
    2. There is no public boolean setProperty(ID ID, Object args) method and no property IDs have been defined so set_custom_property('block2.text_item4',1,'GetString','Hello World'); will not execute anything
    3. If you're hoping to return values back from the bean, you need to define a custom event and associated ID.
    If you're just looking for some java code to return values in a similar manner as normal Oracle functions then you may want to consider using forms java stored procedures which are based on static java methods. Beans are really more for interaction type stuff with other applications.
    But any way if you want to do it this way (i.e. using beans) then at very least you class should look something like (Note, I have not compiled is so there may be a few errors):
    package mypackage1;
    import oracle.forms.handler.IHandler;
    import oracle.forms.ui.CustomEvent;
    import oracle.forms.properties.ID;
    import oracle.forms.ui.VBean;
    import oracle.forms.engine.Main;
    import oracle.forms.engine.*;
    import oracle.forms.handler.*;
    public class MyClass extends VBean
    // initiating event id
    protected static final ID pgetString = ID.registerProperty("GetString");
    // return value id
    private static final ID preturnValue = ID.registerProperty("returnValue");
    // return event id
    protected static final ID preturn = ID.registerProperty("returnEvent");
    static IHandler mHandler;
    public String GetString(String a)
    // may do some string manipulation here.
    return a;
    public boolean setProperty(ID ID, Object args)
    if (_ID== pgetString)
    if (_args instanceof String)
    String myArg = (String)_args;
    mHandler.setProperty(preturnValue,getString(myArg));
    CustomEvent ce = new CustomEvent(mHandler, preturn);
    dispatchCustomEvent(ce);
    Keep your button as is and then to return the value back into forms place a WHEN-CUSTOM-ITEM-EVENT trigger on the bean area with something like this:
    DECLARE
         BeanValListHd1 PARAMLIST;
         ParamType NUMBER;
         EvenName     Varchar2(20);
         CurrentValue Varchar2(2000);
    BEGIN
         BeanValListHd1 := get_parameter_list(:SYSTEM.CUSTOM_ITEM_EVENT_PARAMETERS);
         IF :SYSTEM.Custom_Item_Event = 'returnEvent' THEN
              IF iD_NULL(BeanValListHd1) THEN
              MESSAGE('NO PARAMETER FOUND FOUND');     
              ELSE
              GET_PARAMETER_ATTR(BeanValListHd1,'returnValue',ParamType,CurrentValue);
              MESSAGE('IN CUSTOM EVENT THE STRING RETURNED IS '|| CurrentValue);
              END IF;
         ELSE
              MESSAGE('no value');
         END IF;          
    END;
    hope this helps
    Q

  • Using java bean in forms

    Hi,
    I want to import data from an excel file to oracle database. for this purpose i have find a java bean on :
    http://sites.google.com/site/jvrexcelproject/version-1-5-1-english
    i have download it.
    i put the jar files on forms/java
    i ve modify formsweb.cfg
    when i open my form , a message is displayed :
    FRM-13008: Cannot find JavaBean with name 'oracle.forms.jvr.xls.Read'
    please help me,
    thanks

    add Bean area in your form and set its Implementation class to oracle.forms.jvr.xls.Read (case sensitive)
    yesterday i wrote a new blog post about java bean but very basic ....... might help u to setup the thing
    http://baigsorcl.blogspot.com/2010/02/how-to-add-java-bean-by-writing-your.html
    Baig
    [My Oracle Blog|http://baigsorcl.blogspot.com/]

  • How to include PJC and Java Beans in forms

    I have tried a lot to include java codes in my forms ..So I decide to start with ProgressBarPJC(cause it is tested and provided with demo) but I could not set implementation class of java bean object to
    oracle.forms.demos.ProgressBarPJC it does not accept it but it accept ProgressBar instead of ProgressBarPJC. I don't know why? I have made changes in Forms90_builder_classpath to access f90all.jar and progressbar.jar. I have Progressbar.class and progressbarpjc.classs both but i don't know how to set implementation class to ProgressBarPJC.
    don't you think there is lots of configuration and path setting to use any JPC or Jar in forms? I am totally confused with this integration.
    Please solve this matter
    Thanking you,
    Neeraj

    and even more information samples and step by step instructions are on the Java spotligh on the Forms Upgrade Center : http://otn.oracle.com/formsupgrade

  • Can we run java bean from forms client server??

    Hi,
    The OLTP application we are planning to build has lot of gui e.g
    tabs, drag and drop etc. Our aim is to make it web enabled but
    the network bandwidth available is small 16 - 64K . So even
    thoughwe plan toi use applet , we seriuosly doubt how good it
    will perform on such low network bandwidth. [The system will
    have 100 users]
    Q1. What will be a reasonable bandwidth to run an oltp
    application (say maintenance )
    Hence we are thinking of developing with developer 6i and
    deploying our application in client server mode, which can
    easily be web enabled in future. But we also have to integrate
    visual interfaces like gantt chart, which are not available with
    forms. We plan to use third party java component (e.g ILOG
    jviews), so that in future we can easily web enable the entire
    application.
    Q2. Can we run forms with java bean in client server mode? If
    not, what are the products to be installed on each machine to
    run it without using 9ias?
    best regards

    Yes. We can run sql loader from client machine.
    C:\Karthik>sqlldr user/pass@database data='test.csv' control='test.ctl' log='test.log' bad='test.bad'
    You can go through the following link for better understanding.
    http://www.oreilly.com/catalog/orsqlloader/chapter/ch01.html

  • Deploying Java Beans in forms 6i

    Hi,
    Can anyone let me know that whether forms 6i alone is
    sufficient to deploy Java Beans, because i tried deploying and
    had broblems in doing.
    Thanks
    Ravi

    You'll also need a JVM in which the beans will execute....
    If have your Forms deployed on iAS then you will have enerything
    you need.
    Regards
    Grant Ronald
    Forms Product Management

  • Calling Java Bean from Form 9i

    Dear all,
    I have developed a Java Bean and I want to use it in FOrm 9i. I have imported that Bean (.jar file) sucessfully to my form. I use following code to call the Bean:
    declare
    WordDoc ora_java.jobject;
    javaException ORA_JAVA.JOBJECT;
    Begin
    WordDoc := WordBean.new;
    WordBean.OpenWord(WordDoc, true);
    EXCEPTION
    WHEN ORA_JAVA.EXCEPTION_THROWN THEN
    javaException := ORA_JAVA.LAST_EXCEPTION;
    message(Exception_.getMessage(javaException));
    ORA_JAVA.CLEAR_EXCEPTION;
    WHEN ORA_JAVA.JAVA_ERROR THEN
    message(ORA_JAVA.LAST_ERROR);
    ORA_JAVA.CLEAR_ERROR;
    end;
    But I receive the "raise unhandled Exception Ora-105100" and my form doesn't handle the errors. What am I missing in the code?
    Thanks in advance,
    Hamid Motahar

    Hi,
    You receive this error because at runtime the form can't find the jar. See note : http://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=169529.1
    on metalink
    Greetings

  • Pass array of value to Oracle Java Beans (for forms)

    Hi,
    How I can pass a array value from oracle Form to Java bean.
    With regards
    Satheesh Kumar

    Hi,
    Thanks for your immediate response.
    I have one more doubt. I am trying to create a Hirachical tree for form using Jtree. For dynmically populating tree data I want to pass array records from oracle forms.
    In my understanding, Java importer array will work if we do importing the java beans component to oracle forms, otherwise no.
    Is it possible I can pass array variable with out importing my javacomponent.
    With regards

  • Can we Return values from Java Bean to Form

    Hi All,
    I have a Bean area defined on a Form. The Bean Area consists of a Text field which gets populated by path of a file selected using Browse button.
    Can I return this path as a parameter from the Java Bean to the form? Is there any function for this?
    Regards,
    Prathima.

    If you designed your bean to offer the ability to exact info/data from it, then yes you can get a value from the bean into the form (pl/sql) - using Get_Custom_Property
    Refer to the following which is a good example of how to build a bean. Specifically look at page 12 where is shows how to use Get_Custom_Property.
    This is NOT an Oracle supported or provided document or web site, but it is a very good example.
    http://forms.pjc.bean.over-blog.com/ext/http://sheikyerbouti.developpez.com/forms-pjc-bean/first-bean/first_bean.pdf

  • Step by Step how to Use Java Beans in Form 6i

    Dear All,
    Can anybody tell me step by step how to use Javabeans in form 6i.
    What i want is to know which form is getting executed and by whom with ip address on application server.
    When is execute the form made using javabeans
    Best Regards,
    Devendra

    Hello,
    <p>Here is the best way to start with Javabeans.<br>
    After reading that, you can see if this bean can fit</p>
    Francois

  • Calling java beans from forms 6

    Could anyone please tell me if it is possible to call an EJB component from within forms 6.
    And if so how.
    Thanks

    If your EJB is for doing some server side processing, etc. you can consider exposing it via a servlet deployed on the Forms 6i server that accepts GET requests. You can then call to the servlet using utl_http.request.

  • Using Bean in FORMS 6i

    hi
    i'm using oracle froms 6i client server not application server ( i know it's old but there is customer we have using it) , i want using java bean inside forms 6i , i have the bean (jar files) and i put it in oracle_home\forms60\java and i modify class path in my windows ,put the jar file name inside,and opened new form and i imported the class that i want it inside my form , till now i didn't have any problems,but when i run the form , the place of bean in forms appear is blank (white) although i change bean property implimintaion class the class name that i imported before , so i don't know what is the problem ????
    bye

    Hello,
    Java Beans won't work in C/S mode, but only with Web versions.
    Francois

  • Java Beans

    hai,
    i have a web application and i use bean to do the database operations...i like to use a configuration file where i can store the database connection parameters like hostname, username and password so that i can change them without recompiling the java files ...i put file db.cfg in the /WEB-INF/classes directory but tomcat gives error message as file not found..please help with a complete code...
    here is the code i used...
    public ResultSet getdata(String sql){
              try{
    File f1 = new File("db.cfg");
    FileInputStream fstream = new FileInputStream(f1);
    DataInputStream inD = new DataInputStream(fstream);
    String[] s3=new String[3];
    int i=0;
    while (i<3)
                             s3=inD.readLine();
                             i++;
                   inD.close();
                   //db.cfg end
                   String name=s3[0];
                   String password=s3[1];
                   String url=s3[2];
    Class.forName("com.mysql.jdbc.Driver");
    Connection con=DriverManager.getConnection(url,name,password);
    Statement st=con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
                   rs=st.executeQuery(sql);
              }catch(Exception e){
                   System.out.println("from getdata"+e);
              return rs;

    Hi,
    Please check out the location http://technet.oracle.com/products/developer/
    There is a document
    "Using Java Components in Oracle Developer Applications"
    This document provides the
    information on 'using JavaBeans in Forms',
    Regards,
    Deepak Rai
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by vinayak prabhu ([email protected]):
    How do we use Java beans in forms 6.0 ?
    Please help.
    Thanks.
    (Vinayak Prabhu)
    Vinny.<HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • All mail is marked as unread following iOS 7 install.  How do I fix that?

    All mail is marked as unread following iOS 7 install.  How do I fix that?

  • XML validation sing patterns

    Hi, I am currently creating XML schemas to validate XML files with. I am using the Validator class available in Java5. The problem that I have is that if I declare sinple types in XML a certain way, then the java Validator does not understand it. For

  • UseOneAsMany Function Not Working

    Hi Experts, I have tried the example from the below blog: **************** - Implementation of Node functions I have changed the context level as mentioned in the blog. I have changed the Plant Context Level to Mt_Sender for both MatNo and MatDesc wh

  • Changes in XML from Extended IDOC Basic type

    Hi Experts, We have an outbound PO IDOC (ORDERS05) that is converted to XML. If we are going to extend the IDOC, do we need to change anything in the XML as well? Or the new data will already be there in the XML? Br, LM

  • Firefox is unresponsive after the last automatic update to 3.6.4

    Random websites including microsofts and others like Yahoo and igoogle are now not working properly, after the last update. I go to a page, then click on an article or picture and nothing happens it just sits there. I tried completely disabling NoScr