Interview Question: Can I invoke Runtime.gc() in an EJB?

By: Ash Printer Friendly Format    

Question:Can I invoke Runtime.gc() in an EJB?

Answer: You shouldn’t. What will happen depends on the implementation, but the call will most likely be ignored.

 

 

 

 



Most Viewed Articles (in Interview )

Explain garbage collection?

Interview Question: Do you have to credit Struts on your own website?

Interview Question: What is ActionServlet?

Interview Question: Is there a particularly good IDE to use with Struts ?

Interview Question: What is the difference between JavaBean and EJB?

What is the difference between JTS and JTA?

Can Entity Beans have no create() methods?

What is similarities/difference between an Abstract class and Interface?

Explain the new Features of JDBC 2.0 Core API?

What types of comments are available in the JSP?

Interview Question: What is Action Class?

Interview Question: What is ActionForm?

Interview Question: If the framework doesn't do what I want, can I request that a feature be added?

Interview Question: What is the difference between ejbCreate() and ejbPostCreate?

What is J2EE?

Latest Articles (in Interview)

Comment on this tutorial