GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Manhattan Associates  >  Technical
Go To First  |  Previous Question  |  Next Question 
 Technical  |  Question 14 of 20    Print  
When these methods are used ? ejbActivate(), ejbPassivate() and ejbRemove() ?

  
Total Answers and Comments: 1 Last Update: November 24, 2005   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 24, 2005 02:34:06   #1  
Sushil        

RE: When these methods are used ? ejbActivate(), ejbPa...
When first time the beans instance is created it will be added in pool cache.when it goes out of scope then ejbPassivate() is called again when it is called then it is activated using ejbActivate() in pool cache.But no more reference to that object and that scope ended then ejbremove() called to remove object permanently.
 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : No, becuase ejbRemove() is used to control EJB lifecycle. It will be called by EJB container whenever that EJB has not been used for long time. ...

Who calls the methods ejbLoad() and ejbStore() and where the state information is stored when they are called ?

Latest Answer : When first time the beans instance is created,it will be added in pool cache.when it goes out of scope,then ejbPassivate() is called,again when it is called then it is activated using ejbActivate() in pool cache.But no more reference to that object ...

Latest Answer : ejbPassivate() means it will remove the bean instance from the pool cache, but it will be there in container and when a reference is called ,it will take that instance to pool cache.ejbRemove() means it will remove the bean from the container. ...


 Sponsored Links

 
Related Articles

JavaScript Window Object Timeout Methods

JavaScript Window Object Timeout Methods In this JavaScript tutorial you will learn about setTimeout clearTimeout and open methods of window object along with syntax usage and examples for each method mosgoogle center setTimeout The setInterval method of Window object is used to call a function or
 

JavaScript Document Object Methods Part II

JavaScript Document Object Methods Part II In this JavaScript tutorial you will learn about document object methods getElementsByTagName getSelection handleEvent releaseEvents routeEvent write writeln along with syntax examples and brief explanation mosgoogle center getElementsByTagName The the getE
 

JavaScript Document Object Methods Part I

JavaScript Document Object Methods Part I In this JavaScript tutorial you will learn about methods of document object along with syntax and examples This section covers captureEvents open close getElementById getElementsByName methods with explanations for each method mosgoogle center Methods of d
 

JavaScript History Object Properties and Methods

JavaScript History Object  Properties and Methods In this JavaScript tutorial you will learn about history object properties and methods length current next previous properties back forward and go methods along with syntax and examples mosgoogle center The history property has the return v
 

JavaScript Array Object Methods – Part II

JavaScript Array Object Methods Part II In this JavaScript tutorial you will learn about on array object methods slice splice toString shift and unshift methods along with general syntax and examples mosgoogle center slice By using the methods of the array object the programmer is able to retriev
 

JavaScript Array Object Methods – Part I

JavaScript Array Object Methods Part I In this JavaScript tutorial you will learn about Array Object Methods concat join pop push and reverse methods  along with general syntax and examples mosgoogle center concat The concat method is used to join two or more Array objects together to pro
 

Data Warehouses Non Technical Issues

Data Warehouses Non Technical Issues When companies get ready to implement a data warehouse few of them pay attention to the political issues that may surround it It must be emphasized that politics can reduce the chances for success with a data warehouse project and I want to warn companies against
 

Neuro-linguistic Programming Methods

Neuro linguistic Programming Methods There are several methods used for performing Neuro linguistic Programming on an individual for obtaining insights into the psyche of the person in order to correct to modify certain patterns of behavior These techniques are also used for Neuro linguistic trainin
 

JavaScript Event Object Properties and Methods

JavaScript Event Object Properties and Methods In this JavaScript tutorial you will learn about event object properties and methods like keycode layer offset modifiers page reason returnValue screen srcElement target srcFilter and type mosgoogle center keycode The keycode property of event object is
 

Various Methods for Teaching Vocabulary

Various Methods for Teaching Vocabulary Just as with any skill those who wish to enhance their vocabulary will need to learn how to read speak and write properly Generally when it comes to teaching vocabulary you will typically be presented with two options and these are spelling or phonics The meth
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape