APEX application integration into Java application

Hello,
I'm working on a new APEX application and I would like to integrate that application into an existing Java application.
The integration should be invisible for the end-users. Our application will have the same look and feel as the Java application.
The existing menu of the Java app will be extended with a new link. This link will then call our application.
Visually I was thinking about using an Iframe to display the content of the APEX application inside the Java generated xHTML.
This is however not the biggest issue.
We are working in a secure context and we thus need to make sure that our APEX application doesn't create a backdoor on the
security mechanism provided by the Java app.
Some options have come to mind, but the one that look best is this:
We keep the java application as the single point of entry for our end-users and make sure that the apex application is "hidden".
We could do this by means of some re-routing code in the java application so that the incomming requests there are send to the correct server (java or apex).
Then we will need to capture the response of the APEX application and place it inside the Java generated xHTML. The combined content is then send to the client.
Or we could place a reverse proxy server that does this for us.
The goal is thus that we can rely on the existing java application to cover the security and the navigation structure.
Any ideas on this ?
How-to's or other options ?
thanks & regards
Karel

In a project I am currently working on we do it using iframes and passsing parameters over a http link.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
-------------------------------------------------------------------

Similar Messages

  • How do i show vbscript into java application?

    hi
    how do i show vbscript into java application? ( looks like microsoft frontpage)
    or what is interpreter of vbscript for java ?
    thank you?

    There probibly isn't one.
    vbscript and java are rather different. You are better of opening a vbscript viewer from java as a sperate program.

  • How do i show javascript into  java application?

    hi
    ( please help me!!!!!!!!!!!!!!!!!)
    how do i run javascript into java application ?( looks like microsoft frontpage )
    thank you ?

    There is a JavaScript interpreter called Rhino implemented in Java, maybe you can use it: http://www.mozilla.org/rhino/

  • Crystal Report Server 2008 integration with java application

    Hi All,
    Any of you having complete document about Crystal Report Server 2008 integration with java application....like source code and what are all the jar files needed? Or tell me that the implementation is same as Crystal Report Server XI R2?
    Thanks

    Have you looked at the BusinessObjects Enterprise XI 3.x Java Developer Guide?
    [http://www.sdn.sap.com/irj/boc/sdklibrary]
    Sincerely,
    Ted Ueda

  • Launching Java Application From A Java Application

    Hello,
    I am building a compiler and would like to have run feature. The problem is I can not seem to figure out the righ syntax to run and application from my java application.
    Here is the code I am using to run an application:
    public void RunClass()
    try
    Runtime rtr=Runtime.getRuntime();
    Process pr = rtr.exec("java " + CurrentDirectory + FileNoExt);
    String line;
    BufferedReader rerr = new BufferedReader(new InputStreamReader(pr.getErrorStream()));
    if((line = rerr.readLine()) == null) { CompileMessageArea.setText("Program Running\n"); }
    while ((line = rerr.readLine()) != null) { CompileMessageArea.append(line +"\n"); }
    rerr.close();
    catch(Exception re) { re.printStackTrace(); }
    The following is an example of what the above would send to the:
    java c:\MyJava\Programs\test
    If you try to type something like that in a DOS prompt it will not work. You must first change to that directory, but I am hoping there is an easy way to change the syntax. On the other hand if you want to compile a program you can type:
    javac c:\MyJava\Programs\test.java
    and it will work just fine. This is kind of funny and I use this syntax for my compiler in my program. You would think that the same syntax would work the same for both compiling and running but it does not. So, I know that if I just know what the correct syntax that dos would except for running an application it would work.
    So, if you have the answer for me PLEASE LET ME KNOW.
    It is easily testable by keying it into the dos prompt.
    Sincerely,
    Eric Kohr

    If you want to do it that way you need to use the environment parameter of the exec() method. Use it to set your classpath to the directory that's need for the java application you are about to run... for instance.
    String[] env = new String[] {"CLASSPATH=c:\classes"}
    String command = "java somePackage.someProgram";
    Runtime.getRuntime().exec( env, command);Where your program is in the file "c:\classes\somePackage\someProgram"
    your mileage may vary :)
    You can also reflectively load classes into the running VM and invoke their main methods. This give you the ablility to control them a bit more.

  • Starting and stopping applications via a Java-application on Windows/Unix

    Hello,
    I want to start java and other applications via a java application.
    This java application should start several different applications on windows and
    on unix systems and take care of their current state (e.g. running/not running).
    For all applications to be started there are .sh-scripts for unix and .bat-scripts
    for windows. In the scripts there could be a java call, e.g. "java someApplication",
    or some executables could be called. These scripts set the applications' environment etc.
    and start the application finally.
    My java application calls these scripts via the ProcessBuilder API, which is working fine.
    But there is the following problem: on windows, when executing a script that starts
    some other application, the ProcessBuilder gives me process-handle to the started
    process. If calling destroy() on this handle, only the cmd.exe gets killed which
    started the application. The application itself is running on. This is undesired behaviour
    since I want to be able to control the started applications, at least start and stop it which
    is impossible that way.
    On unix, it is working when using
    "exec java someApplication"
    instead of just
    "java someApplication"
    in the .sh-scripts. The exec command substitutes the shell process with the underlying
    process started in the script, so everything is working as expected on unix.
    But how could I get this working on windows systems? Is there any equivalent to the exec
    command on unix? Any suggestions appreciated.
    If something's unclear in my description, please let me know.

    Yes - after looking at this option - I think that's the direction I am going to go. It probably makes sense to give my JMS topics and my BPEL server their own OC4J instances anyway - for a number of reasons.
    Lon

  • How to load word .doc-files into java applications?

    Hi,
    I want to load a word .doc-file (or any other type of document) into a java application, as part of the application.
    Is there any java special library to do it?
    Any solution or hint?
    Thank you.

    No, there is no existing Java library to do it that I am aware of. You could write your own, however, as the Word 97 binary file format is published. I am not sure that the Word 2000, or XP formats are as well, but since they put out the 97 presumably they'd do the same with the rest -- although I am suprised that Micro$$$oft even published the 97 format.
    A library such as this would take quite some time write, due to the extensive format, but here's a link to a copy of it just so you can see what it'd take: http://www.redbrick.dcu.ie/~bob/Tech/wword8.html
    Also keep in mind that Micro$$$oft has never remained binary compatable between versions. In short, this means that you'd have to parse each version's documents differently. Not a fun task.
    If a Java library to read Micro$$$oft file formats already does exist, I'm willing to bet that it costs $$$ mucho dinero $$$.
    Hey, aren't proprietary file formats just wonderful?

  • Import tool into java application.

    I'm creating a java web service & would like to know if there is a way to import a .exe file into the application so that it can be used in windows with having to be on the customers machine.

    I'm sorry, you're firmly in WTF territory here.
    That's a command to load an application via Java Web Start. It loads it from the server at 192.168.1.1. Running a Web Start application, once it's loaded onto the client, does not involve a browser. But getting it installed on the client does involve a browser.
    And you can configure a Web Start application to create a shortcut. You don't need to do it yourself, least of all from the application to which the shortcut should refer.
    I also don't understand the reference to "web services" and "turning the application into a web application", but probably your use of those phrases isn't related to their actual standard meanings.
    My advice: use Java Web Start in the way it was meant to be used. It works just fine that way. Don't try to help it out if you don't know what you are doing. Which you definitely don't, if I am understanding your idea correctly. Which I might not be.

  • Excel Sheet Drag & Drop into Java Application Q

    New to this forum. Have a question regarding the ability to drag and drop an Excel Sheet from an open Excel file onto a Java application. A friend has been able to drag and drop an Excel file from Windows Explorer onto a Java application and then read the sheets to select what you want and display/use the information in a particular sheet, I'd like to take it a step further to so that the user has the ability to be working in Excel and then drag and drop individual sheets into a Java application as they desire. Is this latter option possible?

    Hi,
       Hope the below links helps...
    Re: upload & download files 
    https://wiki.sdn.sap.com/wiki/display/WDJava/Uploading%20excel%20file%20using%20WebDynpro%20for%20Java
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417600)ID0729285250DB01215080400348251106End?blog=/pub/wlg/6603
    Thanks,
    Prakash

  • Crystal Reports into java application

    Can anyone help me out in generating Crystal Reports in a java application.

    Yes google the forums here, there is a link to a website that deals specifically with Java and CR, CE, RAS.
    HTH

  • Integrating two Java application

    I need to integrate two Java applications.
    Can you recommend any articles or share your experience in this field.
    Thanks.

    Thanks for the response.
    Unfortunately database solution is not acceptable, that's why I am looking for Java solution, I was thinking about SOAP or other XML based solutions, but I need more info or maybe a comparison of different solutions, their pros and cons.

  • Invoking BPEL process into Java application

    Hi,
    I have created a student admission form using Java in eclipse editor.I want send the total payload to bpel process.For that i need to call bpel from java application.
    So If any one have any idea regarding this,please share with me.
    With Regards
    Jyoti
    Edited by: Jyoti on Mar 16, 2011 5:23 AM

    Hi,
    a BPEL process is exposed by a WSDL reference. Create a JAX-WS proxy client and call the WS port therein from Java. The port then grants you access to the exposed methods in BPEL. Before you ask how to create a JAX-WS proxy client in Eclispse - I don't know as this is JDeveloper forum. So you may want to post the question to an Eclipse forum. I can tell how you do it in JDeveloper though
    Frank

  • Import PHP-Array into Java-Application

    Hi!
    I want to call a PHP-Script from inside my Java-Application. The PHP-Script can return an array.
    How do I use a PHP-Array in Java and how do I import it????
    Thanks! =)

    thanks! =D
    one last question:
    -how would i have to change my example to make a
    https-connection?
    Did you try
    URL theURL = new URL("https://www.mysite.com/myscript.php");It works that simply. The only complication is if your server is set up for https or not. This is an Apache (or whatever webserver you are using)problem not a PHP problem.
    I think it gets upset if you try and use certificates with problems (self-signed etc) but not having tried this (I have only used it with certificates that are otherwise trustable) I don't know that for sure.
    Once upon a time I asked a question about using https as a client in Java and I got a variety of answers including doing mystic stuff with my keystore but I tried the simple and obvious and it works like a charm. At least from an Applet but I see no reason an application won't work the same way.
    Anyway try the simple and easy and see if that works for you. You might find that it does.

  • Integrating a Java application in Forms

    Hello,
    I've developped a 3-tier Java application and i'd like to make it plugable with a Forms Application.
    I searched and read a lot of docs about the iView Interface but I'm asking myself some questions :
    What I am supposed to do with my java code ? put it in a jar ? import in Forms ?
    I'm using eclipse and isn't used to javaBeans, J2EE, war and so on... I don't know how to get started
    thanks for any help

    Hello,
    What do you mean by "plugable" ?
    Do you want to handle its methods from the Forms module ?
    Look at the Forms FBean internal package that provides built-ins to invoke the public methods stored in your Java program.
    All you have to do is to copy the jar file in the /forms/java directory and add the name of this jar file to your archive or jinit_archive tag of the /forms/server/formsweb.cfg file.
    Francois

  • Opening a java application from a java application

    I am trying to write a simple patching application for a program I am writing. The application must work on both Windows and Mac computers. The program is compiled into a single jar file. To patch the program, I'd like to see if an update is available, download the update if it's available and if the user requests it, and then apply the patch. Since this is a very simple, relatively small program, the "patch" is actually just a newer version of the jar file.
    I've haven't had any problems in detecting or downloading the updated jar file. The problem I'm having is that I can't overwrite the old jar file with the new one while the program is running (of course). Therefore, I wrote a separate patch program that does the actual downloading and replacing work. The order of operations should look like this:
    Open program -> Check for patch -> If user wants to patch then...
    Open patch application -> Close program -> Patch application downloads new jar file and replaces old jar file -> Open original program -> Close patch application.
    However, I can't seem to open the patch application from the original application. I'm using Runtime.getRuntime().exec("java -jar patchApp.jar") but I'm not getting any output whatsoever, neither the program running nor an exception. Can anyone suggest something here? Any help is appreciated.

    However, I can't seem to open the patch application
    from the original application. I'm using
    Runtime.getRuntime().exec("java -jar patchApp.jar")
    but I'm not getting any output whatsoever, neither the
    program running nor an exception. Can anyone suggest
    something here? Any help is appreciated.I've had bad results using the Runtime.exec method. It doesn't seem to be very reliable, at least not in Windows (that's probably not Java's fault.)
    Can you run java by just typing java at the console or do it have to be qualified. Make sure your patchApp.jar argument is in the correct case also.
    I gave up on exec and use JNI to delegate this task to native code. That's going to a little more complicated if you are running in two environemts.

Maybe you are looking for