When to use Custom Adapter, Event Beans and Spring beans

Hi,
I have basic question on when or on what basis/scenario the Custom Adapter, Event Beans or Spring beans should be used.
All three has same implementation methods.
Please help me in understanding when to use Custom Adapters, Event Beans or Spring beans.
Thanks,
Sri
Edited by: 897694 on Mar 7, 2012 8:12 AM

custom adapters:
you have to use a custom adapter when you don't find any adapter in ocep which will serve your purpose.
Most of the times you use an adapter to connect the application with external things like http server, etc It can be both to listen the events or to send the events outside.
Event Beans:
This type of beans does most of the work that an adapter code does but in convention beans are not used to connect the application with external stuff
You can use Beans as event sink etc In this case using an using an adapter is not suggestable.
If you implement Interfaces like Initializing Bean for an adapter code it won't work properly, you have to use an event Bean in that case.
Spring beans:
Spring beans are used when the bean code doesn't implement EventSink or EventSender.
These beans are used to enable something (eg: make ${wlevs_dev_home}/abc/a/b.java this path is not understandable by java code unless you override the path using a spring bean)
Most of the things which doesn't need a connection between components in the application (eg cache loader: you can do this using spring beans and event beans both but spring beans doesn't need a connection with cache)
Hope this small writeup helps you :)
Edited by: Patha on Mar 8, 2012 9:10 AM

Similar Messages

  • When to use Apps adapter and DB adapter?

    Hi All,
    For invoking a PL/SQL API(either a custom or System API) in Oracle Applications from BPEL Process which is better to use?When to use Apps adapter and DB adapter?
    Thanks,
    ChitraDevi

    As Sen correctly states for the DB adapter you have to set the context manually using the fun_global.apps_initilize or Fnd_Client_Info.SET_ORG_CONTEXT. This is usually done in a wrapper procedure.
    I wouldn't say I'm an expert in this field as I have only used the APPS adapter for 11.5.10. I believe things have changed a bit for R12, but from my experience with APPS, things change very slow so although R12 is 10g App Server I'm sure the principles are the same.
    Sen is also correct saying that base tables are not accessible via the APPS adapter. Basically the apps adapter is there to expose services, base tables are not services.
    My recommendation would be different based on the experience of the developer(s). The APPS adapter simplifies the development but may not have the flexibility. The apps adapters sweet spot is those services that are difficult to integrate with, e.g. business services, xml gateway. If these are used heavily I would use the APPS adapter.
    What I personally do, even if I'm not using APPS, if I'm connecting to the database I will implement a function, stored procedure, or AQ. It is a little more hassle during deployment, but it treats it more like a service and you are not impacted if the tables change. This is not an endorsement for you to go down this path because it does have a requirement to have PL/SQL knowledge, and it breaks the notion of service abstraction from the DB.
    cheers
    James

  • Best Scenarios when to use IDOC Adapter, RFC Adapter and Proxy

    Please provide me links/weblogs which demonstrate the full scenario that when to use IDOC Adapter, RFC Adapter and Proxy when working with sender R/3 system.
    Regards
    Rachit

    Hi abhinash,
    Check these links for java proxy
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    for ABAP Proxy ...
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
    for RFC .....
    RFC-xi-SOAP Scenario
    How to send RFC response message back to XI File/FTP adapter?
    https://weblogs.sdn.sap.com/pub/wlg/3865//Troubleshooting [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    Hope you will find them useful ..
    Regards
    Abhi

  • I cant turn on the coockies when i go to the tools --- options--- privacy and choose use custom sitting for history and click OK. Then o go back nothing changed

    i cant turn on the coockies when i go to the tools --->options--->privacy and choose use custom sitting for history and click OK. Then o go back nothing changed

    Note that the "Use custom settings for history" selection allows to see the current history and cookie settings, but selecting this doesn't make any changes to history and cookie settings.<br />
    Firefox shows the "Use custom settings for history" selection as an indication that at least one of the history and cookie settings is not the default to make you aware that changes were made.<br />
    If all History settings are default then the custom settings are hidden and you see "Firefox will: (Never) Remember History" (Never remember history means that Private Browsing mode is active).
    "Use custom settings for history" stays selected if at least one of the History or Cookie settings is not the default to make you aware that changes from the defaults are made.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    If you do not keep changes after a restart then see:
    *http://kb.mozillazine.org/Preferences_not_saved

  • X61 Hang when not using AC adapter

    X61 will hang (on the login page, sometimes when using the laptop halfway), when not using AC adapter.I've format the system, install drivers (system update) and application.
    anyone encounter this issue?

    I notice if I disable Atmel TPM (from Device Manager), the system works normal when not connect to AC adapter.
    I did not have most of the Lenovo software installed. Only have System Update, Fingerprint software & Power Manager.
     Will there be any issue if I disable the Atmel TPM ?

  • How can I use custom repeating event in my iPad Air calendar iOS 8.0.2

    How can I use custom repeating event in my iPad Air calendar iOS 8.0.2?

    Unless something has changed, you can't. The iPad has limited ability to make repeats. However if you make the custom repeats in another program you can send them to or import them into your calendar and the iPad will respect the custom repeat.

  • I m using apple mac pc, when we start windows 7 , apple mouse doesn't work properly it take to much time to gain signals from the pc and many times it not work but when we use mac it moves fastly and works properly. please suggest me. thanks ravi

    i m using apple mac pc, when we start windows 7 , apple mouse doesn't work properly it take to much time to gain signals from the pc and many times it not work but when we use mac it moves fastly and works properly. please suggest me.
    thanks
    ravi
    <Email removed by Host>                                                                                                                                                                                                                                       

    sounds more like Bluetooth rather than moue, but w/o knowing w/o posting mac model type/year we... will... not... know... what you have
    All computers are personal computers, a PC though is also "non-Apple" in common usage.
    Mac also is platform and OS.
    Very confused reading what you are trying to tell us.

  • Can I get a response back when I use HTTP adapter

    Hi ,
    I am doing a integration between SAP and ThirdParty Product using PI 7.1.
    The scenario is ThirdParty -> PI -> SAP ,using HTTP adapter between ThirdParty and PI , and IDoc adapter between SAP and PI.
    So,its a HTTP sender and IDoc receiver.
    So I was just curious to know if the IDoc posting failed in SAP ,can I send a response from SAP to Thirdparty regarding the failure along with some error message.
    Thanks for your responses.
    Venu

    Hi,
         It may lead to some timeout problems if you design your scenario as synchronous i.e sending response back to HTTP..
    as SAP may take time to process idoc and need to provide response back to PI ..by that time the connection may become invalid and thirdparty may receive response as timeout error...
    As anyway PI has the option of Alert managements..you can trigger the error mail to the third party recipients for letting them the status...
    HTH
    Rajesh

  • My 4s has grainy low res images when I use google image search, imdb and USA today app. But not FB. How do I fix this?

    My 4s images are grainy and low res when I use google image search, imdb and a couple other apps. My photos roll pics are hi def just not images. What's up with this?

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router (Auto is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Why when i use a new apple Id and new id for icloud all my information is gone? For example all my contracts are all gone.

    I don't know why when i used a new apple ID and new icloud ID all my information is done. My contracts are all gone. This only happen on on phone. When i was changing the other phones it works fine. Nothing is lost. So i dont understand when i was changing the apple ID and icloud Id the information is lost. You know when you go to setting and you click iCloud and i saw that the contracts book was light on. Does that matter? Does that cause i lost my contracts?

    I don't think the iPhone is really designed for people to be switching from one Apple ID to another so when you do so you may experience problems.  You have two options on the iPhone for where you can be accessing contacts, from iCloud and the iPhone itself.  You can also pull contacts off of a SIM card but they are then stored on the iPhone and not accessed from the SIM card.
    You could try this;
    1. Go to Settings > iCloud
    2. Sign in to the Apple ID that you want the Contacts from,
    3. Turn "On" the Contacts slider and let it download all of your contacts
    4. When it's done downloading, turn the slider back to "Off" and you should get a message like this..."What would you like to do with the previously synced iCloud contacts on your iPhone?"
    5. Then select "Keep on My iPhone"
    Then after that you can then sign out of that Apple ID and into your other Apple ID and the contacts shouls still be there.

  • When i use a headphones they work and the speakers also work

    when i use a headphones they work and the speakers also work

    Hello did you try to update your sound drivers? You can also select as default device the headphones or the speakers in the sound configuration in control panel

  • What is difference between Managed Bean and Backing Bean?

    What is difference between Managed Bean and Backing Bean? Please guide me how to create them and when to use them?
    Please post sample for both beans.

    Hi,
    managed beans and backing beans are quite the same in that the Java object is managed by the JavaServer Faces framework. Manage in this respect means instantiation. The difference is that backing beans contain component "binding" references, which managed beans usually don't. Do backing beans are page specific versions of managed beans.
    Managed beans are configured either in the faces-config.xml file, or using ADF Faces and ADFc, in the adfc-config.xml file
    Frank
    Edited by: Frank Nimphius on Jan 31, 2011 8:49 AM

  • Entity Beans and Session beans to represet Business lOgic

    How cam we implement Entity Beans and Session beans to represent Business Logic.
    Can anyone explain how can we do this.
    Regards...

    I have session beans calling method in entity beans and any client
    doesn't have access to entity beans, only via session beans.
    If i define security policy and method permissions for session beans
    only, do entity beans use that permissions when calling their methods
    from sessions beans OR should i define the security policy for entity
    beans separately?If you want to set the permission on individual
    methods of entity bean ( with different roles)
    you have to do it separately.
    If you want to delegate the Authenticated user along with
    the method call to the Entity Bean you can use
    run-as-identity-principal.
    For more detail please check out the EJB2.0 Spec.
    -utpal

  • Urgent :Worker Bean and Invoker bean entry is not present

    All,
    We are using SOA Suite 10g. I want to configure the reciever and listener threads for Worker Bean and Invoker Bean in SOA_Oracle_Home
    \j2ee\home\application-deployments\orabpel\ejb_ob_engine\orion-ejb-jar.xml . But when I opened this file in our production env I could not see these entries.
    a) Without these entries, the BPEL processes are getting instantiated. In the absence of these entries, does it consider any default settings for receiver and listener threads for this
    b) We are facing performance issues in our environment. For that I want to tune these settings. Do I need to add these entries manually.
    c) If so, what are all things that will be required to specify these entries

    Check http://download.oracle.com/technology/tech/soa/soa_best_practices_1013x_drop3.pdf
    hth,
    Peter Paul

  • Difference between a Managed Bean and Backing Bean

    hi
    i am new to JSF made my 1st appl today ...
    couldnt clearly understand difference between a Managed Bean and Backing Bean , anybody know the difference?
    Regards
    dsdsf

    These are two terms that means the same .... A backing bean is a normal web term, in JSF specifically it is termed as managed bean as this' backing bean' configurations in faces-config.xml are termed within 'managed-bean ' tags.
    Cutting the long story short its a bean class . period :)

Maybe you are looking for