To contact 3rd party application from within EJB container

What are the possible options to communicate with an external application from within EJB container? Options that I can think of are
- RMI
- JMS
- Socket communication
- HTTP
- any other option???
And if anyone can give the pros & cons of the different approaches, based on their experiences it will be great.

Hi,
There is one more.
Web Services which is much powerful than any other.
Ofcourse for this also u have to use socket communication and http protocol.
SOAP(Simple Object Access Protocol).. I think u got it..
I prefer SOAP as it has many adavantages over RMI and other.
Thanks,
All the best.
What are the possible options to communicate with an
external application from within EJB container?
Options that I can think of are
- RMI
- JMS
- Socket communication
- HTTP
- any other option???
And if anyone can give the pros & cons of the
different approaches, based on their experiences it
will be great.

Similar Messages

  • How to call a CORBA Object in a 3rd Party ORB from a EJB

    Hello
    I found a few articles on the web how to call EJBs for example from C++.
    However, I want to do the inverse. I want to resolve an Object (implemented in C++, using OmniORB) via COS-Naming and invoke it from a EJB. I can write a simple Java Client which does this without a problem. But as soon as I try to do the same in EJB I get the following:
    [#|2004-11-09T10:48:16.848+0100|WARNING|sun-appserver-pe8.0.0_01|javax.enterprise.resource.corba._DEFAULT_.rpc.transport|_ThreadID=12;|"IOP00710209: (INTERNAL) Unable to create listener thread on the specific port"
    org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 209 completed: No
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3142)
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3160)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryAcceptorImpl.initialize(SocketFactoryAcceptorImpl.java:60)
    at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:190)
    at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.addToIORTemplate(CorbaTransportManagerImpl.java:207)
    at com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:104)
    I think there is somehow a conflict because the SUN Appserver also uses CORBA. My Code looks like this:
    String[] a = null;
    Properties props = new Properties();
    final String CORBA_HOST = "arcos";
    final String ORB_INITIAL_PORT = "2809";
    props.put("org.omg.CORBA.ORBInitialPort", ORB_INITIAL_PORT);
    props.put("org.omg.CORBA.ORBInitialHost", CORBA_HOST);
    org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(a, props);
    So I thought this might be because there is already a ORB initialised. So I replaced the last line with
    org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
    Which should give me an ORB instance. However I get the following exception:
    [#|2004-11-09T11:51:59.206+0100|WARNING|sun-appserver-pe8.0.0_01|javax.enterprise.system.stream.err|_ThreadID=15;|
    org.omg.CORBA.NO_IMPLEMENT: vmcid: SUN minor code: 201 completed: No
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.genericNoImpl(ORBUtilSystemException.java:7085)
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.genericNoImpl(ORBUtilSystemException.java:7107)
    at com.sun.corba.ee.impl.orb.ORBSingleton.resolve_initial_references(ORBSingleton.java:311)
    at com.ascom.util.CorbaNaming.resolve(CorbaNaming.java:26)
    at com.ascom.fxm.FileManager.<init>(FileManager.java:46)
    at com.ascom.srv.file.web.FileImporterImpl.importFile(FileImporterImpl.java:146)
    Any ideas? Thank you very much in advance.
    Oliver Jaun

    Perhaps you could take a look at the following document and see if it meets your needs:
    http://java.sun.com/j2se/1.4.2/docs/guide/rmi-iiop/interop.html

  • How to prevent 3rd party applications from changing FF settings (e.g. homepage)?

    On Windows 7 (Firefox 15 Beta) i cancelled installation of an unwanted application, but it changed the firefox homepage and added a search engine. How can i prevent this from happening in the future - is there a firefox setting or are this changes entirely managed by windows?

    For your current problem, you can use [https://addons.mozilla.org/en-US/firefox/addon/searchreset/ https://addons.mozilla.org/en-US/firefox/addon/searchreset/] to revert these settings.
    Unfortunately there isn't a real way to prevent this from happen. You can, when installing programs, make sure you read through every setting, and not install toolbars, search engines, etc. However, if the program is malicious they may not give you an options and will just install it anyway.

  • Any links i open from 3rd party applications do not open in firefox.

    To be more precise, when i click a link, Firefox does open however it does not visit the URL. It simply opens a new session. I have started Firefox in safe mode and the problem occurs, i have reset firefox to default preferences and the problem still persists. I can see no problems in the setting of Firefox itself and have already tried all the fixes available.
    I am using Firefox 29.0.1 on Fedora 20 64x

    As i stated, when i click links from 3rd party applications, such as skype; a youtube link or something similar. Firefox opens a new session however it does not visit the clicked url

  • Accessing SAP Transaction Screen from 3rd party Application

    Hi friends
    We have a requirement where we want to access a transaction screen in SAP from a 3rd party application.
    Can anybody guide us, as to how can this be done through ITS, if at all its possible??
    Kindly guide...
    Thanks in Advance

    what sort of 3rd party application, you wanted to show the sap gui screenin the 3rd party application?
    if its a web application, then you can just embedd the sap gui screen using frame/iframe with its url for that transaction.
    if its a windows based desktop application, you can use sapgui scripting to do the same.
    Raja

  • Export PR data from R/3 to 3rd Party Application

    Hi Team,
    Please help me providing possible option to transfer SAP data to a 3rd Party Application.
    Waiting for Your Reply.
    Rosalin
    Moderator message: please do more research before asking.
    Edited by: Thomas Zloch on May 18, 2011 2:38 PM

    Hi Rosalin,
    There are various ways to do so
    1.  Off line solution: You can write an ABAP report and download flat file or excel and that can becom the input for your  
          application.
    2. On Line solution : Develop an Remote Enabled FM(this FM will provde the required details) and develop a web service
         (using .net or java )  Call this web service through your application.
    Idoc and XI's are some of the other alternatives you have.
    Hope this helps.
    Bikas

  • 3rd party application for album artwork?

    Are there any GREAT 3rd party applications for automatically bringing in album art to iTunes? I've got a bunch of old music that the automatic function within iTunes is not getting anything for. I even tried to clean up some of the info (i.e. make sure it had artist, song name, etc in proper fields), but nothing.
    If that or another app would correct song data also (probably asking a bit much) that would be awesome. I see where some of my very old stuff from back in the MP3 days will have Artist Name-Song Name as the title.
    Any help is appreciated. I dont have a week to do this manually!

    MP3Freaker would be your best bet. I've used others but MP3Freaker works flawlessly, and allows you to do three songs for free to show how it works, and how well. It's $23 but it saved me hours of painstaking work going through my 5500 songs
    As for album art: http://www.versiontracker.com/macosx/ipod-itunes/artwork

  • Opening and closing 3rd party applications ??

    Does opening and closing 3rd party applications with the click of the home button actually close the application, or, does it continue running in the back ground ?
    I noticed most of the 3rd party application don't have a close/exit option, and wonder if opening and closing several applications with the home button can cause the many crashes I have read from fellow iPhone owners ?

    Clicking the Home button may close the application depending on the application itself. Some applications that use the network may close when going to the Home screen. To force quit any application, hold the Home button down for about 6 seconds until the Home screen comes up.

  • RFC( SAP R/3)  to  XI  to  3rd party Application

    Hi All,
    we have an 3rd party application to which we want to send some data from R/3. We are using XI as the middleware.The process has to be triggered from R/3 side. We are not using Idoc's here. We are planing to use the RFC through which the data transfer has to be done.
    We are creating a BAPI with import, export and tables parameters.Basically the RFC is in SAP R/3 System.We need to send the data in the table to XI.
    In this case how the RFC destination has to be created and how the RFC to be called in the R/3 system to export the Data to XI system.
    Answers are highly appreciated.
    Thanx and Regards,
    Durga.

    Hi,
    <i>>>>In this case how the RFC destination has to be created</i>
    Check this blog by Michal it shows you step by step
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    <i>>>>how the RFC to be called in the R/3 system to export the Data to XI system.</i>
    Hope you are aware of normal way of calling function
    CALL Function "FM Name"
    Export
    Tables
    in this case the RFC should be called as follows
    CALL Function "FM Name" destination <SM59 Destination>
    Export
    Tables
    The above is for Sync call and if you want to make a Async call that is you are not expecting any reponse from the target then
    CALL Function "FM Name" IN BACKGROUND TASK destination <SM59 Destination>
    Export
    Tables
    Thanks,
    Prakash

  • Adobe Reader 9.x does not retain preferences when called by a 3rd party application.

    I have an in-house application that utilizes .pdf and .xfdf files. We use Adobe 9.x when viewing these files and when I open them natively from Windows explorer they Display In Browser and all my Trust Manager preferences are intact. If I use the 3rd party application to open the files they Display In Browser but none of my TrustManager settings are present and I am forced to trust the document each time I reopen Adobe. If I leave Adobe Reader open for the duration of the session that I am using my 3rd party application though the Trust Settings for the document I loaded are present but as soon as I close Adobe they are gone until I Trust the document when opening it again. Any insight as to why this might be and how I could rectify the issue would be appreciated.

    We are using 9.1.1.
    We notice that this option is no loger available in this version.  The below option will keep the form data available even if you exist out from the sessions.
    Keep Forms Data Temporarily Available On Disk
    Retains forms data in the Internet browser if you briefly go to
    another web page and then click Back to return to the PDF form.

  • XML Gateway for Oracle Applications to 3rd Party Application System

    Hi,
    I am having one unique requirement for sending/receving an xml file from Oracle Applications to 3rd Party Application system (which supports XML). Has anyone worked on the XML Gateway for sending/receiving the PO/ASN or Pick Release/Ship Confirm XML information from Oracle Applications (11.5.9 or above) to 3rd Party Application System.
    Looking forward your valuable inputs/suggestions on this.
    Note: Please note that, Trading Partner setup has to be done for a 3rd Party Application System.
    Thanks in advance,
    Regards,
    Muru

    Hi
    Were you able to acheive this , Please share the steps you followed by dropping a mail to [email protected]
    Thanks
    Prasad C P

  • What is Oracle's recommendation of enabling a 3rd Party application for Online Patching? Is this a requirement with EBS R12.2 or is this something that can be done in phases for e.g.:

    Hello -
    My Oracle Partner account uses Oracle EBS, Fusion Apps and is in the process of migrating from 10g to 11g;  forwarding their question here -
    What is Oracle’s recommendation of enabling a 3rd
    Party application for Online Patching? Is this a requirement with EBS R12.2 or
    is this something that can be done in phases for e.g.
    Phase 1: Oracle EBS utilizes Online patching while
    the 3rd Party application does not leverage edition based
    redefinition for Online patching
    Phase 2: 3rd Party application is modified
    to leverage edition based redefinition Online patching mechanism.
    I would appreciate any insight/recommendations you may have
    regarding Online patching for EBS 12.2.

    This seems to be related to EBS an may be better answered in the EBS forums as this forum is dedicated to Fusion.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • How to uninstall 3rd party app from MacBook Pro?

    Does anyone know how to uninstall a 3rd party application (RMSViewer) from MacBook Pro?  The app doesn't work and I want to remove it from memory.  I can't find an "uninstall" utility on my computer and the 3rd party software doesn't include an uninstall link.

    Tap and old the app until it starts to wiggle. Tap the "x" that appears on the corner of the icon.
    If that doesn't work, check Settings>General>Restrictions to see if removing apps is restricted.
    You may also want to take a read through the manual:
    Apple - Support - Manuals

  • 3rd party application sync failures -- BES policy?

    I have a BB curve (8310, ATT v4.2.2.170) which is synch'd via BES to corporat email/etall.   I have the BB desktop manager installed on a PC.  The BBDM can: install & remove applications, add/remove multimedia (songs, photos), access the storage card.    When tryign to use the BBDM to synchronize 3rd party application data (aka,  a password keeper like SplashID or Ascendo Data vault), the syncronization fails.   I did install BBDM to use the internet service, not redirector.
    My question:   are their policies which my IT group might have set that prevent the synch of 3rd party data.  We tried changing the "allow 3rd party to use USB" to true, that did not help.    If the security policy forces data encryption on the device, could that prevent the sync from happening?       The desktop all looks correct (right BB id, etall), and the app on the BB think's its been synchd, but the data never moves between the two and I get error messages akin to "Synchronization Failed; Please try again. Technical details: tableSystem=NULL"  (this from SplashId).
    Thanks

    Check this link: http://www.blackberryfaq.com/index.php/Remove_IT_Policy

  • 3rd party application and address book

    Hi Guys
    This happens on a regular basis
    I use a 3rd party application called photo mechanic which is a n image browser from www.camerabits.com
    It has a feature where you can email the images using the mail application of your choice(my choice is mail) using the addresses in your address book.
    While sending multiple images often the whole process comes to a grinding halt as the address book is stripped of all it's contents, I back up the address book every time I add an address so it does not cause me to loose the information.
    Just wandering if anyone might have an idea what is causing this, the reason I ask in this forum is that the 3rd party developer says it must be an issue with mail as he knows of no other issues.
    I should add that I have no technical information as the error means a restart so nothing is recorded (that I am aware of)
    The images are added as attachments of usually 300k to 500k in size one per email
    Any help or ideas

    Joe Chiarelli wrote:
    Any suggestions for integrating iweb with static html pages created by 3rd party apps?
    Joe ~ Since iWeb can't import HTML pages, one suggestion is to publish your current sites to the same iDisk space iWeb uses by following the instructions in this Apple doc:
    MobileMe: How to publish a custom website
    ...This would put your sites in Web > Sites folder and the URL would be:
    http://web.me.com/membername/foldername/
    Then you could remove your sites occupying the "HomePage" area, i.e. the Sites folder on iDisk.

Maybe you are looking for

  • Slow startup time

    Hi, my macBook pro is taking a lot of time ( used to be 10-15 sec now 50 sec ) to boot (while in kernel boot mode). These are my logs after the "BOOT_TIME" message: 10/13/14 12:30:01.000 AM syslogd[19]: Configuration Notice: ASL Module "com.apple.app

  • Bluetooth and Wifi Problem

    Hi. I have a Bluetooth Mighty Mouse and Bluetooth Apple keyboard (not the new thin one). When I have them linked with my MBP the wireless will randomly stop working until I disable Airport in the menu bar and then re enable it. When I don't have the

  • Sunlit Earth (but shaped like a GLOBE) widget -  Does it exist?

    I've seen a couple of really pretty "Sunlit Earth" widgets, but my issue with 'em is that they flatten out the earth-map. Cool, especially now that we're approaching an equinox... But what I'd really love to use on my dashboard is a widget that shows

  • Draft Folder disappeared

    My 'draft' folder has disappeared. I composed an email message and clicked on 'save in drafts' and nothing happens. I have been using it for a long time and don't know why it disappeared. I closed the email after I clicked and the email disappeared a

  • Photoshop elements stops installing at organizer, why?

    My computer is a windows 7 computer on which, about a couple of months ago my old versions of Photoshop Elements and Photoshop stopped working after a major windows 7 update. I deleted both of them. I bought Photo Shop Elements 12 and have tried seve