Web Application and Java Application

Hello,
I have a standalone Java application and a web application (JSP/Servlets) that I would like integrate. The standalone app. should send some information to my web app (which is not a problem), but then the user can be at this web app. for a while and then once he sees something he likes here, he can select it which should take him BACK to the standalone application. My question is whether something like this is possible?
If so, then how do i do it.
Also the web app and the standalone app run to 2 separate machines and 2 different JVM's.
Any kind of help will be great.
Thanks

Well let me describe the scenario in detail
We have a standalone java application that is good to search for data across an enterprise database. We also have another application which is web based and uses jsp's and servlets and is good for displaying data in different ways, let's say different kind of graps. Now the user will typically search for something using the standalone application and once he finds what he is looking for, then he might say that he wants to graph the selected data using this web application. Now this part is not too difficult as the standalone app can simply POST the selected information to the web app and the web app can then plot the graph. However, the tricky part is that this web application has the capability to allow the user to select let's say a bar and then get additional info. on that bar. Now to get this additional info. the web app. must contact the standalone app and tell it what bar was selected to get the additional info.
so my concern is how does the web app contact the standalone app. or even KNOW about this web app. Also, RMI is pretty flaky and i would much rather use web services to accomplish it. If that is the only way to go that is.
Hope that helps.

Similar Messages

  • What is the recommended way to launch a web-start enabled Java application?

    Hello,
    I have a simple web-start enabled Java application, which I can launch from a brower by entering :
    https://xx.xx.x.xxx/MyApp/launch.html
    This method would show me a page. I then had to click on a link to run my application.
    I noticed that I could also launch my program by entering :
    https://xx.xx.x.xxx/MyApp/launch.jnlp
    This method would run my application right away.
    I wonder if there is a recommended way to launch/run a web-start enabled Java application?
    Thank you,
    Akino

    user8708553 wrote:
    ..to directly launch my application and bypass the HTML page, why is there a need to
    display the HTML page and make the user do a click?There are a number of advantages to using the web page. Including..
    <li> An explanation to the end-user of what the application does (a 'sales pitch').
    <li> Provision of screen shots of the app. (more 'sales pitch').
    <li> A description of what security environment it requires, and why.
    <li> Access to using the deployJava.js* to ensure the end-user actually has Java installed & has a suitable minimum version of Java, before they ever get access to the launch button/link.
    * http://download.oracle.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html#deployingApplications

  • Invoke Workflow from Web Dynpro for Java Application

    I am working on a custom web dynpro for java application and when the user clicks the submit button the SAP standard workflow (WS50000041) should be invoked. Does anyone have experience they can share with me on how to achieve this functionality? It should also be able to attach an adobe form or read data from the form and submit the data as xml.
    Thanks,
    Ashley

    Hi Ashley,
    Use following code in RFC to invoke your workflow -
    DATA : w_subrc TYPE sy-subrc,
                w_wi_id LIKE swwwihead-wi_id.
    CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
            EXPORTING
              task                      = ' WORKFLOW - WSxxxxxx '
              language                  = sy-langu
              do_commit                 = 'X'
            IMPORTING
              return_code               = w_subrc
              workitem_id               = w_wi_id
            TABLES
              input_container           = it_container
              message_lines             = lv_swr_messag
          COMMIT WORK.
    With this code your workflow will get start. But u have to use workflow id in next application also in which your request is getting navigated. In that application you have to take this workflow ID and have to pass again in workflow using - PortalNavigation statements.
    After that this workflow will get start to publish in your TaskList (My Task) in Portal. Remeber that your all task should be maintained in workflow table by using SWFVISU  transaction.
    After that go to Portal and Re-Register your UWL so that your new Workflow ID will get usable in portal.
    With this way you would be able to use workflow with Web Dynpro Java using UWL and Workflow.
    Regards,
    Roshan Gupta

  • Web application and desktop application?

    Hi everyone,
    I am new to this platform.I have a basic doubts that whats the difference between developing application in flex as a web application and desktop application from programming point of view?Can we use same code in both cases?
    Please guide me....
    Thanks

    Hi and welcome,
    The main difference between a web application and a desktop application is that web applications do not have access and can't manipulate your local system ( you can't open a window that displays all your local files, you can't delete, rename, edit local files and so on ). Obviously, this is just one difference, there are many more ( the best would be if you google for "web aplication vs desktop application" because the same rules apply for 99% if not all the platforms you can find out there ).
    Desktop applications can have full control of your local system ( obviously, we have to take in consideration the platform we are using because since AIR is quite new in the desktop application field it is also more limited than other languages that have been used successfully to create desktop applications for years and year; like ce C# or C++ and so on ).
    Another important difference is that desktop applications usually need to be installed in order to function where on the other hand, web applications can run in the browser without you having to install the aplication you are about to view on your computer ( in some cases, like of the Flash and Flex platforms, you only require a "special player" that can display the content you are trying to access... for Flash and Flex applications you need the Flash Player installed for your browser ).
    So, before jumping into a project/platform you need to know your target. If you goal is to offer a fast, easy to access and no install required application to your users then you'll usually go with a web application. If your application needs to work with local files, maybe local databases, or it needs more control over the user's PC and so on, then you'll most likely go with a desktop application.
    With kind regards,
    Barna Biro

  • When to use WEb Dynpro application and Portal application in NW dev studio

    I would like to know what is the difference between
    webdynpro application  and EP Application using PDK.
    Are they comaparable  ...Which one has an edge over the other specific to any applications.
    I want develop an application related to e-commerce using the SAP R3 as backend for an industiry(where in a registered user can place an order and query on the staus of order. All the data will be stored in R3 ).
    I am planning to dev this using NW dev studio , but have an appehension about which application is useful for this kind of application either webdynpro or EP application .
    can anybody explain which one has edge over the other ( Webdynpro or EP applcations in context with NW Dev studio) and why.
    thanks
    PK

    Hi,
    <b>Webdynpro</b> is used when requirements ask for a prototype using minimal time n effort.
    Highly skilled programmers are not necessary to write a webdynpro application
    It uses dynamic controls without reloading the page.
    <b>Portal components</b> esp Abstract portal component provides a lean method to write HTML command to web client
    Large interactive components requires more programming.
    <b>WebDynpro</b> is a highly declarative, tool-based programming model. It minimizes platform-dependent "plumbing" code for building UIs and maximizes declarative metadata describing huge portions of a typical application in a platform-independent way.
    Web Dynpro follows a "top-down" approach in order to consistently support multiple runtime platforms.
    In Web Dynpro you just have to drag & drop the UI components.
    <b>Portal components</b> has followed a "bottom-up", programming-driven approach to Web development.
    Regards,
    Pooja.

  • Using project libraries for both web-based and AIR applications

    I need to develop substantial code to build both web-based and AIR applications.  Yes, they will have different features, especially when it comes to accessing files on the local file system.
    However, 98% of the code can be shared.
    I want to use a project library that can be used for both types of applications. Maybe using conditional compile when required to not use AIR API's in a web-based application.
    I found this (somewhat old) warning:
    Include Adobe AIR libraries Select this option if your library must use AIR features, such as access to the AIR APIs. Flex Builder then changes the library path of this new Flex Library project so that it includes airglobal.swc and airframework.swc. Web-based Flex projects cannot use this library.
    Do not select this option if you are writing a generic library intended to be used only in a web-based Flex application, or in either a web-based or AIR-based application.
    Does this apply to Flash Builder 4.5?

    I have found a workaround, but it's quite clumsy, involving a transfer vector (in old-fashioned terms) in the main application for each function in the AIR library.
    I have created a library for AIR classes only (fourdtext.fileOperations is there). 
    The AIR application provides "Function" values that any other code in the general-purpose libraries can use.
    It works, but it's nasty.
    In Main.mxml:
    import com.fourdtext.fileOperations.AxFiles;
    // this gets a list of native path strings, from and array of "File" objects
    public var AxGetListFunction:Function = AxGetListRedirect;
    private function AxGetListRedirect(list:Array):Vector.<String>{
        return AxFiles.AxGetList(list);
    In general-purpose code:
    var list:Array = event.dragSource.dataForFormat("air:file list") as Array;
    var AxGetList:Function = FlexGlobals.topLevelApplication.AxGetListFunction;
    listFiles = AxGetList(list);

  • Run Oracle Web Logic and Oracle Application Server 10g on same server

    Since oracle has chosen to release adf faces 11g, before the SOA suite 11g is released, we are facing the challenge to run both Oracle Web logic and Oracle Application Server 10g on the same server.
    If anyone have any experience in this setup or has knowledge of other feasable setups please let me know.
    Regards.
    Jan

    What version of Oracle Application Server 10g are you installing?
    If you are installing 10gR2 (v10.1.2.x) have you taken a look at point #70 in "Table 2 Additional Information for Certified Platforms" section here?
    http://www.oracle.com/technology/software/products/ias/files/as_certification_r2_101202.html
    Thanks
    Shail

  • Creating a class library in VS2013 that can be referenced by a VB6 application and newer applications

    I need to create a class library in VS2013 that can be referenced by a VB6 application and newer applications. I heard something about
    COM Interop but have no idea where to start. I am assuming I would develop a class library in VS2013 and then package the assembly for COM. Any good sample projects on this out there?

    Hello,
    >> Any good sample projects on this out there?
    Not suer if you are using C# as the develop language, if it is, i think you would find a lot of articles about this topic with your favorite search engine, here are some related links:
    COM Interop Part 1: C# Client Tutorial
    COM Interop Part 2: C# Server Tutorial
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Java Web Start and Java Preferences

    I am having trouble with Java Web Start and Java Preferences. I have tried reinstalling the update with the link http://www.apple.com/downloads/macosx/apple/application_updates/javaformacosx105 update6.html but to no avail. What else can be done ? Moreover the file /System/Library/Frameworks/JavaVM.framework/Versions/A/ seems to be in place, but Java Web Start wont open and Java Preferences can't access cache files. Any ideas about how to resolve this? I have been having issues with Java for a long time and have already done a clean Leopard reinstall and all the Combo updates. Java Web Start and Java Preferences worked correctly for a while after that but seem to have gone haywire again.

    bump

  • Why i didnt recieve notifications from msn application and facebook application if some body messaged me although all the settings are on???

    why i didnt recieve notifications from msn application and facebook application if some body messaged me although all the settings are on???

    Do you mean Account Settings in iPhone's Facebook app?

  • How to connect other mobile web browser to java application.

    I'm trying to write an application in j2me and wondering how can i take the requested url from the default web browser of mobile phone to my java application and download page using java application and send the downloaded data to that browser.
    I don't know any API that do this.
    Please help...

    take a look at [Java ME Content Handler API (CHAPI), JSR 211|http://java.sun.com/products/chapi/]
    - CHAPI +"...manages the action to handle [Uniform Resource Identifiers|http://en.wikipedia.org/wiki/Uniform_Resource_Identifier|Wikipedia article] (URI) based on a MIME-type or scheme. CHAPI provides the capabilities for browsers and native applications as well as Java ME applications to invoke other Java ME applications which dynamically extend the media types and capabilities supported by the device's application environment...."+

  • Forms 6.0 and JAVA Applications?

    We used until now Forms 3.0 with "User Exit Functions" written in Fortran to read data from Instruments. Currently we migrate the applications from Forms 3.0 to Forms 6.0. Is it possible to start a JAVA application (not applet!) out of Forms 6.0 to get data from a instrument? I have written a JAVA application that could do this job, based on Sun's javax.comm package.
    Thank You
    Heinz Grimm

    Hi,
    Oracle Forms 6i does not support Advances Security for SQL*Net if this is what your question is. ASO is supported with Forms 9i and above
    Frank

  • Deploying Oracle Express and Java Application in one installation

    Is there a way to deploy a Java application using Oracle express as the back end in one installation? So in other words, rather than installing oracle express separately from the application, we are looking to install from one executable including both the java application and all the necessary components for oracle express to run.
    Your help is greatly appreciated.
    Thank you,
    Mahmoud

    Hello,
    you can install the database using a response file. Depending on the installer of your Java application you could create a kind of meta-installer that creates a response file for the database as well as one response/parameter file for your application installer and hence run both in one step.
    See the [url http://download.oracle.com/docs/cd/E17781_01/install.112/e18802/toc.htm#BABCCGCF]corresponding section of the Installation Guide for details on the response file.
    -Udo

  • Timestamp differs between AQ table and Java application

    We are having the folllowing situation:
    A message is enqueued from a database trigger using DBMS_AQ.ENQUEUE.
    A message driven bean dequeues this message immediately. The message is an instance of oracle.jms.AQjmsTextMessage.
    I need to determine the time at which the message was enqueued.
    To do this, I use the method "long getJMSTimestamp()" .
    I expected the returned value to be almost the same as the result of new Date.getTime(), since there is no significant delay between enqueing and dequeing. However, the result of getJMSTimestamp() is about 7200000 (milliseconds) less than Date.getTime(), that is: a two hour difference.
    Both methods should return the number of millis in Unix format (since 1-1-1970).
    I have verified that the enqueue time stored in the queue table is the same as wall clock time, and is identical to the value of sysdate:
    select enq_time,sysdate from queue_table_text_myqueue t
    1 09-APR-09 02.14.52.203307 PM 9-4-2009 14:15:02
    I have tried two JDK's: HotSpot and JRockit. The chance that Date.getTime() is incorrect in both implementations seems minimal.
    The J2EE container is started with arguments:
    -Duser.language=en -Duser.country=US.
    The database server is configured with the following timezones:
    SQL> select DBTIMEZONE from dual;
    DBTIME
    +01:00
    SQL> select SESSIONTIMEZONE from dual;
    SESSIONTIMEZONE
    +02:00
    Client and server run on different hardware. When I execute "new Date.getTime()" simultaneously on client and server the results are identical (give or take a few milliseconds) so I know the clocks are synchronized.
    Any ideas?

    Hi Silva ,
    yeah , u can access only Transparent Tables data from SAP, u cannt access data from pool/cluster tables , in such cases u can make use of BAPI/create RFC enabled FMs to give data to ur Jave Application.
    Regards
    Prabhu

  • Ports required for communication between Web servers and service applications (the default is HTTP)

    We're using SharePoint 2010, I'm the system admin for a SharePoint farm. We enabled SharePoint Search by adding a Search Service APplication. One of the crawl report timer job is failing every 5 minte with the error "Cannot connect to remote server".
    After digging around, we found that the server running the timer job tries to connect to the SearchAdmin.svc on the index server, over HTTPS / port 32844 However, communication over SSL via a non default port is blocked by our firewall.
    According to this article: https://technet.microsoft.com/en-us/library/cc262849.aspx the default is HTTP for communication
    between web servers. How is it possible that it's trying to connect over SSL?

    Hi,
    Quoted from
    https://technet.microsoft.com/en-us/library/cc262849.aspx#ServiceApp :
    You can change the protocol and port binding for each service application. On the Service Applications page in Central Administration, select the service application, and then click
    Publish.
    Here is an article for configuring Windows firewall port rules for SharePoint using PowerShell in case you need:
    http://www.xylos.com/default.aspx?id=1050
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • Payload Tyoe Violation Errors

    Dear Netpros, We are having a 4E1 Cisco AS5350 Voice Gateway. Now when we run the command "sh spe voi summ" we see a lot of Payload Type Violation and Buffer Overflow errors as shown in the Output below. Any clue as to what is the source of these err

  • Data binding - Arraycollection and Datasource

    Hi All 1. Can any one paste a snippet of .MXML code and relevant WDA code (get_Attributes) for an ArrayCollection(Flex) and Datasource(WDA) data binding ? 2. What is the procedure to set default values for the flex components at application initialis

  • Toshiba LX835-D320​5 all-in-1de​sktop problem

    My questions is , when I turn the computer on it starts the power up phase and I hear the fan start but nothing comes up on the screen, and then he keeps repeating over and over almost like it doesn't want to start the boot up process of the bios or

  • Wrong number of unread messages N9

    One of POP3 accounts is misinformation about the number of unread messages. Where this information is stored and if we can change it. I have 0 messages in this box, but in accounts screen in Fenix i have 1 unread. Some days ago i try to delete one un

  • Problem while updating PO line item

    Hi, I am using ME_CONFIRMATION_UPDATE to update EKES table for mass PO confirmation and facing a problem . When we update it using the above FM used in our program after confirmation we are getting 2 records in transaction MD04 one for Shipping notif