1. SAP Glossary
  2. Container EJB
  3. passivation


What is passivation in SAP BC-JAS-EJB - Container EJB?


SAP Term: passivation

  • Component: BC-JAS-EJB

  • Component Name: Container EJB

  • Description: The process of transferring bean instances. For stateful session beans it is the transfer swapping of idle enterprise bean instances from memory to secondary storage. For entity beans it is the transfer of a bean instance from Ready active to Passive state. The opposite of activation.


Smart SAP Assistant

  • Key Concepts: 
    Passivation is a process in the SAP BC-JAS-EJB Container EJB component that allows an Enterprise Java Bean (EJB) to be removed from memory and stored in a persistent store. This process is used to free up memory resources and improve performance. The EJB is then reactivated when it is needed again. 
    
    How to use it: 
    Passivation is triggered by the container when the EJB is no longer being used or when the container needs to free up memory resources. The container will then serialize the EJB and store it in a persistent store. When the EJB is needed again, the container will deserialize it and reactivate it. 
    
    Tips & Tricks: 
    It is important to note that passivation does not guarantee that an EJB will be removed from memory. The container may decide to keep the EJB in memory even after passivation has been triggered. It is also important to ensure that all of the data associated with an EJB is serializable so that it can be stored in a persistent store. 
    
    Related Information: 
    Passivation is part of the Enterprise Java Beans (EJB) specification and is used by many application servers, including SAP's BC-JAS-EJB Container EJB component. Passivation can also be used in conjunction with other techniques, such as caching, to improve performance.
    • Do you have any question about this SAP term?


      Upgrade now to chat with this SAP term.

Related SAP Glossary Terms

Click the links below to see the following related SAP glossary terms:
Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker