Oracle Forms PJCs/Java Beans

In 10g is it possible to use Oracle Forms PJCs/Java Beans in tabular form ?
I wanna use an "auto completion" Swing JComboBox.

Thanks François,
could you suggest me what can be done if I need 10 rows with 12 fields of combobox's
which has a display value of char datatype and return value of numeric to database
- LT

Similar Messages

  • Webutil-- oracle.forms.webutil.browserFunctions bean not found

    hi friends,
    im in great trouble
    i got assignment from company and its very urgent
    i want to change coffee cup of browser window...i m trying to use webutil, i have done following things
    1.I have developer suit 9.0.4
    2.I have Jinitiator1.3.1.17
    3.download and unzip webutil_106 in forms90 folder
    4.adding frmwebutil.jar in forms90_BUILDER_CLASSPATH
    5.Create single virtual directory in orion web.xml and in forms90.config file
    6.add frmwebutil.jar in formsweb.cfg and replace webutil.htm files e.g bashtml,basehtmljinitiater,basehtmljpi.
    7.webutil entries in envirmnent file
    8.attatch liabray webutill.pll with my form,
    9. open webutil.olb and copy it into object group
    10.create timer at when new_form_instance
    11.on timer expiratation using following code
         if WEBUTIL_SEPARATEFRAME.IsSeparateFrame then
                                            WebUtil_SeparateFrame.SetTitle('DTS');
                                            webUtil_SeparateFrame.SetIcon('execute.gif');
    and restart oc4j
    but problem is still comming when timer expire i got following message
    oracle.forms.webutil.browserFunctions bean not found
    plz anyone help if im missing any step or doing something wrong
    thanks

    hi friends,
    im in great trouble
    i got assignment from company and its very urgent
    i want to change coffee cup of browser window...i m trying to use webutil, i have done following things
    1.I have developer suit 9.0.4
    2.I have Jinitiator1.3.1.17
    3.download and unzip webutil_106 in forms90 folder
    4.adding frmwebutil.jar in forms90_BUILDER_CLASSPATH
    5.Create single virtual directory in orion web.xml and in forms90.config file
    6.add frmwebutil.jar in formsweb.cfg and replace webutil.htm files e.g bashtml,basehtmljinitiater,basehtmljpi.
    7.webutil entries in envirmnent file
    8.attatch liabray webutill.pll with my form,
    9. open webutil.olb and copy it into object group
    10.create timer at when new_form_instance
    11.on timer expiratation using following code
         if WEBUTIL_SEPARATEFRAME.IsSeparateFrame then
                                            WebUtil_SeparateFrame.SetTitle('DTS');
                                            webUtil_SeparateFrame.SetIcon('execute.gif');
    and restart oc4j
    but problem is still comming when timer expire i got following message
    oracle.forms.webutil.browserFunctions bean not found
    plz anyone help if im missing any step or doing something wrong
    thanks

  • 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.

  • Need ideas for new PJC/Java Beans

    Hello everybody,
    I am always looking for new ideas about the Java Bean and PJC stuff. Sometimes I have good ideas about this, but sometimes it is quite a pain to find something new and innovative.
    If you have ideas or needs about this, let me know in this thread.
    (Sorry Oracle staff if I am going beyond my rights by using the Forum for that purpose)
    Francois

    Francois ,
    I think that we all need to thank you for all your hard work promoting Oracle Forms.
    Your input and constant support on this forum is greatly appreciated.
    But I personally think that all this needs to be addressed by Oracle.
    Your wrote
    Sometimes I have good ideas about this, but sometimes it is quite a pain to find something new and innovative.
    And I agree with you.
    You can go as far as the Forms let you go...
    Thanks,
    Michael

  • Webutil form  giving error "oracle.forms.webutil.* bean not found.

    i have done all settings as per given in documentation of webutil.
    forms is compiling but at runtime it gives error:
    oracle.forms.webutil.clientinfo.getclientinfo bean not found.
    what could be the reason.plz. help.
    shikha...

    Hi Shika,
    Probably, the issue could be because of any one of the following.
    <br>
    <br>
    1. Check whether you have added $OARCLE_HOME\forms90\java\frmwebutil.jar in the default.env under $ORACLE_HOME\Forms90\server folder.
    <br>
    <br>
    2. Check whether you have added the virtual directory
    <virtual-directory virtual-path="/webutil" real-path="$OARCLE_HOME/forms90/webutil" />
    in the file orion-web.xml under $ORACLE_HOME\j2ee\DevSuite\application-deployments\forms\forms90web folder
    <b<i>Correctly</i></b>
    <br>
    <br>
    HTH.
    <br>
    Regards,
    <br>
    Arun

  • Error running 10g form with java bean

    I am trying to run the CalendarWidget form demo with the javabean. I start the OC4J Instance then open my file:
    http://myserver.com:8889/forms90/f90servlet?config=pjc&form=C:\Oracle\Dev10g\forms90\java\calendarwidget.fmx&userid=HR
    /HR@TRACY&buffer_records=NO&debug_messages=NO&array=YES&RENDER=YES&width=950&height=600
    The Browser appears with Oracle AS Form Services and error box:
    FRM-92100: Your connection to the Server was interrupted. This may be the result of a network error, or a failure on the Server. You will need to reestablish your session.
    Java console shows:
    java.lang.SecurityException: class "oracle.ewt.lwAWT.LWButton"'s signer information does not match signer information of other classes in the same package
    I am trying to run this on my local pc and database with the forms90 server that installed with Developer. I'm not really java smart, so could use some help.
    Thanks.
    Tracy

    Hello Rob
    I'm having the same problem. I downloaded the calendar from http://www.oracle.com/technology/sample_code/products/forms/6idemos.html
    Is there a newer version for 10g?
    here is the error in my java client....
    Loading http://fi0oracle07.fi0dept.local/forms90/java/f90all_jinit.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 9.0.4.1
    CalendarWidgetWrapper: init()
    Exception occurred during event dispatching:
    java.lang.NoClassDefFoundError: oracle/ewt/lwAWT/LWButton
         at oracle.forms.demos.CalendarWidgetWrapper.<init>(CalendarWidgetWrapper.java:96)
         at java.lang.Class.newInstance0(Native Method)
         at java.lang.Class.newInstance(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

  • Calling BIP from Oracle Forms: Having Java version problem.

    <h3>
    Hi,
    I tried to call a BIP report through Oracle Forms.
    I followed this PDF.
    http://www.oracle.com/technology/products/xml-publisher/docs/Forms_BIP_v22.pdf
    Problem is, when I run the form, I get this error (copied from the Java Console)
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\channasiriwardena
    Proxy Configuration: Manual Configuration
    Proxy: 192.168.11.100:81
    Proxy Overrides: *.iil.informatics.lk,192.168.11.*,192.168.10.*,<local>
    JAR cache enabled
    Location: C:\Documents and Settings\channasiriwardena\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0 Forms Applet version is : 10.1.2.0
    java.lang.UnsupportedClassVersionError: oracle/j2ee/ws/client/ServiceFactoryImpl (Unsupported major.minor version 49.0)
    I am using Forms Forms [32 Bit] Version 10.1.2.0.2.
    JDeveloper Version is 10.1.3.5.0.
    The Forms 10g Java version is 1.4.
    So according to what I discovered on the net, the problem is: My JInitiator is 1.3 using JRE 1.3, BUT my .JAR file is Java 1.5.
    Since we are using the Oracle JVM, ticking “Use JRE 1.5..” in the Advanced tab of the Internet Explorer Options has no effect.
    We cannot upgrade the Oracle JInitiator to a 1.5 since there is no such JInitiator version. JInitiator is available only up to 1.3.1.30.
    What can I do. What if I install Java 1.3 in my machine and re-compile my JAR file with that? Will that work or is there another solution?
    Has anybody encountered this problem?
    Any help would be greatly appreciated.
    Thanks & Regards,
    C.S.
    </h3>

    Hi,
    Yes, you need to compile your source files with JDK 1.3 (since JInit 1.3.x.x uses JDK 1.3).
    Other solution would be to use JRE 1.5 (instead of JInitiator).
    Check out [this thread|http://forums.oracle.com/forums/thread.jspa?threadID=550563] on how to use JRE1.5
    -Arun

  • Open an Oracle Form from Java

    Hi,
    Is it possible to have, say a small Java web app (JSP ie.) that calls/opens an Oracle Form?
    - Is it possible to pass parameters to and from the Form?
    Regards,
    Magnus

    Hello,
    Forms is executed in a Java applet, so you can start it with a single HREF tag.
    orms can also run some web application via the Web.Show_Document() built-in.
    Francois

  • 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

  • On text change trigger in oracle forms 9

    I want to simulate on-text-change trigger similar to the one present in java and other programming languages.
    I need this trigger to be invoked when ever we change some text in the textfield.
    Is there any way to do this?
    I used two text fields to compare the last entered and newly typed based on a timer interval of 3secs
    But my problem is Oracle trims the spaces present in the textfield and also highlights the text present in textfield when ever I enter a space....
    Scenario : I want to use this trigger and refresh the search results based on the text present in the textfield.
    Thanks in advance

    To do the kind of thing you are talking about you will need to implment a Java Bean in your form listen for the changes. Take a look at KeyEvent Java Bean or the Oracle Forms PJCs-Java Beans web site for more information and examples.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • 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

  • Java class in oracle forms

    Hello experts,
                        I am new in oracle forms.I am using oracle forms 11g with weblogic 10.3.5 at windows 7.Someone please clear me that the injection of java programing in oracle forms is through BEANS item only or I can use it(java class) as a part of my oracle forms.I mean I have a Java class.Could I use this java class inside my oracle forms without using Beans Item.
    Thank You
    regards
    aaaditya

    In forms you can use java in two different ways
    1. On the client-side. Using java-beans you can extend the client-functionality of forms. The code will run on the client-computer in the context of the applet.
    2. On the server-side. Using the java-importer you can build a PL/SQL-wrapper around a java-class and so use the java-code in your forms-PL/SQL
    What is your reuqirement?

  • Popup menus in Forms 10g and Java Bean

    Hi all.
    What class in Java corresponds with popup menus(not in menu module) ?
    I know that oracle.ewt.lwAWT.lwMenu.LWPopupMenu is corresponds with MenuBar's submenu. I can find Buttons, Text Fields, Menu and other components in my Form-Applet, but I don't know how to find popup menus in forms through Java Bean...

    Hello François,
    I have created a java bean that dynamically creates a popup by left-clicking on the bean.
              Set_Custom_Property( 'BLOCK.BEAN', 1, 'ADD_ITEM', 'Item' ) ;
              Set_Custom_Property( 'BLOCK.BEAN', 1, 'ADD_SEPARATOR', '' ) ;
              Set_Custom_Property( 'BLOCK.BEAN', 1, 'ADD_ITEM', 'Item one' ) ;     
              Set_Custom_Property( 'BLOCK.BEAN', 1, 'ADD_ITEM', 'Item two' ) ;
    My problem is the layout. I want to simulate a button. I can't put the bean transparent over a button and I can't simulate a button with the bean.
    How can I add the popup functionality to a button and not only to the bean? Or any other workaround?
    Regards Pedro.

  • 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

  • Opening a secure web page from oracle forms for credit card validation

    Hi All,
    I searched for the topic in the forms forum but couldn't find a solution.
    Requirement: As per some compliance, our application cannot do a credit card validation from our forms application, instead we need to use a java code which a third party will provide ,it's an iframe (they say, i am layman when it comes to Java, don't know what is it), but they say that, within your forms application you call our iframe do the credit card validation over there get a token of response back from us and use this token as a confirmation in your application.
    Problem: I could not find a solution anywhere wherein i can call a web page from forms. Now, this web page should be modal, i.e. unless i close this page i cannot access my forms application. Please guide me if anyone has done that.
    Secondly if i could make it work, how will i communicate with this external web page, like getting back some token value and use it back in my forms application. I am completely clueless.
    As we are using Oracle designer for generating forms, we cannot use a bean type thing as designer does not have the bean-item type defined!
    Appreciate if anyone could provide me pointers for a solution to this problem statement.
    We are on forms 9i -- Version 9.0.2.11.0
    Edited by: the_wing_rider on Jul 8, 2011 5:10 AM

    The simple way to do it is to use a PJC (java bean) + apache httpclient library..
    If you have a webservice than you can use Axis library and wsdl2java to create java classes from wsdl.
    also you can use httpclient library to simulate http protocol (request/response actions)..
    (for example.. you have a credit card number.. you post this number to specified URL and then you parse the response from credit card validation server)..
    Post here some documentation (specification) on how to call the credit card validation .. (maybe it's a secure webservice?)
    Here you have a httpclient library documentation:
    http://hc.apache.org/httpcomponents-client-ga/tutorial/html/index.html
    Also you can implement bean area in designer.. If you need help I can post here how we do it in our project..
    also look here: Call webservice from PJC over https protocol
    regards
    Peter
    Edited by: Peterv6i on Jul 8, 2011 3:35 PM

Maybe you are looking for

  • Panasonic HDC-SD100 media card unable to capture on Final Cut Express 4

    No problems at all with transfer to i-movie but just purchased final cut express 4 and problems with capturing from the media card. Signal system on camera is 1080/50i. Have tried setting HD and 1080/50i in the easy set up but no joy. Have tried log

  • How do I get my TV to behave like a monitor?

    I have a MacBook Air 3.2 version. It does not have a thunderbolt display port, just the normal one. I connected the MBA to the computer via the HDMI slot. I want the TV to act as a monitor for my computer. In particular, I want it to play video files

  • BAPI or FM for t-code IW34

    Hi all, i need create service order for existing service notifications (like transaction IW34).  I have already used bapi BAPI_ALM_ORDER_MAINTAIN to create service order, but i dont know link or connecting the generated order with the notification. P

  • ONLY Net Value should hit the Sales Revenue GL account

    Hi, My client has a requirement where he does NOT want to hit PR00 & Discount separately to different GL account. They want that the net amount (i;e PR00 - Discount) should only be hit to Sales Revenue GL account. I removed the Account Key from this

  • Installation via pacman instead of pacstrap

    I am having problems with installing arch. Having downloaded various iso, I keep getting hit by problems with my CPU hanging at various stages in the pacstrap process. This happens when I use an older arch too (i.e. 2012.06-1-archboot-i686) which sti