Where are Java classes in Forms running

Hi,
I've got a question concerning the architecture of Java in Forms.
There are two possibilities to deploy Java classes for the use in Forms:
1. As a jar archive, defined in formsweb.cfg
The archives definied in parameter archive_jini are downloaded when the form is called for the first time. The Java class is then running in a JRE on the client.
2. In the codebase, not archived.
The Java class has to be placed in the Forms codebase (%9iDS_HOME%\forms90\java), with the full package structure (e. g. oracle\forms\demos\beans\Hyperlink.class).
My question is: Where will the class run in the second configuration? I suppose, on the server side. Am I right?
Thanks for your help.
Andreas

NO in that case it still runs in the browser JVM, using Jars or classes in this case only effects the downloading and caching - not the execution location.
Java code is only executed on the application server if you have used the Java importer feature to create PL/SQL stubs.

Similar Messages

  • Where are java classes stored?

    Does anyone where the java classes are physically stored?
    Is there any mechanism for getting them out?
    null

    Thanks, Irian,
    in the meantime I have found another solution. For Windows it works using environment variable IDE_USER_DIR.
    Create a new directory for the runtime files, e.g. C:\sqldevtemp
    Add environment variable IDE_USER_DIR with the value of "C:\sqldevtemp".
    Close SQL Developer, move (or copy if you want) all files from the old folder to the new folder and start SQL Developer again.
    Done.

  • How to run the imported java class in form

    Help!!!!!
    Pls help me to run the imported java class in forms.
    Package is created in forms while imported one class called
    singlexml.class and that package has one procedure and one
    function.
    I just wanted to run that class.I mean the new package.
    Thanks
    Anil

    Hi,
    It is because the converter works on byte code and it only supports a subset of the Java language (see the JC specifications). It is kind of like compiling you code on Java 6 and trying to run it on Java 5. The JCDK outlines the required compiler version.
    Cheers,
    Shane

  • Accessing Java Classes from Forms

    Is is possible to access a Java class from Forms? I have been
    creating an Active X control that returns a Java object, and from
    that I can call methods on that object, but I would really like
    to do that without having and Active X control in the mix. Any
    suggestions?
    null

    Oracle Developer Team wrote:
    : Robert Nocera (guest) wrote:
    : : Oracle Developer Team wrote:
    : : : hey robert -
    : : : Developer 6.0 provides this ability for web deployment.
    You
    : : can
    : : : insert your own custom Java components into your
    application
    : : and
    : : : they will appear in the application when it is run via the
    : web.
    : : : If you look at the documentation for 6.0, there are a few
    : : : section son Pluggable Java Components and JavaBeans that
    : : : describes what is provided and how you use the interfaces
    : and
    : : : classes we provide.
    : : : A whitepaper on this topic will be posted to the OTN
    : shortly,
    : : as
    : : : well as some samples that illustrate how to go about doing
    : it.
    : : : cheers!
    : : : -Oracle Developer Team-
    : : Thanks for the quick response. Is there any way to access
    : those
    : : classes without being in a web deployment. That's probably
    : not
    : : totally out of the question, but what we had in mind was
    : adding
    : : some Java Functionality (actually connectictivity to some
    EJBs
    : : that we have) to existing forms. Currently there forms are
    : not
    : : deployed in a "web" environment and are just run from the
    : forms
    : : runtime engine.
    : : -Rob
    : hey again robert -
    : there's no easy way (yet!) to call out from forms runtime
    : process to a Java application.
    : We've played around some with creating an ORA_FFI interface to
    : JNI and then wrappering this with PL/SQL code. We've been able
    : to make calling into an EJB running in 8i from a forms runtime
    : work using this approach.
    : Let me know if this is of interest to you and I can post the
    : stuff we've currently got. It's no more than a simple demo and
    : is not complete. It requires quite a bit of manual coding on
    : the PL/SQL side since the interface emulates JNI (FindClass,
    : GetMethodID, CallMethodID, etc.).
    : cheers!
    : -the Oracle Developer Team-
    I'd be interested in this ORA_FFI doc you've been playing with.
    Would you please email it to me or post it.
    null

  • Using java classes in forms

    Hi All
    Has anyone ever imported java class in forms and then run those forms successfully on web ??????
    Plz help ... its urgent ..... i m successfully running the forms after importing java code in client/server mode but unable to run on web.
    I have set the wrapper.classpath in jserv.properties file of apache but the form is unable to locate the java class.
    where to set the classpath then ????

    You have installer the JDK 1.2 (This software located in a Sun Microsystems Web Site), and you have a configure the your PATH:
    PATH=%PATH%;< path your JDK installed >;
    If you have Designer 6i installed in your machine, then your Enviromento Variable PATH = PATH=< path your JDK installed >;%PATH%;
    After configure the PATH, you have a create another Enviroment Variable CLASSPATH with:
    Example:
    CLASSPATH=C:\oracle\designer\TOOLS\COMMON60\JAVA\IMPORTER.JAR;c:\jdk1.2.2;
    Test your Forms 6i.

  • Importing java class from forms 6i

    Dear people
    I want to import very simple java class from forms 6i, i went to programs then i choose import java classes, then it gives me error message PDE-UJ1001 failed to create the jvm.
    please tell me how to solve the problem.
    Yasser

    +... not a Java question. Post moved from the New To Java to the Forms forum.+

  • Invoking Java classes from Forms

    We are running an AIX Forms server, and we would like to be able to execute a java class with two command-line parameters (ex. "java myClass.class param1 param2"). Is the "java" run-time executable available on AIX? I'm assuming it would be part of the JRE installed with Oracle 8.1.6, but where might I find it, and can it be called with the HOST() command?
    Thanks,
    Jonathan

    I think if you have forms server installed you will have a java runtime there on the disk somewhere.
    Regarding activating the java check out the "java importer" tool that comes with patch 4 of developer 6i.
    null

  • How to call Java class from Forms 6i?

    Hi friends,
    I need to call a Java class from my Forms 6i application.
    (It runs under WIndows XP. It's a client/server application and I have only the client and the Form builder installed on my PC)
    I don't know almost anything about Java's world so your help would be very useful for me.
    Could you tell me exactly what i have to do?
    I've read in metalink several Notes, but they supposed that the Java architecture is already installed in the computer.... I only have the default installation of Developer 6i... so I would need to know:
    - How to install/configure the neccesary to execute Java classes without problem
    - How to invoke the .class from Forms 6i.
    Thanks a lot
    Jose.

    And also this one:
    Problem Description
    Installed Forms 6i Rel 2 on a MS Windows machine. When trying to Import the Java
    Classes getting the errors
    PDE-UJI0001 Failed to create the JVM
    Solution Description
    You need to to install JDK 1.2.2 to run the Java Importer. And set the PATH's
    and classpath's correctly.
    Explanation
    1. Download and install the JDK 1.2.2.
    Possibly available at: http://java.sun.com/products/archive/
    2. Assuming the JDK 1.2.2 is installed in c:\jdk1.2.2 directory and the JRE in
    C:\PROGRA~1\JAVASOFT\JRE\1.2 directory; ORACLE_HOME=C:\Dev6iR2.
    Set the PATH to
    set PATH=c:\jdk1.2.2\bin;C:\PROGRA~1\JAVASOFT\JRE\1.2\bin;C:\PROGRA~1\JAVASOFT\JRE\1.2\bin\classic;%PATH%
    ( If you are using ias9i then the JDK 1.2.2 comes with the ias installtion ,
    in this case please set the PATH to
    D:\ias9i\Apache\jdk\bin;D:\ias9i\Apache\jdk\jre\bin;D:\ias9i\Apache\jdk\jre\bin\classic;%PATH% )
    3. Set the CLASSPATH to set CLASSPATH=%CLASSPATH%;C:\Dev6iR2\TOOLS\COMMON60\JAVA\IMPORTER.JAR;.
    (If you do not set the CLASSPATH correctly you will get the error
    PDE-UJI002 Unable to find the required java importer classes)
    4. Now run the Forms Builder by using the command.
    C:\Dev6iR2\bin\ifbld60.exe
    Now the Java Importer Should Run fine.
    Francois

  • Integrate java class with forms

    dear friends,
    i use forms9i under windows2000,
    i try to implement a java class for a bean area.
    i have some classes who oracle demo provide.
    I DO the following :
    save HTMLTextArea.class in <oracle_home>/forms90/java
    and property palette of bean i write the class name in implementation class property HTMLTextArea
    and also set the Forms60_Builder_Classpath varibale in registry(c:\ora9ids\forms90\java\HTMLTextArea so when i run this form then received an error
    " java.lang.NoClassDefFoundError: HTMLTextArea (wrong name: oracle/forms/demos/HTMLTextArea).
    plz solve this problem.

    I presume that you have to create the full path oracle/forms/demos/HTMLTextArea.class in the forms90/java folder...else,if you save there the java class without the full path (wich corespondds to the package oracle.forms.demos),the server won't find it..
    However,this is bad practice,to keep the class file on the server...create a jar file with this class,and add it the archive_jini tag in formsweb.cfg file..place the jar file in forms90/java folder

  • Where are Parser Classes?

    Hello,
    I hate to be new, but I am. I am running jdk1.3.1 and I working out of the xml tutorial. I have a simple java class that is including the following classes:
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.FactoryConfigurationError;
    import javax.xml.parsers.ParserConfigurationException;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.w3c.dom.Document;
    import org.w3c.dom.DOMException;
    // For write operation
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    When I try and compile this class (classpaths are all good) my system says it cannot resolve symbol for class Transformer, TransformerException, TransformerFactory, etc.
    I don't know where to find these classes? Don't they come with the standard j2se? If not where do I go for them?
    Thanks

    Those classes are part of the api JAXP. You can download the sun implementation here : http://java.sun.com/xml/downloads/javaxmlpack.html or Apache's one with Xerces (http://xml.apache.org).
    They are also included with the j2se but the 1.4 version : http://java.sun.com/j2se/1.4/docs/api/index.html
    Regards

  • Unresolve classes - significance? Where are these classes?

    Hello,
    Does it mean I cant use any of these methods? as they are listed
    as the status when I loaded xmlparserv2.jar via loadjava. Where
    are these stored if not on xmlparserv2.jar? I am able to run
    xsutest.sql and it seems to execute okay. However, I still can
    not run the paginating samples, where one scroll or sample no 6
    the one that uses oracle.xml.sql.OracleXMLNoRowsException.
    ORA-29521: referenced name oracle/xml/sql/dml/OracleXMLSave could
    not be found
    ORA-29521: referenced name oracle/xml/sql/OracleXMLSQLException
    could not be found
    ORA-29521: referenced name oracle/xml/sql/query/OracleXMLQuery
    could not befound
    ORA-29521: referenced name
    oracle/xml/sql/OracleXMLSQLNoRowsException could not be found
    ORA-29521: referenced name oracle/xml/sql/query/OracleXMLQuery
    could not befound
    ORA-29521: referenced name oracle/xml/sql/dml/OracleXMLSave could
    not be found
    ORA-29521: referenced name oracle/xml/sql/OracleXMLSQLException
    could not be found
    errors : oracle/xml/xsql/actions/XSQLInsertRequestHandler
    errors : oracle/xml/xsql/actions/XSQLQueryHandler
    errors : oracle/xml/xsql/actions/XSQLRefCursorFunctionHandler
    errors : oracle/xml/xsql/actions/XSQLInsertParameterHandler
    loadjava: 7 errors

    I have the oracle 8.1.7 on SuSE Linux. Okay, I didnt recall
    which loadjava capture I have done those, but the point of my
    question is still, does it mean those methods that could not be
    found are not available for to call from java? Also, I noticed
    that a lot of the classes are already resolved, I assume it is
    loaded the first time I loadjava them in?
    Which version of database are you using? Also, please see my
    comments below.
    Hello,
    Does it mean I cant use any of these methods? as they are listed
    as the status when I loaded xmlparserv2.jar via loadjava. Where
    are these stored if not on xmlparserv2.jar? I am able to run
    xsutest.sql and it seems to execute okay. However, I still can
    not run the paginating samples, where one scroll or sample no 6
    the one that uses oracle.xml.sql.OracleXMLNoRowsException.
    ORA-29521: referenced name oracle/xml/sql/dml/OracleXMLSave could
    not be found
    ORA-29521: referenced name oracle/xml/sql/OracleXMLSQLException
    could not be found
    ORA-29521: referenced name oracle/xml/sql/query/OracleXMLQuery
    could not befound
    ORA-29521: referenced name
    oracle/xml/sql/OracleXMLSQLNoRowsException could not be found
    ORA-29521: referenced name oracle/xml/sql/query/OracleXMLQuery
    could not befound
    ORA-29521: referenced name oracle/xml/sql/dml/OracleXMLSave could
    not be found
    ORA-29521: referenced name oracle/xml/sql/OracleXMLSQLException
    could not be found These classed are in xsu12.jar(or xsu111.jar)
    errors : oracle/xml/xsql/actions/XSQLInsertRequestHandler
    errors : oracle/xml/xsql/actions/XSQLQueryHandler
    errors :
    oracle/xml/xsql/actions/XSQLRefCursorFunctionHandler
    errors : oracle/xml/xsql/actions/XSQLInsertParameterHandler
    loadjava: 7 errors These classes are in oraclexsql.jar.

  • Help for using java class in forms 9i

    hi
    i have been trying to use java class in forms9i but unable to execute ,i have encountered exceptions,for which exception handlers have been declared like ora_java.java_error and exception_thrown but failed to handle run time errors , i have tried all ways from my side.
    my java class returns a simple string
    i need help on various work arounds
    thanks in advance
    yash

    sir
    i have written a simple java class which returns a string hello imported using a java importer in forms 9i
    and i call my class in when button press trigger
    i have also imported java.lang.Exception for my exception handlers,i have no compile errors,but when i run my forms i get run time error and my exception handlers fail to trap it . ihave no idea how to proceed .
    should i use bean area in form and call the class using fbean from custom item rigger if so please explain
    can i get sample code example for calling a java class methods from forms.
    thanks
    yash

  • Java class not found : Run

    Installed Siebel server in console mode successfully.Invoked siebel server configuration wizard as below and have been experiencing the java error:
    siebel5@laatsc68 /siebel2/scapps/sieb80/siebsrvr/bin
    # ./ssincfgw -args LANG=enu MODE=LIVE MODEl_FILE=/siebel2/scapps/sieb80/siebsrvr/admin/siebel_server_sia.scm -is:javaconsole -console
    InstallShield Wizard
    Initializing InstallShield Wizard...
    Preparing Java(tm) Virtual Machine...
    Running InstallShield Wizard...
    The java class is not found: run
    We are on AIX 5.3 TL10 .Please suggest how I can get around this hurlde.

    Maybe try to clear the cache when at home, then visit the page again in office to see if that's a caching issue:
    Start > Control Panel > Java > Under "General" tab, click the "View" button under Temporary Internet Files section.
    In the Java Cache Viewer dialog > Select "Resources" from the "Show" drop down menu, find the row that says Name=jreVerify.class, URL= http://java.com/jsp_utils/jreVerify.class
    p.s. You can sort the table view by clicking on the column head. You may want to delete other cache from java.com to detect the caching issue.
    Hope that helps.

  • Where deploy Java class in XI 3.0?

    Hi all,
      I have created a Java class for Jco connection and I have created .jar file.
    At this point where must I copy .jar file in XI server???
    And what activities must I do for using my classes with message mapping???
    Thans in advance,
          Michele.

    Michele,
    We are facing a quite similar situation with XI 3.0.  What we've found is that the only methods available for integrating Java code is either
    a) Import a JAR archive into a specific software component
    b) Create a Java proxy to a J2EE environment where you
    implement your Java as EJBs.
    We're still investigating these and other possible options.
    Perhaps you need to install your JAR archive into each of the relevant components (I'm not sure if this works.)
    Another possible alternative could be to identify where the JRE is installed on your XI server and deploy your classes in the lib extensions. (i.e. put your jar file in something like C:\j2sdk1.4.2_04\jre\lib\ext and restart the server) You should then be able to access these from anywhere, though I'm not sure what SAP would say about this solution.
    HTH,
    Patrick Parsons

  • Where are Java Preferences (Applet Runtime Parameters) saved on Mac OS X?

    Hi.
    If you want to modify the Applet Runtime parameters in Mac OS X, you need to use the "Java Preferences" application located under /Applications/Utilities.
    Suppose that I open the "Java Preferences" application, I select a specific JRE version, and I set a runtime parameter of "-Xmx300m" for Applets, in order to increase the max heap size.
    Now, where is this setting saved to?
    Until recent past, these values used to be saved in the <UserHome>/Library/Caches/Java/deployment.properties file.
    But this does not seem to be the case any longer.
    Does anyone knows where are these settings currently saved in Mac OS X? I am currently running Mac OS X v10.5.8 with Java 1.6.0_20 installed.
    Any help / hint would be greatly appreciated.
    Thanks,
    Marco.

    Check this out:
    http://developer.apple.com/documentation/Java/Conceptual/Java141Development/Core_APIs/chapter_6_section_3.html
    Hopefully that all fits on one line. Click around that website for just about any Mac-specific info you'll ever need.

Maybe you are looking for