Can php pass info to a java client-side program?

hi!
can a php script on a remote server (activated thru command line or whatever) pass data over the internet to a java client-side program? if so, how?
thanks!

if it is listening to a known port, how would the data be passed?
thanks!
Not unless the Java program is listening on a known
port.
Yours,
Tom

Similar Messages

  • Does anyone know of a product I can use to script over a Java Client for Or

    Does anyone know of a product I can use to script over a Java Client for Oracle Forms edition 9i??????????

    You should post your question in the Forms the Developer Suite forums. It is found at:
    Forms

  • How can i load file into database from client-side to server-side

    i want to upload file from client-side to server-side, i use the following code to load blob into database.
    if the file is in the server-side, it can work, but if it in the client-side, it said that the system cannot find the file. i think it only will search the file is in the server-side or not, it will not search the client-side.
    how can i solve it without upload the file to the server first, then load it into database??
    try
    ResultSet rset = null;
    PreparedStatement pstmt =
    conn.prepareStatement ("insert into docs values (? , EMPTY_BLOB())");
    pstmt.setInt (1, docId);
    pstmt.execute ();
    // Open the destination blob:
    pstmt.setInt (1, docId);
    rset = pstmt.executeQuery (
    "SELECT content FROM docs WHERE id = ? FOR UPDATE");
    BLOB dest_lob = null;
    if (rset.next()) {
    dest_lob = ((OracleResultSet)rset).getBLOB (1);
    // Declare a file handler for the input file
    File binaryFile = new File (fileName);
    FileInputStream istream = new FileInputStream (binaryFile);
    // Create an OutputStram object to write the BLOB as a stream
    OutputStream ostream = dest_lob.getBinaryOutputStream();
    // Create a tempory buffer
    byte[] buffer = new byte[1024];
    int length = 0;
    // Use the read() method to read the file to the byte
    // array buffer, then use the write() method to write it to
    // the BLOB.
    while ((length = istream.read(buffer)) != -1)
    ostream.write(buffer, 0, length);
    pstmt.close();
    // Close all streams and file handles:
    istream.close();
    ostream.flush();
    ostream.close();
    //dest_lob.close();
    // Commit the transaction:
    conn.commit();
    conn.close();
    } catch (SQLException e) {

    Hi,
    Without some more details of the configuration, its difficult to know
    what's happening here. For example, what do you mean by client side
    and server side, and where are you running the upload Java application?
    If you always run the application on the database server system, but can't
    open the file on a different machine, then it sounds like a file protection
    problem that isn't really connected with the database at all. That is to
    say, if the new FileInputStream (binaryFile) statement fails, then its not
    really a database problem, but a file protection issue. On the other hand,
    I can't explain what's happening if you run the program on the same machine
    as the document file (client machine), but you can't write the data to the
    server, assuming the JDBC connection string is set correctly to connect to
    the appropriate database server.
    If you can provide some more information, we'll try to help.
    Simon
    null

  • How can we pass the select-option value to modulepool program?

    hi,
      how can we pass the select-option value to modulepool program ?
      Because if i declared select-options in executable program and i used SSCRFIELDS to define push buttons in selection screen.
               My requirement if enter the values to select-options and press UPDATE pussbotton then i want call screen which contains tablecontrol.
               How i get select-option values to PAI of call screen for getting the data from database table to my internal table?

    Oh I thought that you have selection-screen and again you are working on dialog programming.
    if you want to use select-option directly in module pool then it is not possible.
    but you can do other way.
    create two varaiables
    data : v_kun_low like kna1-kunnr,
             v_kun_high like kna1-kunnr.
    use these two variables in layout ,let user knows that he can not give options like gt,lt,eq ,it will be always BT.
    and also when you see normal report program,you can use multiple values in either low or high,but here it is not possibel.
    use can enter only low value and high value.
    when you come to program point of view
    declare one range
    ranges r_kunnr for kna1-kunnr.
    do the coding like
    r_kunnr-low = v_kun_low.
    r_kunnr-high = v_kun_high.
    r_kunnr-options = 'BT'.
    r_kunnr-sign = 'I'.
    append r_kunnr.
    now you can use r_kunnr in select query ,it will work like select-option.
    other than this there is no option.
    Thanks
    Seshu

  • Can form be run in the java client?

    I create a java client based on SWING.I want to use form
    in my java client.
    Is it possible? Can I use java client to run .fmx ?

    Hi Frank,
    Is there no way to communicate from a JAVA client to the form applet? I require this functionality to set the oracle forms global variables?
    Many thnx

  • I need user management system in PHP recommendations to work with Flex client side

    Hi All,
    I have a very big project that involves PHP server side (That i have to develop) and Flex client side. I was wondering it there is a ready made PHP user management system that i can use to provide me:
    - user login/logout
    - forgot my password functionality
    - register (better with captcha)
    Does someone can recommend this kind of php system?

    Hi, guys
    Free and open source PHP User Management Scripts. These scripts  provide a solution of creating a membership system of a website.
    Some PHP user management scripts listed on PHPKode.com. which you can choose the right php user management to meet your demands!
    Hopefully can help you!
    Best regards!
    Anny

  • Passing parameters between server and client side

    Dear All
    I writing a server-side web service and using wsdl to expose its methods for a 'client' to use.
    However, i need to make sre the clients creates a soap header? How can i tell the client it must create a soap header?
    Also can someone tel me how i pass a value from the server-side to the client-side and also get a vlue from the client soap message
    Many thanks

    In your wsdl you would have the header as part of the input for example, see the operation below:
    <wsdl:operation name="foo">
    <soap:operation soapAction="http://www.foobar.com/foo" style="document"/>
      <wsdl:input>
       <soap:body use="literal"/>
       <soap:header message="tns:FooSoapHeader" part="MySoapHeader" use="literal"/>
      </wsdl:input>
      <wsdl:output>
       <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>

  • Can we create export dump files on client side??

    Hi,
    Please see this link
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_overview.htm#i1010293
    Check the "NOTE" which says that
    All Data Pump Export and Import processing, including the reading and writing of dump files, is done on the system (server) selected by the specified database connect string. This means that, for nonprivileged users, the database administrator (DBA) must create directory objects for the Data Pump files that are read and written on that server file system. For privileged users, a default directory object is available
    So does this mean, the dump files can be created only on the server???
    What if i want to create the dump file on my client c:\
    Is it possible??
    As per my knowledge, this was possible in 9i
    Thanks

    Yes in the "orignal" export ,it was possible to have a client side dump file.But the Export DataPump uses the Directory parameter which maps to a directory on the server side only and the option to give an absolute path for the dump file on the client side is removed,the files can be only on server side.
    Aman....

  • HP4275A can not pass self test after running the labview program

    I am using Labview to control HP4275A LCR meter. The Labview program is just the instrument driver for the HP4275A, and it works great. Before running the program, the instrument can pass both Open and Short test perfectly. But after running the program, it can not pass self test, neither Open nor Short. I don't know why?? Is it relative to my Labview program??
    Thanks

    Thank you so much for your help. Yes, the instrument is in Local after running the instrument driver. In normal Open self test, just choose Capactiance as the Display A, and leave the four output terminals open then press the Self Test button. The Open self test will start and "OP" will be shown in the DIsplay A window, after 2 seconds, the open test will be finished. If something abnormal, the number of the abnormal step is displayed in Display A. Similar with the Short test.
    The problem I had was: before running the instrument driver, the self tests pass; but after running the instrument driver, the Open and Short test show abnormal, Open test is abnormal at step 17, and Short test is abnormal at step 24.
    And the instrument driver is only write commands into the instrument and then read back measuring values from it. Nothing else. So I am not sure if the problem is my instrument driver.
    The weird thing is the problems happened several times and then if I do the Open and Short self test again after running the instrument driver, both pass. I am not sure whether the problem will come back or not.
    Ia there any help??
    Big thanks

  • Hi,can anyone guide me on what is client side database & grid database.....

    what is client side database & grid database..........and what is the difference between Dataguard and stand by database() these are interview questions.........i am dba learner pls explanin me.......
    thanks u all...

    I'm not trying to be funny or mean, but, in my experience, if you don't know what a product/tool/component is, then you should say so. If you give the impression that you do know about a technology in your interview and you are hired based upon that premise, you might find yourself struggling mightily when your employer asks you to 'implement DataGuard by the end of the week'...
    Just some advice. Good luck in your interview!

  • Error running a client side program through the worklist app

    I am trying to run a simple client side application (actually just a command script
    that does a pause). I construct a send xml to client with a "call-program" message
    with attributes of name="c:\testscript" and mode of async.
    It appears that I need to register the program - how do I do this?
    SecurityException: Cannot execute the system command "c", because it has not been
    registered in the
    WLPI Security Manager configuration file C:\Documents and Settings\nvernon\WLPISec.properties
    java.lang.SecurityException: Cannot execute the system command "c", because it
    has not been registered in the
    WLPI Security Manager configuration file C:\Documents and Settings\nvernon\WLPISec.properties
         at com.bea.wlpi.client.common.WLPISecurityManager.checkExec(WLPISecurityManager.java:141)
         at java.lang.Runtime.exec(Runtime.java:548)
         at java.lang.Runtime.exec(Runtime.java:477)
         at com.bea.wlpi.client.worklist.WorklistPane$6.run(WorklistPane.java:1441)
         at java.lang.Thread.run(Thread.java:484)

    The reason I asked about the computer OS was in case you needed to do a clean install of iTunes. It works differently on the Mac computer than on Windows. A complete uninstall and reinstall on a Windows computer requires you to follow specific instructions in a support document, while on a Mac, I have read you just have to reinstall over the old one.
    I'm not sure if installing/updating to iTunes 11 would be the same on Windows or not, but since you report using a Mac, then it is probably a mute point. Good luck.

  • Client Side Programs?

    Hi Guys. I want to know what are the Softwares needed in client side (End User) ?Does JBoss Needed at Client Side for J2EE application?

    it depends entirely on how you want the "end user" to interact with your application. if it's an rmi api, the end user will need to include some jboss jars. if it's a webservice or a web site, then the end user will not need any jboss specific jars.

  • Can I pass info from a frame to another and paint with the new info.

    I want to compare two string one by one and then paint the result as a matrics. such as
    string1 = "ATTACGT"
    string2 ="CAGTCAT"
    then compare and see how they are same or different for every alphabit. then paint the result with a matric style. What can you help? Use applet, swing or other? Thanks.

    You can do this even with simple comparison inside loop and print what you want with SOP formated by space

  • Can't pass params in xsql java program

    I tried xsql java program in the xml dev guide.
    It seems that the program failed to recognize the params.
    Here is my code:
         Hashtable params = new Hashtable (3);
         params.put("docid", "801");
         params.put("orderby", "citeid");     
         params.put("xml-stylsheet", "none");
         req.process(params, new PrintWriter(System.out), new PrintWriter(System.err));
    I used the command line to run the xsql page with 2 params above, and it works fine.
    Does anyone know how to solve this problem?
    thanks,

    Ignore this post. Seems one package was in an 8.1.5 calling the xmldom packages in an 8.1.6 database. Problem fixed by moving calling package to the same database.

  • Java Client-Side Frameworks

    I am looking for frameworks which provide guidelines for building standalone client-server applications(Swing/AWT based UI), preferably based on MVC architecture.

    I am working on a generic Thick client architecture spec. You can download it from...
    www.geocities.com\jonathan_s_simon\generic_client_arch.doc
    Also, check out the IBM DeveloperWorks Thin Client Framework
    http://www.alphaworks.ibm.com/tech/tcf
    For deploying thick clients, check out Java Web Start
    www.java.sun.com\products\javawebstart
    Hope this helps,
    -jonathan

Maybe you are looking for

  • SSL: Connection reset by peer ; Failed to enable crypto error while calling the report using bing API with SOAP client

    Hi, I am trying to fetch report using bing API and making a SOAP call for fetching the data. I get the following error: [Warning] fopen(): SSL: Connection reset by peer [file] /var/www/sites/psmedia/perfectstormmedia/tools/class/msn_api.class.php [li

  • Transaction code for report

    Hi All, I am new to SAP area. I have created ABAP program (Report and variant) which generate list of materials. User would like to run whenever they want and have little knowledge of SAP. So I would like to provide Transaction code for this report t

  • Changed column order not applied to interactive report

    Hi, I've changed column order for interactive report. But it is not applied. How can I solve this issue? Thanks, Guy

  • Oracle BI apps implementation

    We are planning to implemt orcale financial analytics for Oracle Apps R12 12.1.3 Can you let know the important documetations that I should refer. Thanks Rajagopal

  • Populating a Tree

    Iv a tree that i want to populate with a  result set from the server. This rs will have rows where each row will be catergoised , so current , sent , failed etc I need to populate the tree so that it will look some thing like current      Order 1