Passivate and Activate

Can any body tell me
how container knows what is to be activated and passivated ??
How the container is actually doing activation and passivation ??
whether we have to give implementation details for acivate and passivate ??
what background process is happning while activation and passivation ??

The container calls ejbActivate and ejbPassivate to activate and passivate an entity bean's state.
Activation and passivation means swapping a bean in and out of memory (to conserve resources). This usually occurs when a given bean has not been called by a client for a long time.
You don't have to provide any implementation for ejbActivate or ejbPassivate - but if you do, it's usually things like closing connections/files etc in ejbPassivate and reopening them in ejbActivate (for example)

Similar Messages

  • The performance of Passivate and Activate!?

    in the Stateful Session Bean, weblogic will PASSIVATE a bean instance into disk or db when the number of bean instances reach the max-beans-in-cache and ACTIVATE it when the client call it again.
    but i wonder that the performance of the operation ,can it be very expensive and affect the responsive time very much? if the effect is depended on the persistence fields?
    3ks a lot:)

    I think there is some confusion about the Activation and Passoivation phenomenons. I have sincere doubts that bean activation and passivation has anything to do with max-beans-in-cache figure. It just affects the idle time, after which the server passivates the bean.
    the main adea behind the bean passivation is to preserve the precious server memory during runtime. if the client is idle for certain time (which is totally decided by container), the state of bean instance is preserved and the bean instance is returned to the pool, where it can be used to serve some other clients. when the same client calls back again, the container randomly pickes up any available bean instance and initializes it's state with the previously saved state, so client feels that the same bean instance is serving him continuously.
    now the how the container responds to the max-beans-in-cache figure. the container tries it's best to manage all the clients request with the "max-beans-in-cache" bean instances. if the total requests : max-beans-in-cache ratio is very high, the session time out becomes lesser and lesser and vice versa. but if container finds it's really hard to serve all the requests with the supplied max-beans-in-cache, then it can temporarily generate some more bean instances to improve efficiency and those extra bean instances would be killed (not passivated) if no longer needed.
    this activation / passivation is to improve the performance and make it less expensive and not otherwise. Managing more no. of idle objects in the memory would be much more expensive than this operation.
    hope this helps,

  • Computer with CS6 Died on one of two computers. I need to install and activate CS6 Web Premium on another computer. How can I activate it on new computer?

    I have Adobe Creative Suite CS6 installed on two computers. One of the two computers experienced a catastrophic failure. The hard drive is damaged and the computer will not boot. So now I only have access to CS6 on one computer.  I would like to install CS6 on a new computer so that I have two working computers each with an installation of CS6. How do I do this and activate both installations? I tried calling Adobe but the only number I have to troubleshoot problems is for Creative Cloud problems only. Any way to contact a live person at Adobe would be appreciated. Any other solutions would also be appreciated..
    Thank you.
    Chick

    You can contact Adobe support thru chat and they can deal with inaccessible activations to deactivate them.
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • Get back the Data mart status in ODS and activate the delta update.

    I got a problem when deleting the requests in ODS.
    actually there is Cube(1st level. it gets loaded from an ODS(2nd level). this gets loaded from 3 ODS'S( 3rd level). we were willing to delete recents requests from all the data tardets and reload from PSA. but while delting in the request in ODS(2nd level), it has displayed a window, showing as follows.
    - the request 132185 already retrived by the data target BP4CLT612.
    -Delta update in BP4CLT612 must be deactivated before deleting the request.
    - Do you want to deactivate the delta update in data target BP4CLT612.
       I have clicked on execute changes in the window. it has removed the data mart status for all the request which i have not deleted.
    in the same it happened inthe 3 ODS's(3rd level).
    I got clear that if we load further data from source system. it will load all the records from starting.
    so to avoid this can any body help me how to reset the Data mart status and activate the delta update.

    Hi Satish,
    U have to make the requests RED in cube and back them out from cube,before u can go for request deletions from the base targets(from which cube gets data).
    Then u have to reset data mart status for the requests in your 'L2 ODS' before u can delete requests from ODS.
    Here I think u tried to delete without resetting data mart status which has upset the delta sequence.
    To correct this..
    To L2 ODS,do an init without data transfer from below 3 ODS's after removing init request from scheduler menu in init infopackage.
    Do similar from L2 ODS to Cube.
    then reconstruct the deleted request in ODS.It will not show the tick mark in ODS.Do delta load from ODS to Cube.
    see below thread..
    Urgentt !!! Help on reloading the data from the ODS to the Cube.
    cheers,
    Vishvesh

  • I just bought a new computer.  My old computer was a 32bit system but my new one is a 64bit.  I own ps cs6.  My question is"will I be able to deactivate ps on my old system, and download the 64 bit version and install and activate it or do I have to buy t

    I just bought a new computer.  My old computer was a 32bit system but my new one is a 64bit.  I own ps cs6.  My question is"will I be able to deactivate ps on my old system, and download the 64 bit version and install and activate it or do I have to buy the 64bit version in order to move forward.

    Nope, you can install it on your new computer with no issues. The disc contains both the 32 and 64 bit versions.
    Benjamin

  • I purchased Adobe Acrobat XI Pro - Student and Teacher Edition but cannot activate it even after it has deactivated and replaced my old Acrobat 8. How do I get a serial number and activate the product?

    I purchased Adobe Acrobat XI Pro - Student and Teacher Edition but cannot activate it even after it has deactivated and replaced my old Acrobat 8. How do I get a serial number and activate the product?

    I have the same  problem. Have paid. Messages say I have downloaded it but the file is inaccessible apparently download is somewhere on my hard disk. How do I find it?? Is there not help at an Adobe phone service. If so what is the number to call??
    Roger Broughton

  • N4S: Adobe Interactive Forms - How to install the credentials and activate

    In the download section for NW04S on Linux I see a note saying as follows
    "... the user must install the essential credential file and activate it using a unique password".
    I have downloaded the credentials files which is named as "SDNCerts09_Jul.zip".
    Kindly give me the steps to
    1) install the above file
    2) Activate it with unique password

    Download the zip credentials file to:
    /netweaver/sapmnt/N4S/global/AdobeDocumentServices/TrustManagerService/trust/credentials
    Unzip, it contains two files:
    - certificate.pfx
    - password
    - run visual admin
    - install the new certificate, path "server->services->document services configuration" tab credentials specify:
      Type p12
      Alias "ReaderRights" (without quotations marks)
      P12 browse to the pfx certificate file,
      Password is into the second file
      Press Add
    - restart services "document services trust manager" and "pdf manipulation - low encryption"
    Bye
    sambarza

  • How to install and activate photoshop and lightroom on new pc- no cd disk drive

    My old PC no longer works so I've purchased a new one. How do I deactivate Photoshop cs6 extended and Lightroom 3 and download and activate them on my new PC- that has no cd disk drive?

    Since you are allowed to have two activated installations, it is not necessary to deactivate the old installation, but if the machine is unuseable then you probably should.  COntact Adobe Support by chat or phone to have them deactivate before you install on the new machine if you are not able to.
    Here is a link to a page with options to help make contact:
    http://www.adobe.com/support/download-install/supportinfo/
    As far as downloading the software to install, here are some links you can use to find them...
    http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    Lightroom - all versions
    Windows
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Windows
    Mac
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh

  • Creating abap program to develop and activate a global table type and global structure.

    Hi friends,
    I want to create and activate a global structure and global table type by coding in ABAP editor only. so can I do that anyhow.
    Please help me.
    Thanks in advance.

    Thanks guys for your fruitful replies, as most of you asked the main purpose of my question, the answer is as follows:
    in fact my purpose to do so is to create a function module that can fetch data dynamically from different database tables based on the codings in different abap program.
    for example: in one abap program i am coding as follows:
    tables: kna1.
    types: begin of itab,
              kunnr type kna1-kunnr,
              name1 type kna1-name1,
              end of itab.
    data: it_tab type standard table of itab,
             wa_tab type itab.
    similarly in other program i am coding as follows:
    tables: vbrp.
    types: begin of itab,
              posnr type vbrp-posnr,
              matnr type vbrp-matnr,
              arktx type vbrp-arktx,
              end of itab.
    data: it_tab type standard table of itab,
             wa_tab type itab.
    so now for both programs i want to call the same function module and fetch data as required in relative programs as mentioned above. in that case how to create that function module?

  • FaceTime and activate after changing operator?

    FaceTime and activate after changing operator?

    I recently changed my Apple ID and, initially hit all sorts of problems (ML & iOS5.1). AppleTV very confused, Calandar duplicating entries on an iPad, but losing them on the Mac (but being correct on iCloud.com).
    The solution ended up being straightforward, if unnecessarily annoying.
    On the Mac - in SysPrefs (iCloud) turn off all syncs and sign out. Delete items from the Mac (in response to the prompt).
    On the iPad - in settings do the same.
    On the ATV - turn off Home Sharing.
    In iTunes - log out of the Apple Store
    Sign out on iCloud.com and sign back in using a @me.com email address (not the Apple ID)
    Reestablish iCloud sync (etc) by signing in using the email address (not the ID).
    It appears that everything collects the new Apple ID using the email address and they all play nicely together again.

  • How To Get and activate bluetooth..

    My  hp Product number:  E4R28EA#A2N
    Serial number: {Personal Information Removed}
    HP Pavilion 15-e040sx Notebook PC
    I want to send my files to mobile via bluetooth.. So I dont know where to get  and and activate bluetooth..
    Please help me to nstall and activate n my windows 8.1 notebok.

    Hi,
    Please use the followingtutorial:
       http://h30434.www3.hp.com/t5/Notebook-Hardware/How-do-I-activate-Bluetooth-in-Windows-8/td-p/2389425
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • My laptops cooling fan and hinge are broken.  if i were to get a new computer and activate photoshop

    my laptops cooling fan and hinge are broken.  if i were to get a new computer and activate photoshop on it, should i worry about how many times i have activated photoshop?  Is there a limit to how many times i can download photoshop?

    Hi Pinrose,
    Welcome to Adobe Forums.
    You can use the same subscription on 2 machines. If you want to use it on a 3rd machine you can deactivate
    Photoshop from this machine. Please follow the below article on how to deactivate.
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html
    Thanks

  • Set up and activate Telstra Pre-Paid mobile broadband

    Set Up Your Pre-Paid Mobile Broadband WiFi Device
    Activate Your New Telstra Pre-Paid Service

    Re: Set up and activate Telstra pre-paid mobile broadband
    I currently have internet at 6/320 Manly Road Manly West Qld, but have recently moved, so need to know what my options are on moving the service to my new address.
    I tried Wi-Fi from the main house at the new address, as I live in the unit in the back yard, but even with an 'extender' which we purchased today, there is minimal WI-FI.
    Is it possible to get a moveable modem so that I can take it anywhere, and have this instead of my current service, I don't need a home phone, what are my options?

  • Configure and activate BI in ERP 2005 ECC 6.0

    Hello,
    I would like to know what are the different steps to configure and activate BI in ERP 2005 ?
    If any documents or links,
    Thanks a lots.
    Best regards,

    Hello Aurélien,
    You'll find required information here:
    http://help.sap.com/bp_biv270/index.htm
    Sarhan.

  • To set and activate 'Create Business Workspace' for Internal Order (KO02)

    Hi All,
    I have an requirement to set and activate the 'Create Business Workspace'  for Internal Order (tcode: ko01,ko02). Can anyone please provide the steps to follow the above configuration. Please find the attached screen shot for your reference.
    Thanks,
    Jamie

    Hi Mani,
    I checked in KO02 and KO03. Please find the below screen shot for your ref. The same issue occurs ie. 'create business workspace' is hidden.
    I checked the authorization for my id, I have SAP_ALL and SAP_NEW profiles so there is no issue in authorization.

Maybe you are looking for