Communication between 2 application

I am new to CEP framework and am basically trying to get my CEP application talk to another application(ADF based) hosted on a separate J2EE server. This is all happening on the same box. My underlying application server is Weblogic 11G(11.1.1.4).
I’m trying to use JMS adapters in CEP framework to accomplish this. Is this the right approach(using JMS adapters) to let 2 applications communicate to each other? Is there another alternative way?
Appreciate the help here.

If I have to send events from Oracle Service Bus, which one will be best with low latency? JMS /HTTP Adapter?
If HTTP pubsub server is used to push events, Can I directly send events from OSB to OCEP?

Similar Messages

  • Communication between ADF Application and third party tool

    Hi,
    JDev 11.1.1.5.0
    I am a new bee to SOA Suite :). I am looking for a suggestion on below usecase.
    We have Arbortext Editor which is a dynamic publishing tool for creating technical publication. We are planning to develop a UI tool
    using ADF/JDev. As POC, we are able to invoke our ADF application from Arbortext Editor as shown below.
    AccessURL accessURL = new AccessURL();
    String myURL = "http://127.0.0.1:7101/IFS_Object_Selector_1-
    ViewController-context-root/faces/object_selector_main?";
    java.awt.Desktop myNewBrowserDesktop = java.awt.Desktop.getDesktop();
    java.net.URI myNewLocation = new java.net.URI( myURL);
    myNewBrowserDesktop.browse( myNewLocation );
    So, Arbortext is having it's own JVM and can have standalone java program with main method. If we can able to provide communication between our ADF application and Arbortext JVM, that can solve our issue.
    We need to pass some information back to Arbortext editor from ADF application on some action (Button click).
    Can you suggest any clue on this?
    It would be really helpful, if you can provide some pointers for similar usecases.
    Thanks,
    Samba.

    Hi Samba,
    I'd suggest better raise it in he ADF forum.
    However, this should be possible by calling the Arbortext functions on click of ADF form buttons. Or you may send the information to a placeholder (JMS, File, DB etc.) from where Arbortext can pick that information.
    Regards,
    Neeraj Sehgal

  • Data Transfer / Communication between Live Applications

    Gurus,
    I am basically an E-Business Sutie Developer. This is my first experience posting questions in Application and Architecture community.
    Please read the following and let me know if this is the correct thread to post this question also it would be appreciable if you could provide suggestions / solutions for my question.
    Q:
    We are on E-Bus Suite 11.5.9 with custom applications built using Oracle Forms. Recently one of our department decided to buy a custom software to replace one of the application. There are other applications which we built still running in E-Bus Suite. The custom software is based on .NET and SQL Server. We at IT rite now researching how to data transfer between our existing applications and the new software. They both were in different platforms.
    This is a new initiative for us because all these years we use to work on oracle applications and this is the first time where we have to go away from our forte. This could be simple for people with experience in related field but this is challenging for us.
    Your views and suggestions are highly valuable.
    Thank You.
    Karthik.

    Hi,
    Thank You for the reply. Below are the notes from person who already did some of the research. I am not sure whether to go with the below mentioned or to research more...
    Below are the following options to load data from SQL server to Oracle, I read limited on each option. See if something convince you and I will explore more on that option..
    1.     Linked Servers: Linked Servers can be setup on the SQL server instance and then data can be pushed out to the Oracle schema.
    a. Limitation in terms of data type supported by provider/ODBC driver used for creating
    linked servers, Performance good for decent size tables
    b. Advantage: All SLQ based
    http://msdn.microsoft.com/en-us/library/ms188279.aspx
    http://www.codeproject.com/Articles/35943/How-to-Config-Linked-Servers-in-a-Minute
    2.     Oracle Hetereogeneous services: This is Oracle’s answer to Microsoft’s linked servers. By setting it up,
    this can be used to pull data from SQL server db and load to Oracle.
    Same limitations and advantages as 1.
    http://www.csee.umbc.edu/portal/help/oracle8/server.815/a67784/hs_ch6.htm
    3.     DTS (Data Trnasformation Services) or SSIS (SQL Server Integration Services) : Microsoft SQL server 2000 comes
    with DTS and SQL 2005 with SSIS.
    SSIS is robust than DTS for this job and can be used to load data up in the Oracle Schema.
    These tools can be used to provide a real ETL process for data loading.
    4.     Scripting Framework: Scripts can be written to bcp data from a SQL servere db and then use SQL Loader to
    load data to oracle schema
    5.     Third Party tools: A couple of third party tools also provide these options.
    -----------------------------------------------------------------------------------------------------------------------------------------------------------

  • Communication between desktop applications

    Ok here is my dilemma.
    I have one desktop application that will collect data and store in a database (among other things). This
    application is developed using Java.
    Then I will have another application on the same desktop that is going to poll the first application for
    different data with some intervalls. This second application will be developed with C# and .NET.
    How can i get this working (the easiest way)? I guess i could make the first appliction act as a server and
    let the second connect to it through a port and then simply send back information when it receives querries.
    However, it should just be internal for the desktop. No outside software should be able to connect to the first
    application, so it should not open up a socket public for connections.
    Is there someway to make this networking internal for the desktop?

    If you are saving the data from application 1 into a database, why not let application 2 read from the database? For example, use sqlite. It has drivers for java and Visual Basic and other languages. See http://www.sqlite.org/cvstrac/wiki?p=SqliteWrappers. You can use any databse engine that supports the languages you use.

  • Communicating between Air apps on local network?

    I am trying to build an AIR application that allows communication on a local network only.  Can I use the Local Connection to achieve this or is that only to communicate between apps on a single machine.  The functionality I am trying to achieve is simple check in/out app to let users know when someone is already working in a folder.   I already have the functionality built for this, I just need to be able to broadcast events to another AIR app on a local network.  Can anyone help or shot this down?  Thanks in advance.

    You are right: you can only use LocalConnection for communication between AIR applications (and SWF content in browsers) on a single machine.
    You may want to build a server application that the other AIR applications communicate with via a socket connection.

  • Communication between a driver and application.

    Communication between a driver and application.
    I am writing a driver for a PCI card. I have found very good examples of how the driver should be build.
    Where do I find the information about how the user mode application should be talking the driver.
    So If you have any idea that will help me, please let me know.

    Hi,Sir
    This for your reference.
    It will create pci adapter device node at /devices .
    You can use AP function call ioctl to Communicate with your device driver.
    static int
    xxattach(dev_info_t *dip, ddi_attach_cmd_t cmd)
    int instance = ddi_get_instance(dip);
    switch (cmd) {
    case DDI_ATTACH:
    allocate a state structure and initialize it.
    map the device�s registers.
    add the device driver�s interrupt handler(s).
    initialize any mutexes and condition variables.
    create power manageable components.
    * Create the device�s minor node. Note that the node_type
    * argument is set to DDI_NT_TAPE.
    if (ddi_create_minor_node(dip, "minor_name", S_IFCHR,
    instance, DDI_NT_TAPE, 0) == DDI_FAILURE) {
    free resources allocated so far.
    /* Remove any previously allocated minor nodes */
    ddi_remove_minor_node(dip, NULL);
    return (DDI_FAILURE);
    * Create driver properties like "Size." Use "Size"
    * instead of "size" to ensure the property works
    * for large bytecounts.
    xsp->Size = size of device in bytes;
    maj_number = ddi_driver_major(dip);
    if (ddi_prop_update_int64(makedevice(maj_number, instance),
    dip, "Size", xsp->Size) != DDI_PROP_SUCCESS) {
    cmn_err(CE_CONT, "%s: cannot create Size property\n",
    ddi_get_name(dip));
    free resources allocated so far
    return (DDI_FAILURE);

  • 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]

  • Communication between separate ADF Web Applications

    Using 11.1.1.5 of JDeveloper I have two Fusion Web Applications that each have a single "view" task flow. Those task flows will be dropped into regions within a WebCenter Portal application so they behave like portlets. I'd like to have a value from one app passed to the other app and have the second app respond to the change. It seems like it should take about 10 minutes but so far... two weeks without any progress. I'm incredibly frustrated. Does anyone have a simple list of the steps I need to perform to pass parameters between task flows? Please help! All I'm looking for is step 1: set up this, step 2: set up that. I can't believe it's this hard.
    All of the samples I find on line are about inter portlet communication with JSR 286 portlets, WSRP portlet producers or inter-component communication. I've read this too: http://www.oracle.com/technetwork/issue-archive/2011/11-may/o31adf-352561.html but I haven't been working with JDev and WebCenter for 5 years so it simply doesn't make sense. For example, one piece of sample code looks like this
    public void handleEventStringPayload(String customPayLoad) {
    FacesContext fctx = FacesContext.getCurrentInstance();
    ELContext elctx = fctx.getELContext();
    ExpressionFactory exprFactory =
    fctx.getApplication().getExpressionFactory();
    ValueExpression ve =
    exprFactory.createValueExpression(elctx, "#{backingBeanScope.mirrorPageBean}",
    Object.class);
    MirrorPageBean mirrorPageBean = (MirrorPageBean)ve.getValue(elctx);
    mirrorPageBean.setMirrorValue(customPayLoad);
    AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
    adfFacesContext.getCurrentInstance().addPartialTarget(mirrorPageBean.getMirrorTextField());
    Pretend I don't know the nine layers of technology involved here. Why in the world do I need all of this stuff in this order just to set a parameter... or is that NOT what this is doing? Why are they doing addPartialTarget? What does that do? Why do they have an EventObjectHandler and an EventStringHandler? The article is clearly written for an experienced WebCenter developer and that simply isn't me. If anyone has a resource that shows me how to pass parameters between web apps that actually explains the steps needed and why they need to be taken, that would be great.
    Thanks in advance for any help.

    Hi!.
    To communicate two regions (ADF Task Flows) in a WebCenter Portal Page you have "Contextual Events Framework".
    You can learn it following this Blog entries:
    http://technology.amis.nl/blog/3365/adf-11g-how-events-in-one-region-cause-other-regions-to-refresh
    http://andrejusb.blogspot.com/2010/10/contextual-events-framework-and-adf-11g.html
    http://www.oracle.com/technetwork/issue-archive/2011/11-may/o31adf-352561.html
    Video: http://www.youtube.com/watch?v=XIVom59Kq2U
    In addition, you can communicate two regions without Contextual Events following this entry:
    http://andrejusb.blogspot.com/2010/04/communicating-between-adf-regions.html
    Regards!
    Edited by: Daniel Merchán on 22-feb-2012 22:15
    Edited by: Daniel Merchán on 22-feb-2012 22:18

  • Communication between Applications

    I was wondering would it be possible to communicate (reference Vairables, Method, Functions etc..) between Applications. What I want to do is have my 1st Application return some variables which the 2nd Application will use to construct a Bubble Chart. If this is possible what is the code to reference between the Applications?
    Thanks.

    I made an attempt to try and communicate between 2 .swf files using the LocalConnection, but am not able to get it working. To recap what I was trying to do was:
    1st Application (.swf file) this application after a series of questions are answered I have functions that will calculate the values that will provide the data for the Bubble Chart, my 2nd Application (.swf file).
    Below are my functions that calculate the data for the ArrayCollection to the Bubble Chart. So Curr_Evaluation is what needs to be sent to the 2nd Application.
    public trace("NC is: " +Curr_Evaluation.getItemAt(0).NetworkChance); } public function setCurrEvalNI():void { Curr_Evaluation.getItemAt(0).NetworkInvestment = finalNetInvest.toFixed(2); trace("NI is: " +Curr_Evaluation.getItemAt(0).NetworkInvestment); } public function setCurrEvalNP():void { Curr_Evaluation.getItemAt(0).NetworkPotential = finalNetPot.toFixed(2); trace("NP is: " +Curr_Evaluation.getItemAt(0).NetworkPotential); } function setCurrEvalNC():void { Curr_Evaluation.getItemAt(0).NetworkChance = finalNetChance.toFixed(2); 
    I have a Submit Button on the 1st Application that when clicked I want the data to be sent to the 2nd Application. I have already got a function that handles the click for another purpose as shown below.
    private "Complete with this Process?", "Please confirm:", Alert.YES | Alert.NO, this, submitHandler); } private function submitHandler(evt:CloseEvent):void { if (evt.detail == Alert.YES) { setCurrEvalNP(); setCurrEvalNC(); setCurrEvalNI(); ExternalInterface.call( "SubmitPresentation", "True"); } } function onBtnSubmit(evt:Event): void { Alert.show(On the 2nd Application my code is as shown below
    If anyone can help with putting together with the code that I would need on my 1st and 2nd Application to make the communication between them, it would be appreciated.
    Thanks

  • Using clipboard for communication between applications

    I am facing a problem related to clipboard during a remote desktop connection. I have the same application both in a client (Windows 8) and in a server (Windows Server 2012 R2) and the communication between them is made by using clipboard. Before making
    the connection to the server through "Remote Desktop Connection", there is an option related to Clipboard in Local Resource tab which must be checked. I did it and when I run both programs they don't work as expected. They should exchange messages
    between themselves, however some messages are lost during the communitation (between the client and the server). I suppose there must be some kind of configuration I have forgotten to setup during installation of Windows Server 2012 R2. Perhaps something like
    that: http://www.technipages.com/unable-to-copy-and-paste-to-remote-desktop-session. Does anybody know if clipboard option should be set in an additional menu in order to clipboard to work properly in Windows Server 2012 R2? Should the client settings also
    be checked as above? I've seen many possible solutions on the Internet for similar problems like this, but none of them solved it. I'd appreciate any help anyone could give me.

    Hi,
    Thank you for your posting in Windows Server Forum.
    You can try to disable the “Do not allow clipboard redirection” on both server and client side with administrator permission under Group Policy on below mention path.
    Computer Configuration\Policies\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Device and Resource Redirection
    Hope it helps!
    Thanks,
    Dharmesh

  • Communication problem between air application from swf at browser

    Hi,
    I am trying to communicate adobe air native application from brwser using swf, I check for native application installed or not. If installed then launch and if not then install and launch.
    I am facing problem when browser crashes and communication get lost with adobe air native application. And when user restart web browser and try to make local connection for communication with native application, some times it get failed. so, how to handle this state please help.
    Thanks
    Nitesh Kumar

    Hi sinious,
    How could I clean up connection when browser is aborted or lost?
    below you can find the code snippet to check for air application and connection
    airSWFLoader = new Loader();
                                  loaderContext = new LoaderContext();
                                  loaderContext.applicationDomain = ApplicationDomain.currentDomain;
                                  airSWFLoader.contentLoaderInfo.addEventListener(Event.INIT, onInit);
                                  airSWFLoader.load(new URLRequest("http://airdownload.adobe.com/air/browserapi/air.swf"),loaderContext);
    function onInit(e:Event):void 
                                  airSWF = e.target.content; 
                                  switch(airSWF.getStatus().toString())
                                            case "available" : AirLoaderStatus = 1;
                                            break;
                                            case "unavailable" : AirLoaderStatus = 2;
                                            break;
                                            case "installed" : AirLoaderStatus = 3;
                                            break;
    private function getAppStatus():void
                                  clearInterval(intervalIdentifier);
                                  if(AirLoaderStatus == 0){intervalIdentifier = setInterval(getAppStatus,1000);return;}
                                  m_launchInstallBtn.visible = true;
                                  var statusInfo:String = airSWF.getStatus();
                                  airSWF.getApplicationVersion(m_installerFileName, m_pubID, versionDetectCallback);
    function versionDetectCallback(version:String):void
                                  if (version == null)
                                            trace("Not Installed");
                                            // Take appropriate actions. For instance, present the user with
                                            // an option to install the application.
                                  else
                                            m_isPluginsInstalled = true;
                                            // Take appropriate actions. For instance, enable the
                                            // user interface to launch the application.
    private function onlickMouse(event:MouseEvent):void
                                  m_text.text += "\nm_isPluginsInstalled:"+m_isPluginsInstalled+":::AirLoaderStatus:"+AirLoaderStatus;
                                  trace("\nm_isPluginsInstalled:"+m_isPluginsInstalled+":::AirLoaderStatus:" +AirLoaderStatus);
                                  switch(event.currentTarget)
                                            case m_launchInstallBtn:
                                                         if(AirLoaderStatus == 1)
           installAirsetup();
                                                      else
                                                                if(!m_isPluginsInstalled)
                                                                          airSWF.installApplication(m_url, m_runtimeVersion, m_argsToPass);
                                                                          airSWF.launchApplication(m_installerFileName, m_pubID, m_argsToPass);
                                                                else
                                                                          airSWF.launchApplication(m_installerFileName, m_pubID, m_argsToPass);
                                            break;
    in the above code snippet I pass localConnection for send and recieve as an argument in m_argsToPass.
    the connection names strarts with "_".
    In the air application I I split the event arguments like given below
    argsArray = event.arguments.toString().split(",");
    and then try to establish connection.
    Please suggest, how could I clean the connection on lost/ abort of browser, since then swf object embeded in browser also get lost.

  • Is in PI7.1 possible asynchronous communication between SOAP and ABAPProxy?

    Hi,
    when method execute_asynchronous has disapeared since XI/PI 7.1, is
    there still way how to use ABAP proxy in asynchronous way?
    We need to build asynchronous connection SOAP->PI->ABAP_Proxy.
    In PI, both interfaces are defined as asynchronous (outbound for SOAP and
    inbound for ABAP Proxy).
    Despite of this fact, when message is sent, it is processed
    synchronous way.
    I have set breakpoint in my implementation of method for ABAP Proxy
    message processing. When message is sent and breakpoint is reached,
    whole connection stays open (between SOAP and PI and between PI and
    ABAP Proxy) and waits for processing method (the breakpointed one) to
    return. Only when processing method returns, is connection finelly
    closed.
    If i understand it correctly, this is synchronous behavior. In
    asynchronous behavior, as i understand it, should be connection
    between PI and ABAP Proxy of application server closed immediately
    after message has been delivered. This mean before my processing
    method is even called.
    The same could be said about SOAP and PI communication. Connection
    should be closed immediately after PI has received message. From
    definition of asynchronous communication of PI is obvious, that PI
    should receive message correctly and close connection to sender system
    even when receiver is unreachable. It should deliver message later
    when, receiver system is back on line. So why it keeps connection to
    sender system open while it waits for receiver?
    Why is this happening, when both interfaces are defined as
    asynchronous? Could be the reason for this, if APPLICATION
    ACKNOWLEDGEMENT is set on by default? If so, how can i change it
    to SYSTEM ACKNOWLEDGEMENT, or disable it at all?
    Or is this kind of asynchronous communication even possible since
    XI/PI 7.1 ?
    Processing of message we are sending can take some time, so we dont
    want connection pending open while waiting for finish of
    processing. Thats the reason why we have chose asynchronous model to
    use.

    Quote from How to Use the J2EE SOAP Adapter:
    "If you select Best Effort, the Web service client will receive a response
    message in the SOAP body. Otherwise, the Web service client will not receive a
    response message if no error occurs."
    "if no error occurs" - that is the problem. In either case he still
    waits if some error occure or not. I dont want it. Once PI has
    received message, I want the connection with sender to be closed. If
    there will be error in communication between PI and reciever, I want
    to see it only in PI log. That mean no notification to sender to be
    send about that error.
    Is that possible?

  • Communication between iViews

    How to realize communication between two iViews of the same window but not the same portal page? I tried with using firing portal events but this doesn’t seem to work with Mozilla Firefox. Do you have any other ideas?
    The sending iView is a portal application the receiving iView a Web Dynpro for ABAP application (so I cant use JavaScript, I guess).
    Thanks!
    René
    Edited by: Rene Guenther on Jan 10, 2008 3:29 PM

    Hi Mrkvicka,
    To enable communication between iviews you need to use the EPCF .
    You can raise an event in the component of the first iview and define an OnClick event.
    this event you can subscribe from the other iview
    Refer to this link to get a more clear picture
    DropDown Selection and EPCF
    also refer to
    EPCF
    hope this helps,
    Regards,
    Uma.

  • Communication between two Macs Server

    Communication between two Macs Server:
    Can they work together and communicate and interact normally in a PowerMac network, OS X 10.5.8 Server installed, and a MacPro computer that is running Server 4.0.3 on Yosemite? Had to do some additional implementation?
    Regards

    from the JavaDocs:
    http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContext.html
    getContext
    public ServletContext getContext(java.lang.String uripath)
    Returns a ServletContext object that corresponds to a specified URL on the server.
    This method allows servlets to gain access to the context for various parts of the server, and as needed obtain RequestDispatcher objects from the context. The given path must be begin with "/", is interpreted relative to the server's document root and is matched against the context roots of other web applications hosted on this container.
    In a security conscious environment, the servlet container may return null for a given URL.
    Parameters:
    uripath - a String specifying the context path of another web application in the container.
    Returns:
    the ServletContext object that corresponds to the named URL, or null if either none exists or the container wishes to restrict this access.
    See Also:
    RequestDispatcher

  • Communication between non SAP and SAP

    HI,
    do you have some information about communication between non SAP and ERP (WebAs) SAP System ?
    I would like to receive an xml file or xml IDoc from a Java Plattform (non SAP) into our SAP ERP System as an own defined IDoc.
    remember: we don´t have a converter like XI.
    What about using a proxy (do you have some information/blog how to use that) ?
    What about using a webservice (do you have some information/blog how to use that) ?
    What about storing the xml on the application server (do you have some information/blog how to use that) ?
    How to transform xml to IDoc ?
    other methods ?
    Thanks for your help.
    Gordon

    Here is a link to connecting MS SQL Server with SAP using Open Hub connection.
    http://msdn.microsoft.com/en-us/library/dd299430(SQL.100).aspx
    This might give you some insight into connecting with Non SAP Systems.
    I have used the information from this link to export data from SAP to MS SQL Server.
    Good Luck.
    MP.

Maybe you are looking for