Pluggable Java Beans examples using Native IE mode

Hello
I would like to know if anybody has tested JPC using IE=NATIVE
setting to avoid using JInitiator
I have tried and done the following
I downloaded a JPC from http://forms.pjc.bean.over-blog.com/categorie-453384.html to try add File chooser functionality
I tried it useing Jinitiator and it works perfectly.
i then added the jar file to ARCHIVE_IE
archive_ie=f90all.cab,GetImageFileName.jar
The java console gave a message indicating that the JAR has been skipped.
I figured that i need to convert the jar file into a CAB file
I Used cabarc.exe to create MS archive cabinets
1- I extracted the GetImageFileName.jar file to an oracle directory
2- Archived again to MS format
cabarc -r -p n GetImageFileName.cab oracle\*.*
3- I included the cab file in the formsweb.cfg as follows
archive_ie=f90all.cab,GetImageFileName.cab
4- I ran the form, no error was generated, but at the same time the
function was not executed (no dialog poped up).
If you are wondering why i am not using webutil, it is because the user
does not want to use Jinit. Webutil does not work without Jinit.
thanks
Regards
Ammar Sajdi
www.e-ammar.com
www.realsoft-me.com
www.palco-me.com

While trying to work with PJC on Forms REL 2, i noticed that the default FORMWEB.CFG does not have all setting related to Native IE
Can anybody confirm if NATIVE IE is no more support in REL 2
Ammar Sajdi

Similar Messages

  • How to make countdowntimer in java bean to use in jsp form

    i make an aplication in jsp with XHTML MP format..i have problem to maka a countdowntimer in java bean to use in the jsp form.could anyone help me with this problem

    Use JHelp, downloadable from Sun. This is a quit big package, you have to read a lot before applying.
    http://java.sun.com/products/jfc/tsc/articles/javahelp/index.html
    enjoy
    sergio

  • Simple Java Bean Generator use

    Hello everybody,
    I'd like to know if someone managed to use the Simple Java Bean Generator, useful tool for web dynpro application in order to import complete database model.
    I read the doc, and I think it's usable for SQLServer database. My command is as follows :
    java -D com.sap.test.DBTest com.microsoft.jdbc.sqlserver.SQLServerDriver sa 123erty TSP c:\GenerateDB CONFIG
    where CONFIG is my database name, sa/123erty the couple login/pwd, and TSP the pattern (what does it mean pattern in this case ?).
    When executing this command, the response is : datasouce not found and driver not specified...
    I don't understand, can someone help me please ??
    Thanx.
    Message was edited by: Sistiaga Marc

    Thanks about your answer.
    Without code modifying I wan't to use it with a Maxdb database.
    Which driver is ucurrently used ? com.sap.dbtech.jdbc.DriverSapDB ?
    Where do i have to launch this script knowing that my J2EE engine is installed in a linux platform ?
    My command become :
    java -D com.sap.test.DBTest com.sap.dbtech.jdbc.DriverSapDB SAPNW1DB SAPNW1DB CC_ c:\GenerateDB CONFIG_DB
    and i always get the response : datasource not found,n driver not specified...
    Am I wrong to try this generator in a windows platform where j2ee engine is in a linux platform ??
    Thanx a lot in advance !

  • Problems with the ActiveX bridge for Java beans when using third-party .jar

    I encountered the following problem when using the ActiveX bridge for a java bean:
    I am using JDK 1.4.2_09 and MS Visual Basic 6.0 (SP6). I wrote a java bean called ProcessViewer (my class ProcessViewer inherits from JComponent and implements the interfaces Serializable and AdjustmentListener) which I would like to use within a VB 6.0 application. I used the ActiveX bridge (packager.exe) to generate a DLL (ProcessViewer.dll) and registered it successfully. The java bean GUI-control works fine within my VB 6.0 application unless my java bean (ProcessViewer.jar) uses any third-party .jar files.
    But when I tried to add a reference to some third-party class (com.sap.xxx.xxx....) I got some problems. I could solve the problem with packager.exe by setting the correct CLASSPATH. But at runtime my VB 6.0 application does not work. It crashes or it reports an error like this: "The control ... could not be loaded from axbridge.dll" (although I deployed my .jar file correctly to the directory C:\Programme\Java\j2re1.4.2_09\axbridge\bin and lib). Setting the CLASSPATH environment variable before calling my VB 6.0 application (exe) did not solve the problem.
    How can I teach my VB 6.0 application (containing the Java bean ActiveX control) where to find the third-party .jar file? Copying the third-party .jar file to the JRE lib-folder or to the axbridge\lib folder did not solve the problem either.
    I studied the documentation about the ActiveX bridge given at:
    http://java.sun.com/j2se/1.4.2/docs/guide/beans/axbridge/developerguide/index.html
    but I am missing informations on how the third-party .jar files can be found during runtime of the ActiveX container (e. g. a VB 6.0 application).

    See how to solve your problem with JNI:
    http://codeproject.com/cpp/OOJNIUse.asp
    More examples (for SWING) in tools setup:
    http://www.simtel.net/product.php[id]95126[SiteID]simtel.net
    http://www.simtel.net/product.php[id]94368[SiteID]simtel.net
    http://www.simtel.net/product.php[id]93174[SiteID]simtel.net

  • Where to place the class file of the java bean when using the packager

    I am using the activex bridge in j2se 1.5.0_06
    now i have created the jar file for my bean but where do i place the class file?
    i.e the bean..if i keep it in jdk\bin the packager gives me an error..i created a folder in my public jre jre\axbridge\bin and placed the class file there too but even this didnt work
    Kindly tell me what is the fully qualified package bean name if i have placed all my files under jdk\bin..

    D:\Java\jdk1.5.0_06\bin>packager -reg d:\java\jdk1.5.0_06\bin\PersonBean.jar Per
    son
    Processing D:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\\Person.idl
    Person.idl
    Processing D:\PROGRA~1\MICROS~2\VC98\INCLUDE\oaidl.idl
    oaidl.idl
    Processing D:\PROGRA~1\MICROS~2\VC98\INCLUDE\objidl.idl
    objidl.idl
    Processing D:\PROGRA~1\MICROS~2\VC98\INCLUDE\unknwn.idl
    unknwn.idl
    Processing D:\PROGRA~1\MICROS~2\VC98\INCLUDE\wtypes.idl
    wtypes.idl
    Registration failed:
    The packaged JavaBean is not located under the directory <jre_home>\axbridge\bin
    this is the error i get

  • Compiling Java Bean Example FileUploadUtility

    Dear Oracle Gurus,
    Trying to compile the FileUploadUtility example I have some problems:
    It seems that the following libs are missing.
    import oracle.forms.*
    import oracle.ewt.*
    Do I need any additional libraries ?
    Is there any documentation how to compile the sample ?
    thank you for your help !
    Leopold Zyka
    [email protected]
    null

    Hi
    Yes I can find
    $ORACLE_HOME/forms60/java/ewt and
    $ORACLE_HOME/forms60/java/bali
    * I am using JDeveloper 3.2.3
    What do I have to do ?
    Is there any path I have to set to this package so that the import works ?
    * Where can I find the following package ?
    import oracle.forms.ui.VBean;
    import oracle.forms.ui.CustomEvent;
    import oracle.forms.handler.IHandler;
    import oracle.forms.properties.ID;
    regards, Leopold Zyka
    null

  • Using java bean with jsp

    hello friends,
    i'm new to jsp. i want to create an html form that accepts username and a value from four radio buttons and display back the entered name and checked radio button's value using java bean.
    i use the <jsp:setProperty id="" property="*"> method. i don't know how to access the radio buttons value from the html.
    also when i use an additional field other than username the jsp page is showing error.
    Please give me the correct method to use java bean with jsp in this circumstance.
    thank you.

    thank you, but i have a problem left. the case is like this.
    i got the jsp and bean worked fine when i have a sinle input text field.
    but when i added a second text field i recieved the following error.
    javax.servlet.ServletException: basket.newbean.getUserPass()Ljava/lang/String;
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
         org.apache.jsp.newform.process_jsp._jspService(process_jsp.java:69)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    where userPass is the new form element. I have made the subsequent chanes in my bean program and jsp file.
    pls hlp.

  • Can we use an overloaded constructor of a Java Bean with Session Tracking

    Hi Friends,
    If any one can solve my query.... It would be helpful.
    Query:
    I have a Java Bean with an overloaded constructor in it. I want to use the overloaded constructor in my JSP.
    1. One way of doing that is to use it directly in the "Scriptlets" (<% %>). But then I am not sure of the way to do session tracking. I think I can use the implicit objects like "session", "request" etc. but not sure of the approach or of the implementation method.
    2. Another way is through the directive <jsp: useBean>. But I cannot call an overloaded constructor with <jsp: useBean>. The only alternative way is to use the directive <jsp: useBean> where I have to write getter and setter methods in the Java Bean and use the <jsp: setProperty> and <jsp: getProperty> standard actions. Then with this approach I cannot use the overloaded constructor.
    Can any one suggest me the best approach to solve this problem ?
    Thanks and Regards,
    Gaive.

    My first reaction is that you can refactor your overloaded constructor into an init(arguments...) method. Instead of overloaded constructor, you can call that init method. This is the ideal solution if possible.
    As to the two choices you listed:
    1. This is OK, I believe. You can use scriplet to define the bean and put it into session scope of the pageContext. I am not sure exactly what you meant by session tracking; whatever you meant, it should be doable using HttpSessionAttributeListener and/or HttpSessionBindingListener.
    2. Agreed. There is no way that <jsp:useBean> can call a constructor that has non-empty arguments.
    Please tell me how it works for you.

  • Calling Portal Service using result as Java Bean Model impossible?

    Hello folks,
    we try to achieve to call a portal service (working) which gives as a result a list of object of type com.foo.Report. We want to make use of this class as a model class, so we have the class as a model node in the context. The class itself is part of the service DC.
    Unfortunately at run time it gives us a NoClassDefFound Exception of com.foo.Report.
    As the com.foo.Report is part of the same DC as the service, it is no option to add the PAR public part to the used DCs of the WD DC because then there is this type conflict when we call the service (service look up). Or am I wrong and this is the way to do it? I mean I struggled quite a while to get the service look up right and needed to remove all the PAR/lib used DCs from the used DCs of the WD Project, when I got it working this Model error came up. I also tried to put the Model class in a separate DC but that caused the same error.
    how is it possible to call a Portal service from WD and using it's return vale as a Model class
    our system iis 7.0.17
    best
    Stefan

    Hi,
    Refers the following docs..
    EJBs in Web Dynpro Application Using Wrapper Class
    Here Java Bean Model used in web dynpro.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00be903b-8551-2b10-c28a-8520400c6451
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c
    Accessing database table using EJB and web dynpro
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70929198-0d36-2b10-04b8-84d90fa3df9c
    Oracle Connectivity with EJB using WebDynpro Application
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/oracle%2bconnectivity%2bwith%2bejb%2busing%2bwebdynpro%2bapplication
    Hope it will help u.
    thanks
    Abhilasha

  • Use Java Bean or Java Importer

    I have created my java class to validate a user against LDAP and now I would like to use that class in my own 9i login form. In order to pass the class variable values to the form is it better to create a java bean or use the Java Importer? Which is better for performance?

    Mike,
    Java Beans added to Forms are downloaded to teh client as part of the application startup. The jar files get permanently cached on teh client until they are renewed on the server. For your original request, the funtionality already exists in a Forms9i demo
    http://otn.oracle.com/sample_code/products/forms/files/Forms9iOID_DEMO.zip
    Viewlet:
    http://otn.oracle.com/sample_code/products/forms/demo/9i/forms_services_demos/sso_oid_integration/viewlet/forms_integration_oid/OID90_viewlet.html
    To authenticate
    <Java Importer class package>.authenticateUser(<obj ORA_JAVA.JOBJECT>,user_dn VARCHAR2,password VARCHAR2) RETURN BOOLEAN;
    Frank

  • When we can go for a java bean

    Hi,
    i would like to know when we need or when it will be useful the java bean in a client-server application deveoped by using forms 6i, could abybody help without a link .
    Thanks
    Bcj

    Hi ,
    In General words , using JavaBeans / PJC's (Pluggable Java Components) is used when you want to extend your Form Funcionality to Java , on other words , if you have a case on which that Forms API and packages can not help you then you can develop/use a Java Bean or PJC , take a look at this PDF (you don't like Links :) sorry ):
    http://www.oracle.com/technology/products/forms/pdf/269054.pdf
    Regards,

  • Need Help Regarding JAVA BEAN

    Is any one tell me that JAVA BEAN only used in WEB or also you in Desktop applications???? and aslo tell how i implement Java class and use JAVA BEAN. I need help regarding above matter
    thanks in advance
    Rehan MIrza

    Here is a good link that indicate that JavaBean is not only for applets
    http://java.sun.com/docs/books/tutorial/javabeans/whatis/beanDefinition.html
    quote:
    The JavaBeans API makes it possible to write component software in the Java programming language. Components are self-contained, reusable software units that can be visually composed into composite components, applets, applications, and servlets using visual application builder tools. JavaBean components are known as Beans.
    Francois

  • Java bean + Map Tile Server

    We have Oracle 10g Release 2 And AS + Mapviewer Patch 4.
    Question:
    Is Java bean based API can use map tile server, i. e. to fetch tile from cache of Map Tile Server?
    Why i asking?
    We use function addMapCacheTheme, and mapviewer takes pic from the Map Tile Layer.
    In user guide no ever mention about this functions and about ability of java bean to use Map Tile Server.

    You can find a sample Java Swing application that does just that on my blog here:
    http://oraclemaps.blogspot.com/2008/09/displaying-map-tiles-in-your-java-swing.html
    It contains full source code and can be easily configured to display map tiles from any MapViewer instance.
    thanks

  • Java bean timer

    hi i'm using oracle 10g r2 [windows xp]
    i have form which is related to a java bean and i downloaded from http://sheikyerbouti.developpez.com/beantimer/beantimer.htm
    when i pressed start button the time start and press stop the time stop..
    but i want to if i pressed start button the time start and stop it automaticlly in one minute..
    i have done lot of technique but i failed please help me

    Hello,
    -- When-Button-Pressed trigger --
    set_custom_property( 'BLOC.BEAN_ITEM', 1, 'initTimer', '60000');
    set_custom_property( 'BLOCK.BEAN', 1, 'Start', '');-- When-Custom-Item-Event trigger (:block.bean) --
    set_custom_property( 'BLOCK.BEAN', 1, 'Stop', '');But honestly, for a timer that fires every one minute, you do not need any Java Bean. Use the Forms internal timer ;-)
    Francois

  • Missing Enterprise Java Beans Node

    I downloaded the Studio Creator 30 day trial version.
    But In the server navigator pane there is no Enterprise Java Beans node listed.
    How can I enable the Enterprise Java Beans Node in Studio Creator? Or is it a limited version?
    Please reply asap.
    Thanks in advance

    Hi.
    Porduct version information was as follows....
    Java Studio Creator(Build 040903).
    Does this mean that I need to upgrade my IDE to update 7?
    Thanks a lot for the reply. I almost spent half a day trying to enable the Enterprise Java Beans Node using creator options.
    And can I deploy an ear file to creator which I have compiled using JDK1.5?
    Thanx again.
    Look forward to hearsing from u soon,
    Kevin

Maybe you are looking for

  • Looking for a good movie maker app for iPad 1

    Hi Everybody-   I am looking for a good Photo/Movie maker for the iPad 1. Something that I can add Photos/Movies together and add some songs and have editing capabilities for all of it and possiabily export it as well to my PC to burn to DVD/CD. So i

  • USB dongles no longer working with hub

    Hello, I am running Logic Pro and a couple of 3rd party plugins which require usb dongles. All of a sudden the usb dongles are no longer found when connected to my 4 port usb 2.0 hub. This was never an issue in the past. Any ideas what might have cau

  • 403 error accessing ADF app /  500 Internal Server Error accessing page

    Jdeveloper 10.1.3.2 AppServer 10.1.3 I have developed and ADF-BC application. It runs great using the local embedded oc4j server. I setup a deployment profile and used the ear file to deploy to the application server. It deploys without error. When I

  • How to create two or more Automated Row Fetch on 1 Page

    Hello! Please help me to create 2 ARF processes from 2 different tables but on one Page. Is it possible in Apex 4.0? Thank you!

  • Veeery Slooow (Dom +quite large xml file)

    I have an xml file, where is 50000 to 100000 xml elements like this: <mittaus> <pvm>25.1.2006</nimi> <klo>12.10.27.234</klo> <arvo>44</arvo> </mittaus> When I try to print the contents of the XML file with this code: File file = new File(gv.FilePath(