Can I write java/EJB in forms 6i builder

Can I write java/EJB in forms 6i builder? As I want to know except PL/SQL, what other programming languages can be used in forms 6i

There are a couple of different ways - You can use ORA_FFI to call out to other foreign functions. You can use the Java Importer which creates PL/SQL wrappers to call Java. You can also integrate Java on the client side (Java Beans and Pluggable Java Components).
Info on this can be accessed from the on line help and there are a couple of good papers on OTN about the Java integration.
Regards
Grant Ronald
null

Similar Messages

  • Can´t write in a Planning form as user "admin"

    Hi! I can´t write in a new form that I create from a Planning Aplication. The option "read only" is not tilded and all dimensions in the form are level 0.
    I am connected as user admin and I can´t enter data from SmartView connected to Planning or Essbase nor from the form in Wokspace. I need help so I can submit data. Thanks!

    was it a domensional level security ? How did you resolve ?

  • Can i write java code in JavaScript function

    I want to call JavaBeans within JavaScript function. Can I do it?
    I have a button in JSP . When the button be clicked,the data be inputted will be checked by JavaScript function. If check is ok, then call a Bean's function to write the data to database.
    Please Help!

    well indeed u can write java code in javascript functions. But probably it will not work the way u want it to.
    when u say that u click a button, it means that some client side action is performed. Now if u wud require a java bean to be called then it means that the server needs to be contacted for the same, and if that has to be done, necessarily the form needs to be submitted.
    U can populate values from a java bean and then the same can be made available to a javascript variable / function when the page is loaded rather than, when the button is clicked.
    What u can do is on click of button u can process [display / calulate..etc ] the information which has already been got by the java bean.
    Kris

  • Can i write java in JSF

    i need to write java code in JSF. can i use scriptlet <%%> as i use in JSP? if not than How can i write?
    thanks..

    The short answer is no.
    The medium answer is yes you can, no you may not.
    The long answer is that there is always a better way to do it than writing code on the page. Its very tempting, it can be fast, it may even work. Either you or whoever comes after you will regret the decision. The problem is you'll probably end up not knowing what decisions your code is making and where they are being made. Force yourself to do it the "right" way and coming back to your pages to make changes will be a much more pleasant task.

  • Until how many lines can we  write java file

    in java file, how many lines can I write?
    Manybe It will depend on file system such as window, unix file system.
    but, I don't know the exact size.
    please let me know how many lines I can wirte in java file of window and unix file system.
    thank you in advance.

    A class and method implementation in source lines of code (sans comments and white space) should be as large as necessary, but no larger. Good design principals tend to drive towards smaller peices, but there is no one right size size limit.
    Personally, I suspect any method that has over 50 lines of code as being too large and probably refactorable. I also suspect any single class (or for that matter .java file) with more than 50 methods or more than 2000 lines of code as being too large and probably refactorable. But sometimes we might really need a 500 line method or an 8000 line, 200 method class. Maybe its a performance thing. Maybe it is just that complicated and too hard to break up. I doubt it occurs frequently, but I won't be shocked when I see it.
    Sometimes GUI classes (Swing and AWT) get really huge. Sometimes this is due to code generation, sometimes its just being sloppy. It pays to know the difference.
    But the Java langauge sets reasonable (if not overly generous) limits on bytecode and constant pool sizes If the Java compiler begins to complain that something you have built is is too large, face it, it probably is. It's like running into scope nesting or nested name (class in a class in a class...) size limits - usually not a good sign for the structure of your code.
    Chuck

  • Can't Import java class in form 10g

    Hi All,
    I have tried to call a web service from oracle form 10g
    so, I read your available document (How to call Web service from Form 10g)
    http://www.oracle.com/technology/obe/obe_as_10g/deploy/callws_fromforms/forms_webservice.htm#r1
    but when I've created a web service from WSDL file and I've deployed it to JAR file using Jdeveloper 10g (10.1.2.1.0).
    I tried to import it into form builder 10g but i have the error :
    java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    Please, can any body help me to solve this problem?

    Have you put the jar file in the classpaths??

  • 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

  • How can I write java code in web dynpro to show KM content document?

    Dear all developer
    SDN developer who have any easy example java code for get and show KM content documents(documents/com.xx.km/.). We are develop this project by Netweaver Studio 7.0 and using WEB Dynpro application.
    Thank for all comment and advice.
    Jumnong Boonma

    Hi
    i dont have the exact code but yes..i can refer to the link for Web Dynpro applications for the Portal.
    [http://help.sap.com/erp2005_ehp_03/helpdata/EN/42/fa080514793ee6e10000000a1553f7/frameset.htm]
    Here look out for Absolute Navigation.
    Hope it helps...
    Thanks..

  • Java silent error  form Process Builder

    Hi everyone,
    I am trying to run an executable in Windows using the Process Builder.
    Now, using the process builder to run the exe works fine but, if there is an error in starting the exe (for example, if there is any dll missing), then nothing happens and the program just quits where as, if the same dll is not present while running the exe by using actual windows command to run, I see an error dialog box specifying that the dll is not present.
    So my question is, how I can get that error to come up if there is an error in starting the exe like if an essential dll is not present.
    I created a test-case which you can try-
    public class Main {
        public static void main(String[] args) {
            try {
            ArrayList<String> commands = new ArrayList<String>();
            String filePath = "<Put absolute path of any executable here>";
            File commandFile = new File(filePath);
            String fileName = commandFile.getName();
            commands.addAll(Arrays.asList("CMD", "/C", fileName));
            ProcessBuilder pb = new ProcessBuilder(commands.toArray(new String[commands.size()]));
            pb.directory(commandFile.getParentFile());
            Process proc = pb.start();
            catch (Exception ex) {
    }try and run it once normally and once by removing a specific dll to run the same executable and you will see the time the dll is not present nothing happens.
    Thanks & Regards,
    Apar Suri.

    00jt wrote:
    You need to process the input & error streams.
    Try something like:
    Process proc = pb.start();
    BufferedReader out = new BufferedReader(new InputStreamReader(proc.getInputStream());
    BufferedReader err = // same thing with proc.getErrorStream()
    .... code to handle Bufferedreaders
    Usually people make another class to process the input/error (such as a "StreamGobbler")Much more that that. So as to avoid deadlock when the buffers fill, it needs to be processed in a separate thread if one does not merge stdout and stderr.
    >
    Read this:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html?page=1

  • Can't find Java Class

    I create Java Class from JDeveloper(version 9.0.4) and I open Oracle Form(Oracle Form Developer version 9.0.4) I set class path and builder class path complete but I can't import JAVA Class into Form.
    (Calling a web service from oracle appkication server 10g forms services)

    Hello,
    put the complete path/filename of your class in the FORMS90_BUILDER_CLASSPATH registry key.
    Francois

  • How can I choose java card?

    I'm new for smart card.
    I want to do project about security (It use authentication by MAC.) How can I choose the card and reader/writer? Have vender in thailand?
    If I bought normal smart card and reader/writer, can I write java on it? If it's possible , how can I do?
    Note that: I want only basic java card.
    Thanks

    I go to Schlumberger website. I found e-gate SDK kit ID. 401140.
    I want to know that it have more basic can I get to do my project?
    About gemplus? I go to gemplus website too, but I don't found more enough information to decided.
    Cloude you advise version of card and reader that can I get to do my project? (I have budget about $250)
    Can it work with Java Card 2.2 Development Kit by sun, if I buy only card and card reader?
    Thanks,

  • 11g Forms application, building in  ADF

    We have a 10g system that we are converting to 11g. I know you can fire off Java and ADF forms from Forms and vice versa.
    Wondered if anyone had any tutorials or info on how to do this.
    Were new to Jdev/ADF but have had a forms system for 15 years.

    This is interesting, since I just presented on this topic with a customer last week at the UKOUG - and the customer said "people say they want Web 2.0, but Web2.0 is just bringing the desktop experience to the browser - isn't that what Forms already does!"...and he is right. There is nothing to stop you developing your Forms to be more "web like" but still keep them in Forms - check out:
    http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/459564_en-gb.pdf
    Is Forms dated? Well it is a very mature product but if you can make it fit you needs then fine. Of course you are correct in that ADF and FMW give you many more opportunities which might open new channels for your application/business.
    If you want to look are redevelopment of FOrms into ADF check out
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/SummitADF/SummitADF_Redevelopment.pdf
    As Michael points out, you can call something like web.show_document to launch and ADF application, but you have to be careful, this is a separate transaction and you are not using the same database connection. So there is no "magic" sharing of transactions.
    You can also share business logic if you push logic into services and share between Forms and ADF.
    regards
    Grant

  • Can I write to a text file on local HDD from forms appl?

    Hi All,
    We have 8i database being accessed by 6i forms application using web-based arch. Clients are on windowsNT/window2000. Is it possible to dump some data in a text file from forms application (by pressing a button) on local hard disk? User is looking something similar to sqlplus spool in forms 6i. Is this possible? User is specific about file being created in local machine and not on server(utl_file/dbms_pipe). Any ideas?
    Thanks.

    You can find explanation and a quick start guide on PJCs on the Forms Upgrade Center at:
    I think the following code can give you a starting point for a PJC (based on text_item) that will do it.
    Also you will need to sign this JAR because you want to access the client machine - see the sigining paper on OTN.
    To activate this PJC you will use something like SET_CUSTOM_PROPERTY ('text_item1', 1, 'WRITE', :text_item1);
    In your form.
    import oracle.forms.ui.VTextField;
    import java.io.FileOutputStream;
    import oracle.forms.properties.ID;
    public class textio extends VTextField
    public final static ID WRITE = ID.registerProperty("WRITE");
    String a = "hello";
    public textio()
    public boolean setProperty(ID p0, Object p1)
    if (p0==WRITE)
    try
    FileOutputStream fileOut = new FileOutputStream("c:\\temp\\textio.txt");
    fileOut.write(p1.toString().getBytes());
    fileOut.close();
    } catch (Exception ex)
    ex.printStackTrace();
    }

  • How can I get Java to fill out form on web page and submit?

    I need to write a Java program that will submit a HTML form. I tried using POST already, but the only response I got back was the source code for the page itself. Looking more closely, I realized that there is a PHP script that will actually take the data from the forms and use it. How can I get Java to enter the data on the forms automatically and then run this PHP script? I don't need code, just a pointer in the right direction should do.
    Thanks in advance,
    Hasitha D

    hasithad314 wrote:
    I need to write a Java program that will submit a HTML form. I tried using POST already, but the only response I got back was the source code for the page itself. Looking more closely, I realized that there is a PHP script that will actually take the data from the forms and use it. How can I get Java to enter the data on the forms automatically and then run this PHP script? I don't need code, just a pointer in the right direction should do.
    If you are writing a program to submit a form,how come the PHP script come out of nowhere ? At this momemnt you are just writing some Java program,isn;t it ?
    My feeling is you are trying to edit some pre-written code.
    Is it ?
    Thanks.

  • How can I write the action attribute of a form dynamically using JSP

    I would like to do something like this:
    If the 'Accept-Language' of the http request is 'en', write out this in JSP:
    <form name='myform action="http://127.0.0.1/myservlet/en/>
    else if
    the 'accept-language' is 'es', write out this instead:
    <form name='myform action="http://127.0.0.1/myservlet/es/>
    else if no match
    <form name='myform action="http://127.0.0.1/myservlet/default/>
    How can I do that in JSP? I think this is simple enough so that I don' t need to use any of the Java Web framework/Java Beans.
    Thank you for any help.

    you can use a simple javascript for this:
    function setAction(lang){
       if(lang=="en"){
         document.forms[0].action="putYourservletUrlhere";
       }else if(lang=="es"){
         document.forms[0].action="putYourservletUrlhere";
       }else{
         document.forms[0].action="putYourservletUrlhere";
    }

Maybe you are looking for

  • Derivation of Batch number from billing documents

    Hi, The system picks up the batch number for the billing document when I do simulation thru KE4ST but when I release the billing document, it ends up in error of not finding the batch number. The system has default derivation based on table VBAP and

  • Problem of deploying the Application in WAS 6.4

    Hello, I have an Application deployed in Sap J2ee Engine 6.2. I want to deploy the same in WAS 6.4. i am trying to deploy using Deploy tool(deploy tool.bat). When i loaded the Ear file, it got loaded, but when deploying it after adding the Library re

  • Regarding modifying database from internal table

    Hi ABAP Experts, I am facing an issue regarding modifying DB table from itab. All the records of itab are not getting reflected in DB table using Modify statement. Syntax is as follows - Locking DB table using enque FM MODIFY abc FROM TABLE i_abc. Un

  • Can i use standard workflow for invoice block ? (BUS2081 . WS20000397)

    Hi Experts , Please any one help me to use the standard workflow for Handlinig invoices blocked(T-code MIRO ).  I want an email sent , when  PO invoice is posted and blocked with attched PDF format . checked Business object BUS2081 . and Workflow WS2

  • Why the devices in KSA does not have facetime ???

    I Bought an ipad air and iphone6  but they both does not have facetime,, i live in KSA,, could it be blocked here ?